18 lines
328 B
SCSS
18 lines
328 B
SCSS
|
// Mixin to easily color standard and hover states
|
||
|
@mixin colorHover($standard, $hover) {
|
||
|
color: $standard;
|
||
|
|
||
|
&:hover {
|
||
|
color: $hover;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// The same as colorHover but for the background-color
|
||
|
@mixin backgroundHover($standard, $hover) {
|
||
|
background-color: $standard;
|
||
|
|
||
|
&:hover {
|
||
|
background-color: $hover;
|
||
|
}
|
||
|
}
|