Question: Does Stitches work with Storybook Pseudo States Addon? · Issue #1116 · stitchesjs/stitches · GitHub
Skip to content
This repository was archived by the owner on Apr 25, 2026. It is now read-only.
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

Question: Does Stitches work with Storybook Pseudo States Addon? #1116

Open

Description

@martakule

Is your feature request related to a problem? Please describe.
Pseudo States Storybook Addon doesn't work with my implementation of Stitches.

Description: "This addon attempts to "force" your components' pseudo states. It rewrites all document stylesheets to add a class name selector to any rules that target a pseudo-class (:hover, :focus, etc.)."

I suspect it doesn't work because it can't access Stitches' generated stylesheets?

Before I write it off, I thought I'd ask the authors if it's common knowledge that this addon is incompatible with Stitches or maybe (🤞) it's just my implementation.

Describe the solution you'd like
Pseudo States Storybook Addon works with Stitches.

Describe alternatives you've considered
Not install the addon and ask end users to use Inspector to see pseudo states.

Additional context
We're using Stitches for a design system and Storybook for documentation, so a static view of pseudo states would work nicely for documenting visual variants.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions