charts.css icon indicating copy to clipboard operation
charts.css copied to clipboard

Namespacing?

Open sporto opened this issue 3 years ago • 2 comments

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.

sporto avatar Mar 19 '21 00:03 sporto

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

privatemonkey avatar Mar 19 '21 14:03 privatemonkey

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.

mrspence avatar Mar 19 '21 15:03 mrspence