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:
parent
867e96ea0a
commit
4e4f8814d3
26 changed files with 476 additions and 420 deletions
|
|
@ -1,46 +1,48 @@
|
|||
@use "config";
|
||||
|
||||
// Basic styles
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
%basic {
|
||||
font-family: $family_text_basic;
|
||||
font-size: $size_text_1;
|
||||
line-height: $line_text_basic;
|
||||
font-family: config.$family_text_basic;
|
||||
font-size: config.$size_text_1;
|
||||
line-height: config.$line_text_basic;
|
||||
}
|
||||
|
||||
%basic_mono {
|
||||
font-family: $family_text_mono;
|
||||
font-size: $size_text_1;
|
||||
line-height: $line_text_mono;
|
||||
font-family: config.$family_text_mono;
|
||||
font-size: config.$size_text_1;
|
||||
line-height: config.$line_text_mono;
|
||||
}
|
||||
|
||||
%basic_print {
|
||||
font-family: $family_text_print;
|
||||
font-size: $size_text_1;
|
||||
line-height: $line_text_basic;
|
||||
font-family: config.$family_text_print;
|
||||
font-size: config.$size_text_1;
|
||||
line-height: config.$line_text_basic;
|
||||
}
|
||||
|
||||
%head_all {
|
||||
font-family: $family_head_basic;
|
||||
line-height: $line_head_basic;
|
||||
font-family: config.$family_head_basic;
|
||||
line-height: config.$line_head_basic;
|
||||
}
|
||||
|
||||
%head_1 {
|
||||
font-size: $size_head_1;
|
||||
font-size: config.$size_head_1;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
%head_2 {
|
||||
font-size: $size_head_2;
|
||||
font-size: config.$size_head_2;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
%head_3 {
|
||||
font-size: $size_head_3;
|
||||
font-size: config.$size_head_3;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
%head_4 {
|
||||
font-size: $size_head_4;
|
||||
font-size: config.$size_head_4;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue