Update theme setup

This commit is contained in:
2024-05-31 19:42:50 +01:00
parent 5446b8e37c
commit ca010938db
4 changed files with 43 additions and 52 deletions

View File

@ -1,6 +1,5 @@
/* Dark theme */
:root {
html[data-theme='dark'] {
--background-color: #343a40;
--header-color: #202225;
--headings-color: #ffffff;
@ -11,7 +10,6 @@
--link-color-hover: #ffffff;
}
/* Light theme */
html[data-theme='light'] {
--background-color: #ffffff;
--headings-color: #181818;
@ -25,6 +23,7 @@ html[data-theme='light'] {
body {
background-color: var(--background-color);
box-sizing: border-box;
color: var(--font-color);
font-family: 'Open Sans', sans-serif;
font-display: swap;