Fix: descriptions max contrast (#000 on light, #fff on dark)
This commit is contained in:
1 parent
63fe7a1886
commit
835050e055
1 file changed
+16
-4
+16
-4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user