2024-11-27 02:08:59 +02:00
|
|
|
@use "sass:map"
|
2025-01-21 02:10:25 +02:00
|
|
|
@use "sass:color"
|
2024-11-27 02:08:59 +02:00
|
|
|
|
|
|
|
|
// Import the chosen theme (dark or light)
|
|
|
|
|
// Or 'themes/light'
|
2024-11-29 10:29:02 +02:00
|
|
|
@use 'themes/dark' as *
|
2024-11-27 02:08:59 +02:00
|
|
|
|
|
|
|
|
// Shared Table Style Variables
|
|
|
|
|
$table-padding: 10px
|
|
|
|
|
$code-border-radius: 5px
|
|
|
|
|
$list-padding-left: 20px
|
|
|
|
|
|
|
|
|
|
// Link Style Mixins
|
|
|
|
|
@mixin link-primary
|
|
|
|
|
color: $link-color-primary
|
|
|
|
|
text-decoration: none
|
|
|
|
|
|
|
|
|
|
&:hover
|
2025-01-21 02:10:25 +02:00
|
|
|
// color: darken($link-color-primary, 10%)
|
|
|
|
|
color: color.adjust($link-color-primary, $lightness: -10%)
|
2024-11-27 02:08:59 +02:00
|
|
|
text-decoration: underline
|
|
|
|
|
|
|
|
|
|
@mixin link-secondary
|
|
|
|
|
color: $link-color-secondary
|
|
|
|
|
text-decoration: underline
|
|
|
|
|
|
|
|
|
|
&:hover
|
2025-01-21 02:10:25 +02:00
|
|
|
// color: lighten($link-color-secondary, 10%)
|
|
|
|
|
color: color.adjust($link-color-secondary, $lightness: 10%)
|
2024-11-27 02:08:59 +02:00
|
|
|
|
|
|
|
|
@mixin link-inverse
|
|
|
|
|
color: $inverse-link-color
|
|
|
|
|
background-color: $link-color-primary
|
|
|
|
|
padding: 2px 4px
|
|
|
|
|
text-decoration: none
|
|
|
|
|
border-radius: 3px
|
|
|
|
|
|
|
|
|
|
&:hover
|
2025-01-21 02:10:25 +02:00
|
|
|
//background-color: darken($link-color-primary, 10%)
|
|
|
|
|
background-color: color.adjust($link-color-primary, $lightness: -10%)
|
2024-11-27 02:08:59 +02:00
|
|
|
color: $inverse-link-hover-color
|
|
|
|
|
|