Kristiyan Kostadinov 3d1c905c91 refactor(docs-infra): clean up AIO Sass files (#42442)
Cleans up AIO's Sass files by:
* Switching them all over to the `@use`-based API from Angular Material.
* Removing the import of the Material theming API in a bunch of places that weren't using it.
* Migrating the new usages of Sass utility functions to the new syntax (e.g. `map.get` vs `map-get`).
* Fixing a few files that were using 4 spaces for indentation instead of 2.

PR Close #42442
2021-06-02 13:25:42 -07:00

22 lines
448 B
SCSS

@use 'sass:map';
@use '../../constants';
@mixin theme($theme) {
.symbol {
box-shadow: 0 1px 2px rgba(constants.$black, 0.24);
color: constants.$white;
// SYMBOL TYPES
// Symbol mapping variables in *constants*
@each $name, $symbol in constants.$api-symbols {
&.#{$name} {
background: map.get($symbol, background);
&:before {
content: map.get($symbol, content);
}
}
}
}
}