5c4a26b65feb1266b7e77f8a667296dda6a3ec4d
Operators saw dark-on-dark (invisible) text in the workspace + "Cannot Finish Step" dialog in Odoo dark mode. Root cause: var(--text-secondary, #xxx) — a made-up variable that doesn't exist in Odoo, so it always fell back to the hardcoded dark hex (invisible on dark). Used 33× across job_workspace.scss + 5 component stylesheets. Replaced with the real dark-aware var(--bs-secondary-color). Also fixed paired backgrounds that would hide the now-theme-flipped text: - finish-block action note → var(--bs-tertiary-bg) (was #f3f4f6). - Tinted status banners (finish-block step, overtime timer, receiving status) → color-mix over var(--bs-body-bg) + var(--bs-body-color). Odoo's bootstrap lacks the BS5.3 -bg-subtle/-text-emphasis vars (verified against _root.scss), so color-mix is the dark-aware path. Solid accent pills/dots (white text) and the color-coded plant-card chips (light-bg + dark-text, readable in both) intentionally left as-is. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Description
Odoo 19 custom modules
Languages
Python
57.7%
HTML
23.9%
JavaScript
14.9%
SCSS
2.2%
CSS
0.8%
Other
0.4%