Merge repos with workflow
This commit is contained in:
36
themes/LoveIt/assets/css/_mixin/_link.scss
Normal file
36
themes/LoveIt/assets/css/_mixin/_link.scss
Normal file
@@ -0,0 +1,36 @@
|
||||
@mixin link($light, $dark) {
|
||||
a, a::before, a::after {
|
||||
text-decoration: none;
|
||||
|
||||
@if $light {
|
||||
color: $global-link-color;
|
||||
} @else {
|
||||
color: $single-link-color;
|
||||
}
|
||||
|
||||
[theme=dark] & {
|
||||
@if $dark {
|
||||
color: $global-link-color-dark;
|
||||
} @else {
|
||||
color: $single-link-color-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
@if $light {
|
||||
color: $global-link-hover-color;
|
||||
} @else {
|
||||
color: $single-link-hover-color;
|
||||
}
|
||||
|
||||
[theme=dark] & {
|
||||
@if $dark {
|
||||
color: $global-link-hover-color-dark;
|
||||
} @else {
|
||||
color: $single-link-hover-color-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user