75 lines
3.5 KiB
Sass
75 lines
3.5 KiB
Sass
// _variables.sass
|
|
@use "sass:map"
|
|
@use "sass:color"
|
|
@use '../../../../../_share/media/sass/fonts' as fonts
|
|
|
|
$list-padding-left: 1.5em
|
|
|
|
// Color Variables
|
|
|
|
// Colors
|
|
$primary-color: #d10094 // Primary (Pink): Vibrant and attention-grabbing.
|
|
$secondary-color: #5b8ee8 // Secondary (Blue): Rich, calming contrast to pink.
|
|
$tertiary-color: #228b22 // Tertiary (Green): Strong, natural balance to pink and blue.
|
|
$quaternary-color: #40e0d0 // Quaternary (Turquoise): Fresh and energetic, great for highlights or links.
|
|
$quinary-color: #ffd966 // Quinary (Mustard Yellow): Warm and muted, adds subtle emphasis for accents.
|
|
|
|
$code-background-color: #1e1f29 // Very dark blue for code blocks
|
|
$code-text-color: #f8f8f2 // Off-white for code text
|
|
|
|
$note-background-color: #333842 // Note background
|
|
$note-border-color: $quinary-color // Note border color
|
|
|
|
// Text
|
|
$text-color: #aeb1c7
|
|
$background-color: #282a36 // Dark black-gray background
|
|
|
|
// Links, Anchors
|
|
$anchor-color: color.adjust($secondary-color, $lightness: 15%)
|
|
$anchor-hover-color: color.adjust($primary-color, $lightness: 15%)
|
|
$toc-anchor-color: color.adjust($secondary-color, $lightness: -5%)
|
|
$toc-anchor-hover-color: color.adjust($primary-color, $lightness: -5%)
|
|
|
|
// Tables
|
|
$table-header-bg: #44475a // Steely blue for table headers
|
|
$table-border-color: #6272a4 // Muted blue-gray for borders
|
|
|
|
$default-header-sizes: ()
|
|
$default-header-sizes: map.set($default-header-sizes, h1, 2.5em)
|
|
$default-header-sizes: map.set($default-header-sizes, h2, 2em)
|
|
$default-header-sizes: map.set($default-header-sizes, h3, 1.5em)
|
|
$default-header-sizes: map.set($default-header-sizes, h4, 1.2em)
|
|
$default-header-sizes: map.set($default-header-sizes, h5, 1.2em)
|
|
$default-header-sizes: map.set($default-header-sizes, h6, 1.1em)
|
|
|
|
$default-header-colors: ()
|
|
$default-header-colors: map.set($default-header-colors, h1, $primary-color)
|
|
$default-header-colors: map.set($default-header-colors, h2, $secondary-color)
|
|
$default-header-colors: map.set($default-header-colors, h3, $secondary-color)
|
|
$default-header-colors: map.set($default-header-colors, h4, $secondary-color)
|
|
|
|
|
|
// Initialize empty maps
|
|
$default-header-margins-sides: ()
|
|
$default-header-margins-vertical: ()
|
|
|
|
// Dynamically populate sides map
|
|
$default-header-margins-sides: map.set($default-header-margins-sides, h1, (left: 0, right: 0))
|
|
$default-header-margins-sides: map.set($default-header-margins-sides, h2, (left: 0, right: 0))
|
|
$default-header-margins-sides: map.set($default-header-margins-sides, h3, (left: 0, right: 0))
|
|
$default-header-margins-sides: map.set($default-header-margins-sides, h4, (left: 0, right: 0))
|
|
$default-header-margins-sides: map.set($default-header-margins-sides, h5, (left: 0, right: 0))
|
|
$default-header-margins-sides: map.set($default-header-margins-sides, h6, (left: 0, right: 0))
|
|
|
|
// Dynamically populate vertical map
|
|
$default-header-margins-vertical: map.set($default-header-margins-vertical, h1, (top: 1em, bottom: 0.5em))
|
|
$default-header-margins-vertical: map.set($default-header-margins-vertical, h2, (top: 1em, bottom: 0.5em))
|
|
$default-header-margins-vertical: map.set($default-header-margins-vertical, h3, (top: 1em, bottom: 0.5em))
|
|
$default-header-margins-vertical: map.set($default-header-margins-vertical, h4, (top: 1em, bottom: 0.5em))
|
|
$default-header-margins-vertical: map.set($default-header-margins-vertical, h5, (top: 1em, bottom: 0.5em))
|
|
$default-header-margins-vertical: map.set($default-header-margins-vertical, h6, (top: 3.5em, bottom: 0.5em))
|
|
|
|
// Fonts
|
|
$primary-font: 'Fira Mono', monospace
|
|
$secondary-font: 'Roboto', sans-serif
|
|
|