Skip to content

[Bug]: Vitest status values can cause color contrast issues on the sidebar #31462

Open
@JamesIves

Description

@JamesIves

Describe the bug

When you run the Vitest addon you can end up in a situation where you have color contrast accessibility issues based on your existing theme configuration as the values are hardcoded without a way to override via a class.

Reproduction link

N/A

Reproduction steps

  1. Run the Vitest plugin.
  2. Activate an error or warning state.
  3. Depending on your theme you may end up with color contrast issues.

System

"@storybook/addon-vitest": "9.0.0-beta.11"

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions