2021-06-02 18:37:13 +02:00
|
|
|
@use 'sass:map';
|
2021-03-08 23:27:16 -05:00
|
|
|
@use '../../constants';
|
2021-03-08 23:02:24 -05:00
|
|
|
|
2021-03-08 23:27:16 -05:00
|
|
|
@mixin theme($theme) {
|
2021-03-08 23:02:24 -05:00
|
|
|
.symbol {
|
2021-03-08 23:27:16 -05:00
|
|
|
box-shadow: 0 1px 2px rgba(constants.$black, 0.24);
|
|
|
|
color: constants.$white;
|
2021-03-08 23:02:24 -05:00
|
|
|
|
|
|
|
// SYMBOL TYPES
|
|
|
|
// Symbol mapping variables in *constants*
|
2021-03-08 23:27:16 -05:00
|
|
|
@each $name, $symbol in constants.$api-symbols {
|
2021-03-08 23:02:24 -05:00
|
|
|
&.#{$name} {
|
2021-06-02 18:37:13 +02:00
|
|
|
background: map.get($symbol, background);
|
2021-03-08 23:02:24 -05:00
|
|
|
|
|
|
|
&:before {
|
2021-06-02 18:37:13 +02:00
|
|
|
content: map.get($symbol, content);
|
2021-03-08 23:02:24 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|