aboutsummaryrefslogtreecommitdiffstats
path: root/src/bem/_debug.scss
blob: 8ea0f0525336f47cd6f8dbef5d0c7ef69041828d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
////
/// @group BEM
///
/// @access public
////

@use './vars';

@if vars.$debug {
    @each $type, $color in vars.$debug-colors {
        $namespace: map-get(vars.$namespaces, $type);

        [class^='#{$namespace}-'],
        [class*=' #{$namespace}-'] {
            outline: 5px solid $color;
        }
    }
}