question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

author css styles in a sass-compatible nested format

See original GitHub issue

would 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
leeoniyacommented, Feb 19, 2020

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).

0reactions
silverwindcommented, Feb 18, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found