BlazorStart/Start/Client/Sass/Spectre/mixins/_shadow.scss
2021-12-08 21:59:43 -08:00

10 lines
242 B
SCSS

// Component focus shadow
@mixin control-shadow($color: $primary-color) {
box-shadow: 0 0 0 .1rem rgba($color, .2);
}
// Shadow mixin
@mixin shadow-variant($offset) {
box-shadow: 0 $offset ($offset + .05rem) * 2 rgba($dark-color, .3);
}