fumiX / fuBlog

Blog Software
https://blog.fumix.de
Apache License 2.0
2 stars 1 forks source link

Bootstrap 5.3 text color #87

Closed floscher closed 1 year ago

floscher commented 1 year ago

This is mainly about https://github.com/fumiX/fuBlog/commit/12a46e439210721bcde2dbe3ca1a35a636b7cda4

After the update to Bootstrap 5.3 the text was too light and especially in lightmode barely legible.

It should be fixed now, but I'd appreciate a second pair of eyes on this :eye::eye:. Especially the setting of document.body.dataset.bsTheme = "dark"; can probably be solved more elegantly. I'd guess setting the dark mode with this new data-attribute would be preferable to using a custom CSS class like we did before.