doc/themes/learn4/scss/spectre/mixins/_shadow.scss

10 lines
242 B
SCSS
Raw Normal View History

2020-11-14 11:24:49 +01: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);
}