react-with-styles-interface-css icon indicating copy to clipboard operation
react-with-styles-interface-css copied to clipboard

CSS Variables?

Open majapw opened this issue 7 years ago • 2 comments

In <v13.0.0 of react-dates, we supported an idea similar to theming in the prebuilt sass stylesheet. Specifically, we had a variables.scss of sass variables with a !default flag and then the consuming stylesheet of classes applied to the various components.

I think that there is an opportunity here to have this CSS interface do a similar thing with the theme variables. They implementation could be CSS variables or something similar, but it would benefit consumers interested in overriding aspects of a project shipping with react-with-styles-interface-css without forcing the consumer to do their own theme and interface registration.

majapw avatar Oct 18 '17 22:10 majapw