mirror of
https://github.com/idanoo/m2.nz
synced 2025-07-03 21:52:13 +00:00
Add theme
This commit is contained in:
parent
e11c3f7f7d
commit
7589ad1190
2580 changed files with 52545 additions and 4 deletions
20
themes/LoveIt/assets/css/_mixin/_link.scss
Normal file
20
themes/LoveIt/assets/css/_mixin/_link.scss
Normal file
|
@ -0,0 +1,20 @@
|
|||
@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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue