remove flashing when initially loading the pages

This commit is contained in:
2024-10-09 21:36:45 +02:00
parent 801e1dd965
commit e56cb31e85
+3 -11
View File
@@ -1,24 +1,16 @@
:root { :root {
--background-body: #fff; --background-body: #202122;
--text-main: #36393b; --text-main: #fff;
--text-secondary: #6b6f72; --text-secondary: #ccc;
--primary-color: #548e9b; --primary-color: #548e9b;
--font-family-serif: Merriweather, serif; --font-family-serif: Merriweather, serif;
--font-family-sans: 'Fira Sans', sans-serif; --font-family-sans: 'Fira Sans', sans-serif;
} }
@view-transition { @view-transition {
navigation: auto; navigation: auto;
} }
:root.theme-dark {
--background-body: #202122;
--text-main: #fff;
--text-secondary: #ccc;
--primary-color: #548e9b;
}
html { html {
overflow-y: scroll; overflow-y: scroll;
scroll-behavior: smooth; scroll-behavior: smooth;