From fea8c3009553bf75ece2dd11e7847f8ba851c2de Mon Sep 17 00:00:00 2001 From: Christian Hodgden Date: Mon, 20 May 2024 08:54:51 -0500 Subject: light mode note --- style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'style.css') 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 + */ + --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 +} -- cgit v1.2.3