diff options
| author | aethrvmn <me@aethrvmn.gr> | 2025-08-30 13:17:32 +0000 |
|---|---|---|
| committer | aethrvmn <me@aethrvmn.gr> | 2025-08-30 13:17:32 +0000 |
| commit | 1147a663e70aadb2578cbe601bc723d7cd939c5a (patch) | |
| tree | b5100d2031328be3cfd3e9ae62730436bd573e0f /assets/_defaults.scss | |
| parent | added .gitignore (diff) | |
added non-content
Diffstat (limited to '')
| -rw-r--r-- | assets/_defaults.scss | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/assets/_defaults.scss b/assets/_defaults.scss new file mode 100644 index 0000000..2d5cf25 --- /dev/null +++ b/assets/_defaults.scss @@ -0,0 +1,63 @@ +// Used in layout +$padding-1: 1px !default; +$padding-4: 0.25rem !default; +$padding-8: 0.5rem !default; +$padding-16: 1rem !default; + +$font-size-base: 16px !default; +$font-size-12: 0.75rem !default; +$font-size-14: 0.875rem !default; +$font-size-16: 1rem !default; + +$border-radius: $padding-4 !default; + +$body-font-weight: normal !default; + +$body-min-width: 20rem !default; +$container-max-width: 80rem !default; + +$menu-width: 16rem !default; +$toc-width: 16rem !default; + +$mobile-breakpoint: $menu-width + $body-min-width * 1.2 + $toc-width !default; + +$hint-colors: ( + info: #6bf, + warning: #fd6, + danger: #f66, +) !default; + +// Themes +@mixin theme-light { + --gray-100: #f8f9fa; + --gray-200: #e9ecef; + --gray-500: #adb5bd; + + --color-link: #0055bb; + --color-visited-link: #8440f1; + + --body-background: white; + --body-font-color: black; + + --icon-filter: none; + + --hint-color-info: #6bf; + --hint-color-warning: #fd6; + --hint-color-danger: #f66; +} + +@mixin theme-dark { + --gray-100: #2f2a2e; + --gray-200: #3f3a3e; + --gray-500: #5f5a5e; + + --color-link: #ac9c6d; + --color-visited-link: #ac9c6d; + + --body-background: #1f1a1e; + --body-font-color: #efedee; + + --hint-color-info: #6bf; + --hint-color-warning: #fd6; + --hint-color-danger: #f66; +} |
