portfoligor/assets/scss/_variables.scss

43 lines
799 B
SCSS
Raw Permalink Normal View History

// Overide pico variables
:root {
--pico-font-family-monospace: "mylilex",
monospace,
var(--pico-font-family-emoji);
--pico-font-family: "mylilex", serif, var(--pico-font-family-emoji);
--pico-font-weight: 400;
--line-height-verse: 1.4;
--verse-p-bottom-space: 2em;
--verse-p-bottom-space-larger: 3em;
}
h1,
h2,
h3,
h4,
h5,
h6,
thead th,
thead td,
tfoot th,
tfoot td {
--pico-font-weight: 700;
}
// Adapt the SVG logo color to the colorscheme
[data-theme=light],
:root:not([data-theme=dark]) {
--logo-color: var(--pico-color);
}
@media only screen and (prefers-color-scheme: dark) {
:root:not([data-theme]) {
--logo-color: var(--pico-color);
}
}
[data-theme=dark] {
--logo-color: var(--pico-color);
}