Upgrade to new color-mod function

This commit is contained in:
John O'Nolan 2020-06-21 23:46:29 +07:00
parent 9a8385cd75
commit af902d4bdb
12 changed files with 60 additions and 85 deletions

View file

@ -52,8 +52,8 @@
.gh-button:hover {
text-decoration: none;
color: color(var(--color-primary) l(-15%)) !important;
box-shadow: inset 0 0 0 2px color(var(--color-primary) l(-10%));
color: color-mod(var(--color-primary) l(-15%)) !important;
box-shadow: inset 0 0 0 2px color-mod(var(--color-primary) l(-10%));
transition: 0.2s ease;
}
@ -64,5 +64,5 @@
}
.gh-button.gh-button-primary:hover {
background-color: color(var(--color-primary) l(-10%));
background-color: color-mod(var(--color-primary) l(-10%));
}