Closed kof closed 6 years ago
I need feedback, pls take a look https://github.com/iamstarkov/theming/pull/2
@lttb, react-jss got a theming support in latest release. lemme know if you need any help to fix this issue
Hi @lttb, how it goes?
hi @kserjey, it's already almost done, planning to integrate it this week https://github.com/cssinjs/styled-jss/pull/35 (just need to upgrade theming
version with React 16 support)
This would certainly help, this is a pretty important step to get this package more usable in my humble opinion.
Thanks, awesome work!
Is there a way to use a theme with Base Stylesheet (https://github.com/cssinjs/styled-jss/blob/master/README.md#base-style-sheet) or it isn't supported yet? I would expect something like this to work:
Styled((theme) => ({
header: {
margin: 10,
color: theme.colorHeader,
},
}));
I'm using styled-jss in two projects and soon in a third one so if it's not supported I might try to contribute and make it work.
@iamstarkov has been working on a unified styling solution https://github.com/iamstarkov/theming and styled-jss needs to integrate it
Main issue https://github.com/cssinjs/jss/issues/488