Skip to content

[BUG] [v1.1.0] VoiceInput uses --text-base as a color on 4 elements — resolves to 14px (font-size token), not a color #29503

@yandez-hon

Description

@yandez-hon

Project

ide

Description

VoiceInput.tsx applies color: var(--text-base) in four places: the computed style of the status/record button (line 70), the transcript display paragraph (line 335), the transcript textarea as its active color fallback (line 371), and the language selector item as an inactive color fallback (line 496). In the design token system, --text-base resolves to 14px — a font-size value, not a color. All four declarations produce invalid CSS that browsers silently discard, causing these elements to fall back to inherited colors rather than the intended theme values.

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

Image

Steps to Reproduce

Open Cortex IDE.
Open the Command Palette and select "Start Voice Input".
Inspect the record button, the transcript text area, and the language selector items via DevTools.
Note that color: var(--text-base) resolves to 14px — an invalid CSS color value the browser silently discards on all four elements.

Expected Behavior

All four usages should reference a valid color token such as var(--text-default) or var(--text-strong) so the affected elements render with the correct foreground color and adapt properly to the active theme.

Actual Behavior

color: var(--text-base) appears at lines 70, 335, 371, and 496 in VoiceInput.tsx. Since --text-base is 14px, all four CSS color declarations are invalid and silently ignored by the browser, leaving these elements with unintended inherited colors across all themes.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingideIssues related to IDEvalidValid issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions