6846d314d6
Having the CSS and JS in the html template produces pages larger than necessary, as each page need to contain all the js/css. Separating them in appropriate files allow the browser to just download them once and use them for all the pages. This is even more effective with an aggressive cache policy for the js and css, something that can be done without fear thanks to the implemented cache-busting. Also, having then in separate files allows us to use Hugo pipelines for minimizing the code.
24 lines
558 B
SCSS
24 lines
558 B
SCSS
// Add your own CSS here!
|
|
:root {
|
|
--light: #faf8f8;
|
|
--dark: #141021;
|
|
--secondary: #284b63;
|
|
--tertiary: #84a59d;
|
|
--visited: #afbfc9;
|
|
--primary: #f28482;
|
|
--gray: #4e4e4e;
|
|
--lightgray: #f0f0f0;
|
|
--outlinegray: #dadada;
|
|
}
|
|
|
|
[saved-theme="dark"] {
|
|
--light: #1e1e21 !important;
|
|
--dark: #fbfffe !important;
|
|
--secondary: #6b879a !important;
|
|
--visited: #4a575e !important;
|
|
--tertiary: #84a59d !important;
|
|
--primary: #f58382 !important;
|
|
--gray: #d4d4d4 !important;
|
|
--lightgray: #292633 !important;
|
|
--outlinegray: #343434 !important;
|
|
} |