Skip to content

Commit d3ea63c

Browse files
committedNov 3, 2024
Use sass:color.adjust instead of darken/lightenUse sass:color.adjust instead of darken/lighten/mix
1 parent ef9117f commit d3ea63c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎source/sass/mgr/daterangetv.scss

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use "sass:color";
2+
13
$treehillstudio-color: #cbd842;
24

35
.treehillstudio_about {
@@ -16,10 +18,10 @@ $treehillstudio-color: #cbd842;
1618

1719
.treehillstudio_window {
1820
a {
19-
color: darken($treehillstudio-color, 10);
21+
color: color.adjust($treehillstudio-color, $lightness: -10%);
2022
text-decoration: none;
2123
&:hover {
22-
color: darken($treehillstudio-color, 25);
24+
color: color.adjust($treehillstudio-color, $lightness: -25%);
2325
}
2426
}
2527
}

0 commit comments

Comments
 (0)
Please sign in to comment.