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.
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.