// Colors // @import "./media-queries"; @import "src/scss/media-queries"; :root { color-scheme: light; --text-color: #081c24; --text-color-90: rgba(8, 28, 36, 0.9); --text-color-70: rgba(8, 28, 36, 0.7); --text-color-50: rgba(8, 28, 36, 0.5); --text-color-10: rgba(8, 28, 36, 0.1); --text-color-5: rgba(8, 28, 36, 0.05); --text-color-secondary: orange; --background-color: #f8f8f8; --background-color-secondary: #ffffff; --background-ui: #edeef0; --background-95: rgba(255, 255, 255, 0.95); --background-70: rgba(255, 255, 255, 0.7); --background-40: rgba(255, 255, 255, 0.4); --background-nav-logo: #081c24; --color-green: #01d277; --color-green-90: rgba(1, 210, 119, 0.9); --color-green-70: rgba(1, 210, 119, 0.73); --color-teal: #091c24; --color-black: #081c24; --white: #fff; --white-70: rgba(255, 255, 255, 0.7); --color-warning: rgba(241, 188, 53, 0.7); --color-warning-highlight: #f1bc35; --color-success: rgba(0, 100, 66, 0.8); --color-success-text: #fff; --color-success-highlight: rgb(0, 100, 66); --color-error: rgba(220, 48, 35, 0.8); --color-error-highlight: #dc3023; --header-size: 90px; } @media (prefers-color-scheme: dark) { :root { color-scheme: light dark; --text-color: #fff; --text-color-90: rgba(255, 255, 255, 0.9); --text-color-70: rgba(255, 255, 255, 0.7); --text-color-50: rgba(255, 255, 255, 0.5); --text-color-10: rgba(255, 255, 255, 0.1); --text-color-5: rgba(255, 255, 255, 0.05); --text-color-secondary: orange; --background-color: rgba(17, 17, 17, 1); --background-color-secondary: rgba(6, 7, 8, 1); --background-ui: #202125; --background-95: rgba(6, 7, 8, 0.95); --background-70: rgba(6, 7, 8, 0.7); --background-40: rgba(6, 7, 8, 0.4); } } @include mobile-only { :root { --header-size: 55px; } } $header-size: var(--header-size); $dark: rgb(30, 31, 34); $green: var(--color-green); $green-90: var(--color-green-90); $green-70: var(--color-green-70); $teal: #091c24; $black: #081c24; $black-80: rgba(0, 0, 0, 0.8); $white: #fff; $white-80: rgba(255, 255, 255, 0.8); $text-color: var(--text-color) !default; $text-color-90: var(--text-color-90) !default; $text-color-70: var(--text-color-70) !default; $text-color-50: var(--text-color-50) !default; $text-color-5: var(--text-color-5) !default; $text-color-secondary: var(--text-color-secondary) !default; $background-color: var(--background-color) !default; $background-color-secondary: var(--background-color-secondary) !default; $background-ui: var(--background-ui) !default; $background-95: var(--background-95) !default; $background-70: var(--background-70) !default; $background-40: var(--background-40) !default; $background-dark-85: rgba($dark, 0.85) !default; $background-nav-logo: var(--background-nav-logo) !default; $color-warning: var(--color-warning) !default; $color-warning-highlight: var(--color-warning-highlight) !default; $color-success: var(--color-success) !default; $color-success-highlight: var(--color-success-highlight) !default; $color-error: var(--color-error) !default; $color-error-highlight: var(--color-error-highlight) !default; .halloween { --text-color: #6a318c; --text-color-secondary: #fb5a33; --background-color: #80c350; --background-color-secondary: #ff9234; } .dark { --text-color: #fff; --text-color-90: rgba(255, 255, 255, 0.9); --text-color-70: rgba(255, 255, 255, 0.7); --text-color-50: rgba(255, 255, 255, 0.5); --text-color-5: rgba(255, 255, 255, 0.05); --text-color-secondary: orange; --background-color: rgba(17, 17, 17, 1); --background-color-secondary: rgba(6, 7, 8, 1); --background-ui: #202125; --background-95: rgba(17, 17, 17, 0.95); --background-70: rgba(17, 17, 17, 0.8); --background-40: rgba(17, 17, 17, 0.4); } .light { --text-color: #081c24; --text-color-90: rgba(8, 28, 36, 0.9); --text-color-70: rgba(8, 28, 36, 0.7); --text-color-50: rgba(8, 28, 36, 0.5); --text-color-5: rgba(8, 28, 36, 0.05); --text-color-secondary: orange; --background-color: #f8f8f8; --background-color-secondary: #ffffff; --background-ui: #edeef0; --background-95: rgba(255, 255, 255, 0.95); --background-70: rgba(255, 255, 255, 0.7); --background-40: rgba(255, 255, 255, 0.4); }