mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 00:11:07 +03:30
13 lines
233 B
SCSS
Vendored
13 lines
233 B
SCSS
Vendored
// Contextual backgrounds
|
|
|
|
// [converter] $parent hack
|
|
@mixin bg-variant($parent, $color) {
|
|
#{$parent} {
|
|
background-color: $color;
|
|
}
|
|
a#{$parent}:hover,
|
|
a#{$parent}:focus {
|
|
background-color: darken($color, 10%);
|
|
}
|
|
}
|