Roman_applicant-site/public/scssold/utils/_root.scss

44 lines
815 B
SCSS
Raw Permalink Normal View History

2024-01-11 10:41:35 +03:00
@use 'colors' as *;
@use 'typography' as *;
:root {
/**
@font family declaration
*/
@each $ff, $shades in $font-family {
@each $shade, $value in $shades {
--tp-#{$ff}-#{$shade}: #{$value};
}
}
/**
@color declaration
*/
@each $color, $shades in $colors {
@each $shade, $value in $shades {
--tp-#{$color}-#{$shade}: #{$value};
}
}
/**
@font weight declaration
*/
@each $fw, $shades in $font-scale {
@each $shade, $value in $shades {
--tp-#{$fw}-#{$shade}: #{$value};
}
}
/**
@font size declaration
*/
@each $fz, $shades in $font-size {
@each $shade, $value in $shades {
--tp-#{$fz}-#{$shade}: #{$value};
}
}
}