pixel icon indicating copy to clipboard operation
pixel copied to clipboard

CSS Variables and Consistent Sizes

Open Reisen opened this issue 5 years ago • 0 comments

Using create-react-app gives us CSS modules and the option of using a CSS pre-processor. While I don't want to bring in any pre-processors I do want to bring in CSS variables for easy consistent theming and sizing. The goal of this ticket is to see how hard it would be to be able to get some kind of web/src/theme.css that would allow defining:

@background: #EEF;
@link: #3366FF;
...

To use in other CSS files.

Reisen avatar May 13 '19 09:05 Reisen