ChartsCSS / charts.css

Open source CSS framework for data visualization.
https://ChartsCSS.org
MIT License
6.2k stars 176 forks source link

Namespacing? #15

Open sporto opened 3 years ago

sporto commented 3 years ago

This looks great! However this uses classes like column and row that can easily conflict with other css frameworks.

Is there a way to generate a css with a namespace? e.g. chartcss-row Something like https://purecss.io/ where every class has pure-...

It would be great if there is an alternative compiled css with namespaces.

privatemonkey commented 3 years ago

I second that. I like the idea of compiling to both a namespaced and original css.

mrspence commented 3 years ago

This could work well with a SASS variable $chartsCssNamespace = '' that's empty by default.

For users who don't want SASS, then compiling to two separate distributions (one with and one without namespacing) would work well.