This repository was archived by the owner on Jan 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 160
Fix high contrast theme bugs #326
Merged
hawkticehurst
merged 19 commits into
microsoft:main
from
hawkticehurst:high-contrast-theme
Feb 3, 2022
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d32ce59
Adjust applyTheme util function logic to fix button theming bug when …
hawkticehurst 0ff00c2
Merge branch 'main' into high-contrast-theme
hawkticehurst 6b924ae
Merge branch 'main' into high-contrast-theme
hawkticehurst 34aeedc
Add prettier-ignore command which fixes a bug where base button focus…
hawkticehurst ddd0665
Fix comment typo
hawkticehurst 7c541ef
Format file
hawkticehurst 86aea49
Clean up setup webview test env script a bit
hawkticehurst 46f0888
Revamp apply theme utilities to handle high contrast theme styling ed…
hawkticehurst 15194d9
Switch out design tokens to address a themeing bug in the data grid r…
hawkticehurst a3894c4
Add todo comment
hawkticehurst 324cba8
Merge changes from main
hawkticehurst 636fc1f
Update data grid styles to include a hover outline in high contrast mode
hawkticehurst 9380aec
Update icon button styles to fix a high contrast theme bug
hawkticehurst d88ada0
Create a new design token to help with fixing the icon button high co…
hawkticehurst 7aa21ca
Update applyTheme and create token logic in order fix high contrast t…
hawkticehurst 7a6025f
Update dev comment in design tokens file
hawkticehurst c5d7e23
Update code comments
hawkticehurst 3cf3364
Update code comments
hawkticehurst d439a98
Fix test script sample extension install path
hawkticehurst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be an issue filed on /vscode? If it's a simple enough change I can add it to my list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't be against that! Would certainly simplify the toolkit theming code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The big request is that this token should either be set to transparent or null (not exist) in high contrast themes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise, its value seems to be
rgba(90, 93, 94, 0.31)across all themes?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I think about it, this could actually be a really nice opportunity to customize things a bit because I think this value ends up resulting in a slightly less than ideal contrast ratio in light themes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.