updated palette-classes ending in .*-light to switch the rgb values of their tooltip background-color attrs from black to white (better accessibility); changed 'monochrome-light' & its cognates to 'oblivion-light', since it's hardly monochrome at all anymore
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Disco DeDisco
2026-03-21 23:57:05 -04:00
parent 3b905e0436
commit ffb374c81c
4 changed files with 31 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
width: 16rem;
max-width: 16rem;
white-space: normal;
background-color: rgba(0, 0, 0, 0.5);
background-color: rgba(var(--tooltip-bg), 0.5);
backdrop-filter: blur(6px);
border: 0.1rem solid rgba(var(--secUser), 0.5);
color: rgba(var(--secUser), 1);

View File

@@ -219,6 +219,9 @@
// iron (meteoric)
/* Component tokens */
--tooltip-bg: 0, 0, 0;
/* Inferno Palette (4 per) */
// mist (Elpis's Lethe)
--priMst: 168, 202, 172;
@@ -394,7 +397,7 @@
--decUser: var(--terAg); /* 100,100,100 — mid tone */
}
/* Monochrome Light Palette */
.palette-monochrome-light {
.palette-oblivion-light {
--priUser: var(--sixAdm); /* 240,240,240 — light gray bg */
--secUser: var(--terPer); /* 100,100,100 — mid-dark text/border */
--terUser: var(--priPer); /* 60,60,60 — dark accent */
@@ -420,6 +423,11 @@
--decUser: var(--secKhk); /* 145,126,95 — warm mid-tone */
}
/* Light palette overrides */
body[class*="-light"] {
--tooltip-bg: 255, 255, 255;
}
/* Palette Classes */
.priUser {
color: rgba(var(--priUser), 1);