Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_shadow.scss « mixins « src - github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 79844491edfe80ed786d790c08cec4cb54389991 (plain)
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);
}