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

Make CSS classes overridable during initialization #530

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

Data5tream
Copy link
Contributor

Add a setting for overriding CSS classes. Because of the use of classList.add(), only a single class can be set currently. It might be worth it to refactor it so several classes can be used (this would be useful for people who use atomic CSS frameworks like Tailwind).

This PR solves #522

@brianvoe brianvoe changed the base branch from master to develop March 15, 2024 20:07
@brianvoe
Copy link
Owner

I think this pr looks really good. Nice job.

@brianvoe brianvoe marked this pull request as ready for review March 15, 2024 20:11
@brianvoe brianvoe merged commit a88b567 into brianvoe:develop Mar 15, 2024
@Data5tream Data5tream deleted the overridable-css-classes branch March 16, 2024 20:52
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

Successfully merging this pull request may close these issues.

2 participants