From 835050e055d14d0e1dc3418edbbc1727298e2b26 Mon Sep 17 00:00:00 2001 From: neo Date: Thu, 25 Jun 2026 20:52:49 +0500 Subject: [PATCH] Fix: descriptions max contrast (#000 on light, #fff on dark) --- index_ibm.html | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/index_ibm.html b/index_ibm.html index 59fd7ad..b807a98 100644 --- a/index_ibm.html +++ b/index_ibm.html @@ -437,9 +437,15 @@ h1 { .dash-big-value .accent { color: var(--accent); } .dash-big-value .count-up { display: inline-block; } .dash-big-desc { - font-size: 0.6875rem; color: var(--text); + font-size: 0.6875rem; font-weight: 600; margin-top: 4px; line-height: 1.4; - opacity: 0.85; + color: #000; +} +[data-theme="light"] .dash-big-desc { + color: #000; +} +[data-theme="dark"] .dash-big-desc { + color: #f0f0f2; } /* Mini cells row */ @@ -461,9 +467,15 @@ h1 { transition: color 0.4s var(--ease-out), transform 0.3s var(--ease-out); } .dash-mini-desc { - font-size: 0.6875rem; color: var(--text); + font-size: 0.6875rem; font-weight: 600; position: relative; z-index: 1; - opacity: 0.7; + color: #000; +} +[data-theme="light"] .dash-mini-desc { + color: #000; +} +[data-theme="dark"] .dash-mini-desc { + color: #f0f0f2; } .dash-mini-bar { height: 3px; border-radius: 2px;