org-media-sass/themes/golden-ledger.sass

77 lines
3.6 KiB
Sass
Raw Normal View History

2024-11-30 23:19:51 +02:00
// _variables.sass
@use "sass:map"
@use "sass:color"
@use '../fonts' as fonts
$list-padding-left: 1.2em
// Color Variables
// Colors
$primary-color: #0056b3 // Rich navy blue for links
$secondary-color: #f5b800 // Golden yellow for secondary elements
$tertiary-color: #198754 // Professional green for tertiary elements
$quaternary-color: #6c757d // Muted gray for highlights
$quinary-color: #d63384 // Refined pinkish-red for subtle accents
$code-background-color: #2d2f33 // Softer dark gray-blue for code blocks
$code-text-color: #e8e9eb // Light gray for code text
$note-background-color: #f4f4f6 // Light grayish-neutral for note background
$note-border-color: $quinary-color // Matches the refined pinkish-red accent
// Text
$text-color: #2b2c2f // Dark gray with a slight warmth for text
$background-color: #f5f5f7 // Soft light gray for background, reducing eye strain
// Links, Anchors
$anchor-color: color.adjust($primary-color, $lightness: 15%)
$anchor-hover-color: color.adjust($primary-color, $lightness: -10%)
$toc-anchor-color: color.adjust($secondary-color, $lightness: -5%)
$toc-anchor-hover-color: color.adjust($secondary-color, $lightness: -10%)
// Tables
$table-header-bg: #e0e0e5 // Light neutral gray for table headers
$table-border-color: #b5b5b8 // Subtle 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.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: 0em))
$default-header-margins-vertical: map.set($default-header-margins-vertical, h3, (top: 0em, bottom: 0.5em))
$default-header-margins-vertical: map.set($default-header-margins-vertical, h4, (top: 0em, 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: 1em, bottom: 0.5em))
// Fonts
$primary-font: 'Roboto Slab', serif // Professional serif font for primary content
$secondary-font: 'Open Sans', sans-serif // Clean sans-serif for secondary content