Summary Files Commits Branches @commit @diff @stats
path: root / src / mixins / _shadow.scss
blob: 79844491edfe80ed786d790c08cec4cb54389991 (plain) (blame)
1
2
3
4
5
6
7
8
9
// 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);
}