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,7 +1,12 @@
@use "../../global/config";
@use "../../global/common";
@use "../../elements/sections";
@use "../../functions/color" as *;
.body_status {
@extend .sec_main_status;
height: 100vh;
border-color: $foxtrot_color;
border-color: basic_color(foxtrot);
.main_site {
@extend .wrap_center;
@ -13,7 +18,7 @@
}
& > h1 + h3 {
margin-top: 0;
margin-bottom: $space_small;
margin-bottom: config.$space_small;
}
}
}