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 {
--background-body: #fff;
--text-main: #36393b;
--text-secondary: #6b6f72;
--background-body: #202122;
--text-main: #fff;
--text-secondary: #ccc;
--primary-color: #548e9b;
--font-family-serif: Merriweather, serif;
--font-family-sans: 'Fira Sans', sans-serif;
}
@view-transition {
navigation: auto;
}
:root.theme-dark {
--background-body: #202122;
--text-main: #fff;
--text-secondary: #ccc;
--primary-color: #548e9b;
}
html {
overflow-y: scroll;
scroll-behavior: smooth;