summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}