linked themes to somehwere esle

This commit is contained in:
ronny abraham 2024-11-30 21:31:43 +02:00
parent 08bd1d739a
commit 0daecffcd3
3 changed files with 1 additions and 152 deletions

1
_share/media/sass/themes Symbolic link
View file

@ -0,0 +1 @@
/Users/ronny/notes/_share/media/sass/themes

View file

@ -1,76 +0,0 @@
// _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

View file

@ -1,76 +0,0 @@
// _variables.sass
@use "sass:map"
@use "sass:color"
@use '../fonts' as fonts
$list-padding-left: 1.2em
// Color Variables
// Colors
$primary-color: #8c6239 // Warm brown for links
$secondary-color: #c69c6d // Light tan for secondary elements
$tertiary-color: #7b8a4f // Olive green for tertiary elements
$quaternary-color: #b4b7b4 // Muted gray for highlights
$quinary-color: #d67474 // Subtle coral for accents
$code-background-color: #fdf6e3 // Warm beige for code blocks
$code-text-color: #657b83 // Muted teal-gray for code text
$note-background-color: #f6eee0 // Soft beige for note background
$note-border-color: $quinary-color // Matches the coral accent
// Text
$text-color: #4d4d4d // Rich dark gray for text
$background-color: #fdfaf6 // Warm light beige for background
// Links, Anchors
$anchor-color: color.adjust($primary-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($secondary-color, $lightness: -10%)
// Tables
$table-header-bg: #ede0d1 // Light warm tan for table headers
$table-border-color: #cabfa5 // Soft brown-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: 'Source Serif Pro', serif // Elegant serif for primary content
$secondary-font: 'Noto Sans', sans-serif // Clean sans-serif for secondary content