Skip to content

Update high contrast styles for buttons and inputs#3343

Merged
alexr00 merged 2 commits intomainfrom
ddossett/fix-hc-backgrounds
Apr 1, 2022
Merged

Update high contrast styles for buttons and inputs#3343
alexr00 merged 2 commits intomainfrom
ddossett/fix-hc-backgrounds

Conversation

@daviddossett
Copy link
Contributor

Fixes #3342

Updates button and input rules of high contrast themes to include the correct background colors for buttons and inputs.

CleanShot 2022-02-23 at 14 47 20@2x

CleanShot 2022-02-23 at 14 47 26@2x

CleanShot 2022-02-23 at 14 49 55@2x

No visible difference to the original dark HC theme:

CleanShot 2022-02-23 at 14 47 36@2x

CleanShot 2022-02-23 at 14 47 38@2x

CleanShot 2022-02-23 at 14 50 01@2x

@daviddossett
Copy link
Contributor Author

@alexr00 following up from the other issue—let me know if there were any questions here 🙏

.vscode-high-contrast input {
outline: none;
background: none !important;
background: var(--vscode-input.background);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be --vscode-input-background instead of --vscode-input.background?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Fixed.

@alexr00
Copy link
Member

alexr00 commented Mar 31, 2022

Looks like I forgot to submit my original review, which contained my question 🤦‍♀️

Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR!

@alexr00 alexr00 added this to the April 2022 milestone Apr 1, 2022
@alexr00 alexr00 merged commit 74c019d into main Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invisible Button/Input Text in High Contrast Themes

2 participants