]> BookStack Code Mirror - bookstack/commit
Styles: Made non-active dark/light css variables exist by default dark_mode_front 5923/head
authorDan Brown <redacted>
Thu, 27 Nov 2025 21:55:32 +0000 (21:55 +0000)
committerDan Brown <redacted>
Thu, 27 Nov 2025 21:56:45 +0000 (21:56 +0000)
commitbb350639c6be27c746ab886c70f620e39eebfa05
tree89358305c5462c318113ae7c0ed9aacdcbdafd45
parent0f40aeb0d31cae2f7b27ec7e7a9e6ad7562341eb
Styles: Made non-active dark/light css variables exist by default

This means that it would be possible to jump between light/dark mode
with just the class, and no reload needed.
Not something we'll directly use right now, but may be useful in
customizations.
resources/views/layouts/parts/custom-styles.blade.php
tests/Settings/SettingsTest.php