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%));
}

View file

@ -18,7 +18,7 @@ body {
min-height: 100vh;
margin: 0;
padding: 0;
color: color(var(--color-base) l(+20%));
color: color-mod(var(--color-base) l(+20%));
font-family: var(--font-sans-serif);
font-size: 1.5rem;
line-height: 1.6em;
@ -122,7 +122,7 @@ ul:not([class]) li + li {
}
a:not([class]) {
color: color(var(--color-primary) l(-5%));
color: color-mod(var(--color-primary) l(-5%));
text-decoration-skip-ink: auto;
}