Skip to content

Theme API per component #451

Answered by peduarte
goatyeahh asked this question in Ideas
Discussion options

You must be logged in to vote

Hi! I dont know if you're aware, but we've been working hard for the last few months on Stitches Beta. It contains a lot of improvements over the Alpha version.

This is the WIP Migration Guide if you're adventurous https://stitches-site-git-beta.modulz-deploys.com/blog/migrating-from-alpha-to-beta

It supports a bunch of new powerful concepts, like "Token referencing", "Locally scoped tokens" and the ability to change styles on a theme basis, since you can now define the class name upfront.

For example removing the border and changing the background color for a CardComponent in dark mode without changing every component that shares the tokens.

I think there are a few ways you can go abou…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by goatyeahh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants