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

Namespacing? #15

Open
sporto opened this issue Mar 19, 2021 · 2 comments
Open

Namespacing? #15

sporto opened this issue Mar 19, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@sporto
Copy link

sporto commented Mar 19, 2021

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
Copy link

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

@mrspence
Copy link

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.

@ramiy ramiy self-assigned this Apr 26, 2021
@ramiy ramiy added the enhancement New feature or request label Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants