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

@ -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;
}