@use 'colors' as *;
@use 'typography' as *;

:root {
    /**
    @font family declaration
    */
    @each $ff, $shades in $font-family {
        @each $shade, $value in $shades {
            --bd-#{$ff}-#{$shade}: #{$value};
        }
    }

    /**
    @color declaration
    */
    @each $color, $shades in $colors {
        @each $shade, $value in $shades {
            --clr-#{$color}-#{$shade}: #{$value};
        }
    }


    /**
    @font weight declaration
    */
    
    @each $fs, $shades in $font-scale {
        @each $shade, $value in $shades {
            --bd-#{$fs}-#{$shade}: #{$value};
        }
    }

    /**
    @font size declaration
    */
    
    @each $fs, $shades in $font-size {
        @each $shade, $value in $shades {
            --bd-#{$fs}-#{$shade}: #{$value};
        }
    }
}
