1
Fork 0
mirror of https://github.com/glassflame/glassflame.github.io.git synced 2024-10-16 14:37:33 +00:00

Create basic style

This commit is contained in:
Steffo 2023-10-18 22:08:57 +02:00
parent edd7ffaffb
commit df345593e5
Signed by: steffo
GPG key ID: 2A24051445686895
3 changed files with 19 additions and 0 deletions

6
style/dark.css Normal file
View file

@ -0,0 +1,6 @@
@media (prefers-color-scheme: dark) {
:root {
--color-background: #1E1E1E;
--color-foreground: #FFFFFF;
}
}

7
style/index.css Normal file
View file

@ -0,0 +1,7 @@
@import "./light.css";
@import "./dark.css";
body {
background-color: var(--color-background);
color: var(--color-foreground);
}

6
style/light.css Normal file
View file

@ -0,0 +1,6 @@
@media (prefers-color-scheme: light) {
:root {
--color-background: #FFFFFF;
--color-foreground: #1E1E1E;
}
}