feat: Resolve all deprecation warnings for sass

- Replace @import with @use and @forward
- Only color function is used in _basic.scss for now
- Change _all.scss to _index.scss
- Modules use direct dependencies
- Move @include from _config.scss to _common.scss, this was a long term mistake
- Remove $color_list
- Change basic_color()
This commit is contained in:
sthag 2025-10-26 11:33:54 +01:00
parent 867e96ea0a
commit 4e4f8814d3
26 changed files with 476 additions and 420 deletions

View file

@ -1,5 +1,10 @@
@use "../../global/config";
@use "../../global/common";
@use "../../global/typography";
@use "../../elements/interactive";
input[type="range"] {
accent-color: $color_text_io;
accent-color: config.$color_text_io;
}
header,
@ -51,7 +56,7 @@ footer {
header,
aside {
&.io {
padding: $space_basic;
padding: config.$space_basic;
textarea {
@extend .io_textarea;