summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorChristian Hodgden <chrhodgden@gmail.com>2024-05-20 08:54:51 -0500
committerChristian Hodgden <chrhodgden@gmail.com>2024-05-20 08:54:51 -0500
commitfea8c3009553bf75ece2dd11e7847f8ba851c2de (patch)
treeb28c038a894109e6504c83ad0ef56dc83664b794 /style.css
parent6237f1c654691ac3b9360d6ae470d2b0aa6db826 (diff)
light mode notedev
Diffstat (limited to 'style.css')
-rw-r--r--style.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/style.css b/style.css
index 8f69edd..4caeafb 100644
--- a/style.css
+++ b/style.css
@@ -18,6 +18,12 @@
--dialoguer-hue: 0;
--foreground-lightness: calc(10% + calc(var(--dark-theme-check) * 70%));
+ /* Consider adding a foreground accent lightness variable to resolve ugly-lightmode
+ - Perceived hue-saturation decreases as lightness diverges from 50%
+ - Target around 25% when --dark-theme-check is false
+ - --background-accent-color is not used, would be used in <th>
+ */
+ --foreground-accent-lightness: calc(10% + calc(var(--dark-theme-check) * 70%));
--background-lightness: calc(80% - calc(var(--dark-theme-check) * 70%));
--contrast-lightness: calc(30% + calc(var(--dark-theme-check) * 55%));
--foreground-theme-color: hsl(
@@ -156,4 +162,4 @@ img.self-portrait {
figure.project {
float: right;
-} \ No newline at end of file
+}