Project
ide
Description
The coverage bar label in CoverageBars.tsx (line 200) sets its text color as color: var(--text-base). In the design token system, --text-base resolves to 14px — a font-size value, not a color. This makes color: 14px invalid CSS. The browser silently discards it and the coverage metric labels (Statements, Branches, Functions, Lines) fall back to an inherited color rather than the intended theme value, causing inconsistent rendering across themes.
Error Message
Debug Logs
System Information
Cortex IDE: v1.1.0
OS: Ubuntu 25.04
CPU: 13th Gen Intel Core i7-13650HX
RAM: 15 GB total
Screenshots
Steps to Reproduce
Open Cortex IDE.
Click Activity Bar → Testing.
Run tests with coverage enabled to populate the coverage bars.
Inspect any coverage bar label via DevTools.
Note that color: var(--text-base) resolves to 14px — an invalid CSS color value the browser silently discards.
Expected Behavior
The coverage bar label should use a valid color token such as var(--text-default) or var(--text-weak) so it renders with the correct foreground color and adapts to the active theme.
Actual Behavior
The at line 200 in CoverageBars.tsx applies color: var(--text-base), which resolves to 14px — an invalid CSS color. The browser discards the declaration and the coverage label inherits an unintended fallback color instead of the intended theme value.
Additional Context
No response
Project
ide
Description
The coverage bar label in CoverageBars.tsx (line 200) sets its text color as color: var(--text-base). In the design token system, --text-base resolves to 14px — a font-size value, not a color. This makes color: 14px invalid CSS. The browser silently discards it and the coverage metric labels (Statements, Branches, Functions, Lines) fall back to an inherited color rather than the intended theme value, causing inconsistent rendering across themes.
Error Message
Debug Logs
System Information
Screenshots
Steps to Reproduce
Open Cortex IDE.
Click Activity Bar → Testing.
Run tests with coverage enabled to populate the coverage bars.
Inspect any coverage bar label via DevTools.
Note that color: var(--text-base) resolves to 14px — an invalid CSS color value the browser silently discards.
Expected Behavior
The coverage bar label should use a valid color token such as var(--text-default) or var(--text-weak) so it renders with the correct foreground color and adapts to the active theme.
Actual Behavior
The at line 200 in CoverageBars.tsx applies color: var(--text-base), which resolves to 14px — an invalid CSS color. The browser discards the declaration and the coverage label inherits an unintended fallback color instead of the intended theme value.
Additional Context
No response