-
Notifications
You must be signed in to change notification settings - Fork 58
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
Dark Bootswatch presets with Bootstrap 5.3 #776
Comments
Just a note that this problem is not isolated to darkly |
The concrete action we need to consider in this issue is that the Bootswatch dark mode themes might need the |
We might want to expose this as a top-level argument in For Bootswatch, one option would be to inspect the Sass bundle to find the value of |
That feels like an ideal way to approach this, given it's not a ton of work to fix the most egregious contrast issues. There's been a decent amount of recent activity in this direction (of making dark themes work better in the new color mode world), so I imagine Thomas would be quite receptive to issues/PRs. Given we go in that direction, it probably also makes sense that we update to 5.3.2 in this release. Also, FWIW, based on recent commits (e.g., 3038872b8389763b64857bac00e102a71251a331), it kind of seems that, at least in theory, dark themes should behave mostly the same regardless of the |
This issue has been automatically locked. If you have found a related problem, please open a new issue (with a reproducible example or feature request) and link to this issue. |
Now that the latest version of Bootstrap 5.3 supports dark mode, there's a small surprising change to the dark Bootswatch themes.
It appears that dark Bootswatch themes now look best when
data-bs-theme="dark"
attribute is added to the document body. My personal preference would be for these themes to look as expected in the absence of thedata-bs-theme
attribute.This might require updates in Bootswatch or for us to patch the Bootswatch themes.
The text was updated successfully, but these errors were encountered: