mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-02 04:56:57 +01:00
18 lines
438 B
SCSS
18 lines
438 B
SCSS
@mixin link($light, $dark) {
|
|
a {
|
|
color: if($light, $global-link-color, $single-link-color);
|
|
|
|
[theme=dark] & {
|
|
color: if($dark, $global-link-color-dark, $single-link-color-dark);
|
|
}
|
|
|
|
&:active,
|
|
&:hover {
|
|
color: if($light, $global-link-hover-color, $single-link-hover-color);
|
|
|
|
[theme=dark] & {
|
|
color: if($dark, $global-link-hover-color-dark, $single-link-hover-color-dark);
|
|
}
|
|
}
|
|
}
|
|
}
|