Skip to content

Commit

Permalink
fix: sass build warings
Browse files Browse the repository at this point in the history
  • Loading branch information
asieduernest12 committed Dec 24, 2024
1 parent 15defa4 commit af40167
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/styles/contentStyle.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@use "sass:color";
$maxFixations: 4;
$maxSaccadesInterval: 4;
$activeFixationOpacity: 100%;
Expand Down Expand Up @@ -44,13 +45,13 @@ $saccadesColorsBase: (0, $hue1), (1, $hue2), (2, $hue3), (3, $hue4);
@mixin makeColorVariants($color, $id, $delta, $label) {
&[saccades-color='#{$label}'] {
br-bold:nth-of-type(#{$maxSaccadesInterval}n + #{$id}) {
--saccadesColor: #{adjust-color($color, $lightness: $delta)};
--saccadesColor: #{color.adjust($color, $lightness: $delta)};
}
}

&[saccades-color='#{$label}-100'] {
br-bold:nth-of-type(#{$maxSaccadesInterval}n + #{$id}) {
--saccadesColor: #{adjust-color($color, $lightness: $delta * 2.7)};
--saccadesColor: #{color.adjust($color, $lightness: $delta * 2.7)};
}
}
}
Expand Down

0 comments on commit af40167

Please sign in to comment.