Compare commits
2 Commits
980ffad386
...
0a3b787cb6
| Author | SHA1 | Date | |
|---|---|---|---|
|
0a3b787cb6
|
|||
|
bb6d68a997
|
2
base.css
2
base.css
@@ -1,7 +1,7 @@
|
|||||||
@import url("https://styles.alv.cx/modules/colors/gruvbox.css");
|
@import url("https://styles.alv.cx/modules/colors/gruvbox.css");
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--light: var(--gruvbox-fg);
|
--light: #fefefe;
|
||||||
--dark: var(--gruvbox-bg);
|
--dark: var(--gruvbox-bg);
|
||||||
|
|
||||||
--fg: var(--dark);
|
--fg: var(--dark);
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
:root {
|
:root {
|
||||||
|
--light: var(--gruvbox-fg);
|
||||||
--fg: var(--light);
|
--fg: var(--light);
|
||||||
--bg: var(--dark);
|
--bg: var(--dark);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,3 +10,7 @@ to style a site, put this in a css file somewhere:
|
|||||||
and any of the optional modules you want.
|
and any of the optional modules you want.
|
||||||
a list of actively hosted modules can be seen in this repo in the modules folder and at
|
a list of actively hosted modules can be seen in this repo in the modules folder and at
|
||||||
https://styles.alv.cx/modules/
|
https://styles.alv.cx/modules/
|
||||||
|
|
||||||
|
there are some variables you may want to use to keep your site's styling consistent and you can
|
||||||
|
view them in the `:root` section of `base.css` and any module you use.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user