mirror of
https://github.com/DerTyp7/dertyp7.github.io.git
synced 2025-11-01 22:22:32 +01:00
add theme switch
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
@import "variables_colors.scss";
|
||||
|
||||
:root {
|
||||
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
||||
line-height: 1.5;
|
||||
font-weight: 400;
|
||||
|
||||
color-scheme: light dark;
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
background-color: #ffffff;
|
||||
color: var(--color-font);
|
||||
background-color: var(--color-background-body);
|
||||
|
||||
font-synthesis: none;
|
||||
text-rendering: optimizeLegibility;
|
||||
@@ -19,3 +21,15 @@
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body,
|
||||
#root {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user