1
0
mirror of https://github.com/spikecodes/libreddit synced 2025-01-07 00:08:08 +01:00

Clean up theme section of CSS.

This commit is contained in:
Matthew Crossman 2021-01-18 10:56:30 +11:00
parent 1d57e29d56
commit 6981d94417
No known key found for this signature in database
GPG Key ID: 218BF1ABB2AABA24

View File

@ -127,7 +127,7 @@ aside {
opacity: 0.5;
}
/* Color themes */
/* Define themes */
:root {
/* Light theme */
@ -151,8 +151,12 @@ aside {
--post-dark: #161616;
--highlighted-dark: #333;
--shadow-dark: 0 1px 3px rgba(0, 0, 0, 0.5);
}
/* Fallback to dark (default) */
/* Automatic theme selection */
:root{
/* Default & fallback theme (dark) */
--accent: var(--accent-dark);
--green: var(--green-dark);
--text: var(--text-dark);
@ -178,7 +182,7 @@ aside {
}
}
/* Override themes */
/* User-set theme overrides */
.light {
--accent: var(--accent-light);