fix sass darken() deprecation

This commit is contained in:
Justin Edmund 2025-12-21 23:49:55 -08:00
parent e48b0c54b6
commit 103d0c652d

View file

@ -1023,6 +1023,7 @@
/>
<style lang="scss">
@use 'sass:color';
@use '$src/themes/typography' as *;
@use '$src/themes/colors' as *;
@use '$src/themes/spacing' as *;
@ -1145,7 +1146,7 @@
border: none;
&:hover:not(:disabled) {
background: darken($error, 10%);
background: color.adjust($error, $lightness: -10%);
}
}
</style>