scss: replace @use with @forward

This commit is contained in:
2026-02-11 20:46:12 +00:00
parent 690d16f878
commit 9f88ed4106
15 changed files with 98 additions and 103 deletions

View File

@@ -1,4 +1,4 @@
@use "../variables/colours";
@use "../variables";
@use "sass:color";
@@ -12,13 +12,13 @@
@each $button in $buttons {
#{$button}.#{$name} {
color: colours.$white;
color: variables.$white;
background: $hex;
border-color: $hex;
&:hover,
&:focus {
color: colours.$white;
color: variables.$white;
background: color.adjust($hex, $lightness: 10%);
border-color: color.adjust($hex, $lightness: 10%);
}