-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Description
Hi,
I'm using Materia theme currently and figured out that some css classes use fixed colours therefore, they do not change when setting data-bs-theme=dark
Examples are all alert-secondary, alert-primary and so on like
<div class="alert alert-success" role="alert">
...
</div>
Or another example are buttons like btn-primary or btn-secondary
They look identical even when switching to dark mode.
The colour codes are hard-codes e.g.
bootswatch/dist/materia/bootstrap.css
Line 13114 in 149996d
| background: #4caf50 linear-gradient(180deg, #67bb6a, #4caf50) repeat-x; |
There might be more examples, but I came across these specific ones in my project.
Is this an intended behaviour for the theme, or is there any plan to improve dark mode support here?
All the best
Alex
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels