author css styles in a sass-compatible nested format
See original GitHub issuewould help with theming
see what css variables can be pulled out to :root
.
probably compile with
https://github.com/thysultan/stylis.js or https://github.com.cnpmjs.org/cristianbote/goober#extractcsstarget
create final css in /dist
export uncompiled styles from es6 source to allow consumers of lib to use their own css processors.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:13 (8 by maintainers)
Top Results From Across the Web
Sass: @use
As a stylesheet author, you may not want all the members you define to be available outside your stylesheet. Sass makes it easy...
Read more >CSS Nesting Module - W3C
This module introduces the ability to nest one style rule inside another, with the selector of the child rule relative to the selector...
Read more >[css-nesting] How to resolve nested CSS with pseudo ... - GitHub
It's true that with nesting specifically stylesheet authors need to re-learn the feature and this is a painful process :/.
Read more >How to Use Sass with CSS - freeCodeCamp
Sass is a CSS preprocessor that helps you manage tasks in large projects where the style sheets get larger, you have a number...
Read more >Sass Guidelines
This is where Sass comes in, as a meta-language, to improve CSS' syntax in order to ... Selector nesting offers a way for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
now that axes, ticks & labels are drawn on canvas and a lot of css is gone, i’m not certain that what remains justifies an additional compiling indirection (no matter how small).
Yeah, use whatever you like. I just thought to chime in before someone makes a mistake using
node-sass
. Me personally, I can live without preprocessors since the advent of CSS custom properties.