mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 19:06:16 +01:00
3040ffa107
* object-fit polyfill * TypeIt 7.0.3 -> 6.5.1
20 lines
473 B
SCSS
20 lines
473 B
SCSS
@mixin link($light, $dark) {
|
|
a, a::before, a::after {
|
|
text-decoration: none;
|
|
|
|
color: if($light, $global-link-color, $single-link-color);
|
|
|
|
[theme=dark] & {
|
|
color: if($dark, $global-link-color-dark, $single-link-color-dark);
|
|
}
|
|
}
|
|
|
|
a:active,
|
|
a: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);
|
|
}
|
|
}
|
|
}
|