From d1b5b74060ec976b593b94e3380543d0a075943e Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Fri, 31 Dec 2021 17:28:08 +0000 Subject: [PATCH] make most modals white --- css/base.css | 11 +- html/admin.html | 22 +- html/setup.html | 2 +- main.go | 2 +- migrations.go | 4 +- scripts/admin.html | 655 ------------------------------------- scripts/admin2.html | 656 -------------------------------------- scripts/missing-colors.js | 3 +- 8 files changed, 27 insertions(+), 1328 deletions(-) delete mode 100644 scripts/admin.html delete mode 100644 scripts/admin2.html diff --git a/css/base.css b/css/base.css index 451be8d..65a3daf 100644 --- a/css/base.css +++ b/css/base.css @@ -15,7 +15,7 @@ --border-width-8: 8px; } -.light-theme { +.light { --settings-section-button-filter: 90%; } @@ -27,6 +27,15 @@ background: #202020; } +html:not(.dark) .card.\@low:not(.\~neutral):not(.\~positive):not(.\~urge):not(.\~warning):not(.\~info):not(.\~critical) { + --color-fill: va(--color-fill); + --color-content: var(--color-content); + --color-accent: var(--color-accent); + --color-muted: var(--color-muted); + background-color: #fff; + color: inherit; +} + .light-only { display: none; } diff --git a/html/admin.html b/html/admin.html index 38e8eb1..68b159c 100644 --- a/html/admin.html +++ b/html/admin.html @@ -43,7 +43,7 @@