feat: Replace deprecated sass color functions

This commit is contained in:
sthag 2025-10-25 09:03:58 +02:00
parent 41c5757790
commit 50b0d864c2
5 changed files with 15 additions and 7 deletions

View file

@ -1,3 +1,5 @@
@use "sass:color";
$portal_highlight: $color_highlight_basic;
$portal_margin: $space_double;
$portal_link_size: 128px;
@ -66,7 +68,7 @@ $portal_icon_size: 64px;
background-position: center;
&:hover {
background-color: transparentize($portal_highlight, $amount: 0.2);
background-color: color.adjust($portal_highlight, $alpha: -0.2);
border-color: $portal_highlight;
}