11@charset " utf-8" ;
2+ @use " sass:color" ;
23
34// Default color scheme settings
45// These are overridden in classic.css and dark.scss
@@ -11,8 +12,8 @@ $color-scheme-dark: false !default;
1112// ----------
1213
1314$lm-brand-color : #828282 !default ;
14- $lm-brand-color-light : lighten ($lm-brand-color , 40% ) !default ;
15- $lm-brand-color-dark : darken ($lm-brand-color , 25% ) !default ;
15+ $lm-brand-color-light : color . adjust ($lm-brand-color , $lightness : 40% ) !default ;
16+ $lm-brand-color-dark : color . adjust ($lm-brand-color , $lightness : - 25% ) !default ;
1617
1718$lm-site-title-color : $lm-brand-color-dark !default ;
1819
@@ -21,17 +22,17 @@ $lm-background-color: #fdfdfd !default;
2122$lm-code-background-color : #eeeeff !default ;
2223
2324$lm-link-base-color : #2a7ae2 !default ;
24- $lm-link-visited-color : darken ($lm-link-base-color , 15% ) !default ;
25+ $lm-link-visited-color : color . adjust ($lm-link-base-color , $lightness : - 15% ) !default ;
2526$lm-link-hover-color : $lm-text-color !default ;
2627
2728$lm-border-color-01 : $lm-brand-color-light !default ;
28- $lm-border-color-02 : lighten ($lm-brand-color , 35% ) !default ;
29+ $lm-border-color-02 : color . adjust ($lm-brand-color , $lightness : 35% ) !default ;
2930$lm-border-color-03 : $lm-brand-color-dark !default ;
3031
31- $lm-table-text-color : lighten ($lm-text-color , 18% ) !default ;
32- $lm-table-zebra-color : lighten ($lm-brand-color , 46% ) !default ;
33- $lm-table-header-bg-color : lighten ($lm-brand-color , 43% ) !default ;
34- $lm-table-header-border : lighten ($lm-brand-color , 37% ) !default ;
32+ $lm-table-text-color : color . adjust ($lm-text-color , $lightness : 18% ) !default ;
33+ $lm-table-zebra-color : color . adjust ($lm-brand-color , $lightness : 46% ) !default ;
34+ $lm-table-header-bg-color : color . adjust ($lm-brand-color , $lightness : 43% ) !default ;
35+ $lm-table-header-border : color . adjust ($lm-brand-color , $lightness : 37% ) !default ;
3536$lm-table-border-color : $lm-border-color-01 !default ;
3637
3738
@@ -107,8 +108,8 @@ $lm-table-border-color: $lm-border-color-01 !default;
107108// ---------
108109
109110$dm-brand-color : #999999 !default ;
110- $dm-brand-color-light : lighten ($dm-brand-color , 5% ) !default ;
111- $dm-brand-color-dark : darken ($dm-brand-color , 35% ) !default ;
111+ $dm-brand-color-light : color . adjust ($dm-brand-color , $lightness : 5% ) !default ;
112+ $dm-brand-color-dark : color . adjust ($dm-brand-color , $lightness : - 35% ) !default ;
112113
113114$dm-site-title-color : $dm-brand-color-light !default ;
114115
@@ -125,9 +126,9 @@ $dm-border-color-02: $dm-brand-color-light !default;
125126$dm-border-color-03 : $dm-brand-color !default ;
126127
127128$dm-table-text-color : $dm-text-color !default ;
128- $dm-table-zebra-color : lighten ($dm-background-color , 4% ) !default ;
129- $dm-table-header-bg-color : lighten ($dm-background-color , 10% ) !default ;
130- $dm-table-header-border : lighten ($dm-background-color , 21% ) !default ;
129+ $dm-table-zebra-color : color . adjust ($dm-background-color , $lightness : 4% ) !default ;
130+ $dm-table-header-bg-color : color . adjust ($dm-background-color , $lightness : 10% ) !default ;
131+ $dm-table-header-border : color . adjust ($dm-background-color , $lightness : 21% ) !default ;
131132$dm-table-border-color : $dm-border-color-01 !default ;
132133
133134
@@ -358,4 +359,4 @@ $table-border-color: $lm-table-border-color;
358359 // Classic skin syntax highlighting
359360 @include lm-highlight ;
360361
361- }
362+ }
0 commit comments