Move social icons over to root.css
This commit is contained in:
parent
294314ed6b
commit
ab8996b0c4
2 changed files with 10 additions and 10 deletions
|
@ -32,11 +32,6 @@
|
||||||
--tag-hover-background-color: #bbb;
|
--tag-hover-background-color: #bbb;
|
||||||
|
|
||||||
--separator-color: #888;
|
--separator-color: #888;
|
||||||
|
|
||||||
--twitter-icon: url(/icons/twitter.svg);
|
|
||||||
--github-icon: url(/icons/github.svg);
|
|
||||||
--instagram-icon: url(/icons/instagram.svg);
|
|
||||||
--rss-icon: url(/icons/rss.svg);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
@ -47,11 +42,6 @@
|
||||||
--tag-text-color: var(--light-dim);
|
--tag-text-color: var(--light-dim);
|
||||||
--tag-background-color: rgb(40, 40, 40);
|
--tag-background-color: rgb(40, 40, 40);
|
||||||
--tag-hover-background-color: rgb(73, 73, 73);
|
--tag-hover-background-color: rgb(73, 73, 73);
|
||||||
|
|
||||||
--twitter-icon: url(/icons/twitter-dark.svg);
|
|
||||||
--github-icon: url(/icons/github-dark.svg);
|
|
||||||
--instagram-icon: url(/icons/instagram-dark.svg);
|
|
||||||
--rss-icon: url(/icons/rss-dark.svg);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,11 +24,21 @@
|
||||||
--content-width: 80rem;
|
--content-width: 80rem;
|
||||||
|
|
||||||
--transition-duration: 0.7s;
|
--transition-duration: 0.7s;
|
||||||
|
|
||||||
|
--twitter-icon: url(/icons/twitter.svg);
|
||||||
|
--github-icon: url(/icons/github.svg);
|
||||||
|
--instagram-icon: url(/icons/instagram.svg);
|
||||||
|
--rss-icon: url(/icons/rss.svg);
|
||||||
}
|
}
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
:root {
|
:root {
|
||||||
--background-color: #000;
|
--background-color: #000;
|
||||||
--foreground-color: #fff;
|
--foreground-color: #fff;
|
||||||
|
|
||||||
|
--twitter-icon: url(/icons/twitter-dark.svg);
|
||||||
|
--github-icon: url(/icons/github-dark.svg);
|
||||||
|
--instagram-icon: url(/icons/instagram-dark.svg);
|
||||||
|
--rss-icon: url(/icons/rss-dark.svg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue