BlazorStart/Start/Client/Sass/Spectre/mixins/_shadow.scss

10 lines
242 B
SCSS
Raw Normal View History

2021-12-09 05:59:43 +00:00
// 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);
}