Fancier hr, goatcounter analytics, simplify bg-color variable, add default value for the locale setting

This commit is contained in:
David Lapshin
2024-05-16 17:20:34 +03:00
parent bcabba7a64
commit a108cc7501
6 changed files with 35 additions and 14 deletions

View File

@ -1,6 +1,6 @@
:root {
// COLORS
--bg-color: var(--bg-color-l);
--bg-color: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), var(--primary-color);
--fg-color: rgba(0, 0, 0, 0.8);
--fg-muted-1: rgba(0, 0, 0, 0.05);
--fg-muted-2: rgba(0, 0, 0, 0.1);
@ -21,8 +21,6 @@
// VARIABLES
--active: 0.9;
--bg-color-d: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), var(--primary-color);
--bg-color-l: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), var(--primary-color);
--blur: saturate(180%) blur(10px);
--container-width: 720px;
--edge-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.1);
@ -39,7 +37,7 @@
@media (prefers-color-scheme: dark) {
// COLORS
--bg-color: var(--bg-color-d);
--bg-color: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), var(--primary-color);
--fg-color: rgb(255, 255, 255);
--fg-muted-1: rgba(255, 255, 255, 0.05);
--fg-muted-2: rgba(255, 255, 255, 0.1);