mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-15 03:16:30 +01:00
6b03c711ac
* feat(shortcode): add link shortcode * docs: add docs for link shortcode * docs: fix 'mailto' in link shortcode docs error
18 lines
436 B
SCSS
18 lines
436 B
SCSS
@mixin link($light, $dark) {
|
|
a {
|
|
color: if($light, $global-link-color, $single-link-color);
|
|
|
|
.dark-theme & {
|
|
color: if($dark, $global-link-color-dark, $single-link-color-dark);
|
|
}
|
|
|
|
&:active,
|
|
&:hover {
|
|
color: if($light, $global-link-hover-color, $single-link-hover-color);
|
|
|
|
.dark-theme & {
|
|
color: if($dark, $global-link-hover-color-dark, $single-link-hover-color-dark);
|
|
}
|
|
}
|
|
}
|
|
}
|