$font-path: '../fonts' $icons: '../icons/' $images: '../images/' $light: #fff $haze: #fafafa $xhaze: darken($haze, 5%) $bg: #002538 $theme: #006094 @mixin content() --maxWidth: 1440px max-width: var(--maxWidth) margin-left: auto margin-right: auto @mixin viewport($width: 1024px, $margin: 25px) max-width: $width margin: $margin auto @content @mixin shadow($opacity: 0.24) box-shadow: 0 0 3rem rgba(0,0,0,$opacity) &:hover box-shadow: 0 0 5rem rgba(0,0,0, (1.5 * $opacity)) html --color-mode: 'lit' --light: #fff --dark: #000 --bg: #002538 --haze: #f2f2f2 --gray: #020202 --accent: var(--gray) --text: #363636 --header-text: var(--dark) --font: 'Roboto Slab', sans-serif --theme: #0077b8 --ease: cubic-bezier(.19,1,.22,1) --code-bg: #888 --table-bg: var(--light) --table-haze: var(--haze) --table-border: #dedede --footer-bg: var(--haze) --shadow: rgba(0,0,0,0.12) --translucent: rgba(0,0,0,0.05) --translucent-light: rgba(255,255,255,0.05) --post-bg: var(--light) --choice-bg: var(--haze) --ease: cubic-bezier(0.39, 0.575, 0.565, 1) --easing: cubic-bezier(.19,1,.22,1) &.page --choice-bg: var(--light) @mixin darkmode --color-mode: 'dim' --text: #c4cdd5 --accent: var(--bubble) --choice-bg: var(--bg) --code-bg: var(--translucent-light) --header-text: var(--light) --table-bg: var(--code-bg) --table-haze: rgba(255,255,255,0.1) --table-border: var(--code-bg) --footer-bg: var(--bg) --post-bg: var(--translucent-light) * box-shadow: none !important &[data-mode="dim"] @include darkmode blockquote background: var(--translucent-light) border-color: var(--translucent-light) color: #dedede svg.icon fill: var(--light) .icon img background: none svg fill: #fafafa .sidebar &_inner &::before display: none .color &_choice &::after background-image: url("#{$images}night-moon.jpg") transform: translateX(1.4rem) @media (prefers-color-scheme: dark) &:not([data-mode="lit"]) @include darkmode blockquote background: var(--translucent-light) color: #dedede svg.icon fill: var(--light) .icon img background: none svg fill: #fafafa .sidebar &_inner &::before display: none .color &_choice &::after background-image: url("#{$images}night-moon.jpg") transform: translateX(1.4rem)