Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using CSS variables instead of SCSS variables #784

Open
vadimkantorov opened this issue Apr 16, 2024 · 0 comments
Open

Using CSS variables instead of SCSS variables #784

vadimkantorov opened this issue Apr 16, 2024 · 0 comments

Comments

@vadimkantorov
Copy link

vadimkantorov commented Apr 16, 2024

Hi! I made a version of minima theme using CSS variables instead of preprocessor-based SCSS variables. If anyone's interested, I put it in https://github.com/vadimkantorov/minimacss (see https://github.com/vadimkantorov/minimacss/blob/master/auto.scss and https://github.com/vadimkantorov/minimacss/blob/master/custom-variables_base_layout_custom-styles.scss - in this project I also put on a CSS-only release https://github.com/vadimkantorov/minimacss/releases)

I don't know what's your stance, but it seems quite possible to mainly use CSS variables (allowing for integrating produced CSS within projects not using SCSS/SASS preprocessor) - so might be worth doing something like this in upstream. Too bad that media-queries don't currently fully support CSS variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant