Skip to content

Inline Rename Color Change#45526

Merged
ryzngard merged 1 commit intodotnet:masterfrom
ryzngard:issue/inline_rename_contrast
Jun 29, 2020
Merged

Inline Rename Color Change#45526
ryzngard merged 1 commit intodotnet:masterfrom
ryzngard:issue/inline_rename_contrast

Conversation

@ryzngard
Copy link
Contributor

@ryzngard ryzngard commented Jun 29, 2020

Inline rename highlight color in Dark Theme only has a contrast ratio of 1.238:1, and the target is 1.5:1

Original Color: #A6F1A6
New Color: #D3F8D3

Contrast ratio is 1.485:1 with new color

Resolves: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1139737

@ryzngard ryzngard added Area-IDE Tenet-User Friendly Accessibility-related functionality is broken (e.g. high-DPI, key mnemonics, screen reader, etc.) labels Jun 29, 2020
@ryzngard ryzngard requested a review from AbhitejJohn June 29, 2020 19:16
@ryzngard ryzngard requested a review from a team as a code owner June 29, 2020 19:16
@ryzngard ryzngard requested a review from a team June 29, 2020 19:16
@ryzngard
Copy link
Contributor Author

Before

image

After

image

@CyrusNajmabadi
Copy link
Contributor

much nicer!

@ryzngard
Copy link
Contributor Author

Before

image

After

image

@sharwell
Copy link
Contributor

@ryzngard did you try this with light theme as well?

@ryzngard
Copy link
Contributor Author

@sharwell yes, much less of a problem for contrast. However, good call to include screenshots here for completeness:

Before

image

After

image

@ryzngard ryzngard merged commit b81b7c0 into dotnet:master Jun 29, 2020
@ghost ghost added this to the Next milestone Jun 29, 2020
333fred added a commit that referenced this pull request Jun 30, 2020
…e_168

* upstream/master: (102 commits)
  Change contrast ratio to get close to 1.5:1 (#45526)
  Revert "Move SymbolSearch down to EditorFeatures (#45505)"
  Delay accessibility checks to avoid cycles (#45441)
  Prevent trying to convert metadata references into circular project references
  Remove unnecessary Clone() (#45469)
  Align addition of a synthesized override of object.Equals(object? obj) in records with the latest design. (#45475)
  Move SymbolSearch down to EditorFeatures (#45505)
  VisitType in MethodToClassRewriter for function pointers.
  Fix up nondeterminism in serializing naming style preferences
  Update dependencies from https://github.com/dotnet/arcade build 20200626.2 (#45482)
  Fix typo
  Move to vnext
  Add constant inerpolated strings to the test plan, update status for records.
  Don't emit ldftn when the result is unused.
  PR Feedback: * Additional tests for nested function contexts. * Override VisitFunctionPointerLoad in MethodToClassRewriter. * Adjust debug asserts.
  Add records to compiler test plan (#45434)
  Expand comment in CreateRecoverableText
  Replace binary serialization of encoding with a custom serializer. (#45374)
  LangVersion 9 (#44911)
  Avoid loading document text in AbstractObjectBrowserLibraryManager.DocumentChangedAsync
  ...
@dibarbet dibarbet modified the milestones: Next, 16.7.P4 Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE Tenet-User Friendly Accessibility-related functionality is broken (e.g. high-DPI, key mnemonics, screen reader, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants