2024-12-01 01:59:40 +02:00
|
|
|
@use "sass:map"
|
|
|
|
|
@use "sass:color"
|
|
|
|
|
@use '../fonts' as fonts
|
|
|
|
|
|
|
|
|
|
$list-padding-left: 1.5em
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$primary-color: #a83279 // Muted magenta for primary accents
|
|
|
|
|
$secondary-color: #3b8fc2 // Calming blue for secondary elements
|
|
|
|
|
$tertiary-color: #4caf50 // Softer green for tertiary elements
|
|
|
|
|
$quaternary-color: #60c8d2 // Light turquoise for highlights and links
|
|
|
|
|
$quinary-color: #ffd966 // Subtle warm yellow for accents
|
|
|
|
|
|
2025-01-22 04:11:14 +02:00
|
|
|
// Text and Background
|
2024-12-01 01:59:40 +02:00
|
|
|
$text-color: #d1d1e0 // Soft off-white for text
|
2025-01-22 04:11:14 +02:00
|
|
|
$background-color: #1e1e2f // Dark, neutral grayish-blue background
|
|
|
|
|
|
2024-12-01 01:59:40 +02:00
|
|
|
$code-text-color: #eaeaea // Very light gray for code text
|
2025-01-22 04:11:14 +02:00
|
|
|
$code-background-color: #2a2a3d // Slightly lighter gray for code blocks
|
|
|
|
|
$code-border-color: $secondary-color // edit
|
2024-12-01 01:59:40 +02:00
|
|
|
|
2025-01-22 04:11:14 +02:00
|
|
|
$note-color: color.adjust($text-color, $lightness: -15%)
|
2024-12-01 01:59:40 +02:00
|
|
|
$note-background-color: #2c2c3a // Muted gray-blue for note background
|
|
|
|
|
$note-border-color: $quinary-color // Matches the warm yellow accent
|
|
|
|
|
|
2025-01-22 04:11:14 +02:00
|
|
|
$blockquote-color: $note-color
|
|
|
|
|
$blockquote-border-color: $secondary-color
|
|
|
|
|
|
2024-12-01 01:59:40 +02:00
|
|
|
$anchor-color: color.adjust($secondary-color, $lightness: 10%)
|
|
|
|
|
$anchor-hover-color: color.adjust($primary-color, $lightness: -10%)
|
|
|
|
|
$toc-anchor-color: color.adjust($secondary-color, $lightness: -5%)
|
|
|
|
|
$toc-anchor-hover-color: color.adjust($primary-color, $lightness: -5%)
|
|
|
|
|
|
2025-01-22 04:11:14 +02:00
|
|
|
// Tables
|
|
|
|
|
$table-color: $text-color
|
|
|
|
|
$table-header-color: $text-color
|
2024-12-01 01:59:40 +02:00
|
|
|
$table-header-bg: #343449 // Muted gray-purple for table headers
|
|
|
|
|
$table-border-color: #4e4e5f // Neutral gray for borders
|
|
|
|
|
|
|
|
|
|
// Header Sizes and Colors
|
|
|
|
|
$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.8em)
|
|
|
|
|
$default-header-sizes: map.set($default-header-sizes, h4, 1.4em)
|
|
|
|
|
$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, $tertiary-color)
|
|
|
|
|
$default-header-colors: map.set($default-header-colors, h4, $quaternary-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))
|
2025-01-22 04:11:14 +02:00
|
|
|
|
|
|
|
|
// Fonts
|
|
|
|
|
$primary-font: 'Noto Sans', sans-serif // Clean and highly readable sans-serif font
|
|
|
|
|
$secondary-font: 'Noto Serif', serif // Complementary serif for headers
|
|
|
|
|
|