Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Badly-formed hcDark default color for editorBracketHighlight.unexpectedBracket.foreground #237235

Closed
andrewsuzuki opened this issue Jan 3, 2025 · 1 comment · Fixed by #237236
Assignees
Labels
unreleased Patch has not yet been released in VS Code Insiders
Milestone

Comments

@andrewsuzuki
Copy link
Contributor

Default value for hcDark in editorBracketHighlight.unexpectedBracket.foreground should be new Color(/* */), but it was accidentally wrapped in a string like 'new Color(/* */)'.

export const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: new Color(new RGBA(255, 18, 18, 0.8)), light: new Color(new RGBA(255, 18, 18, 0.8)), hcDark: 'new Color(new RGBA(255, 50, 50, 1))', hcLight: '#B5200D' }, nls.localize('editorBracketHighlightUnexpectedBracketForeground', 'Foreground color of unexpected brackets.'));

@aeschli
Copy link
Contributor

aeschli commented Jan 7, 2025

Good catch, thanks!

@vs-code-engineering vs-code-engineering bot added the unreleased Patch has not yet been released in VS Code Insiders label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unreleased Patch has not yet been released in VS Code Insiders
Projects
None yet
2 participants