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

Custom css "namespace" #9

Open
mila76 opened this issue Jan 15, 2022 · 2 comments
Open

Custom css "namespace" #9

mila76 opened this issue Jan 15, 2022 · 2 comments

Comments

@mila76
Copy link

mila76 commented Jan 15, 2022

Can archive this adding a default parameter to set a custom class in the first

tags in #createToastContainer and in modal.classList.add('modal')

@Script47
Copy link
Owner

@mila76

I'm sorry, I don't quite understand what you are suggesting or wish to achieve here.

Can you please clarify?

@mila76
Copy link
Author

mila76 commented Jan 16, 2022

with "namespace" you can overwrite default class without trouble... have less problem with name collision etc
.modal -> .namespace .modal

I created a pool request with my modification and rollup building
I'm not a great expert on this hope can be useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants