Summary Files Commits Branches @commit @diff @stats
path: root / src / mixins / _shadow.scss
blob: 02ef8fb61bef96584f5ae0c70dc6f88e29b6e6ef (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);
}