File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1+ @use ' sass:meta' ;
2+
13@mixin _non-variable-font-face ($name , $path , $parameter ) {
24 @font-face {
35 font-display : swap ;
46 font-family : $name ;
57 src : url (' ../src/assets/fonts/#{$path } /#{$parameter } .woff2' ) format (' woff2' ),
68 url (' ../src/assets/fonts/#{$path } /#{$parameter } .woff' ) format (' woff' );
79
8- @if type-of ($parameter ) == ' number' {
10+ @if meta . type-of ($parameter ) == ' number' {
911 font-weight : $parameter ;
1012 } @else {
1113 font-style : $parameter ;
Original file line number Diff line number Diff line change 4545.hljs-type {
4646 color : sasscolor .change (
4747 sasscolor .mix (color .$base-fuchsia-lighter , color .$base-orange-light ),
48- $saturation : sasscolor .saturation (color .$base-fuchsia-lighter )
48+ $saturation :
49+ sasscolor .channel (color .$base-fuchsia-lighter , ' saturation' , $space : hsl )
4950 );
5051}
5152
5556.hljs-selector-pseudo {
5657 color : sasscolor .change (
5758 sasscolor .mix (color .$base-green-lighter , color .$base-blue-lighter ),
58- $saturation : sasscolor .saturation (color .$base-green-lighter )
59+ $saturation :
60+ sasscolor .channel (color .$base-green-lighter , ' saturation' , $space : hsl )
5961 );
6062}
6163
You can’t perform that action at this time.
0 commit comments