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

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

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

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

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