Skip to content

Fix greyed out legend key contrast ratio#24714

Merged
AtishayMsft merged 2 commits intomicrosoft:masterfrom
krkshitij:bug-legend-contrast-ratio
Sep 8, 2022
Merged

Fix greyed out legend key contrast ratio#24714
AtishayMsft merged 2 commits intomicrosoft:masterfrom
krkshitij:bug-legend-contrast-ratio

Conversation

@krkshitij
Copy link
Contributor

@krkshitij krkshitij commented Sep 8, 2022

Current Behavior

Greyed out legend keys text don't match expected contrast ratio of 4.5

Before

New Behavior

Greyed out legend keys text now have a contrast ratio of 4.6

After

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 8, 2022

📊 Bundle size report

🤖 This report was generated against e4d50f2c501c4a8be23b24373242f650a601fdaf

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 8, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit c21725d:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@size-auditor
Copy link

size-auditor bot commented Sep 8, 2022

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: e4d50f2c501c4a8be23b24373242f650a601fdaf (build)

@@ -81,7 +81,7 @@ export const getStyles = (props: ILegendStyleProps): ILegendsStyles => {
...fonts.small,
lineHeight: '16px',
color: theme?.semanticColors.bodyText,
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a change file as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@krkshitij krkshitij marked this pull request as ready for review September 8, 2022 11:48
@krkshitij krkshitij requested a review from a team as a code owner September 8, 2022 11:48
@AtishayMsft AtishayMsft requested review from AtishayMsft and removed request for AtishayMsft September 8, 2022 12:29
@AtishayMsft AtishayMsft merged commit a67fc63 into microsoft:master Sep 8, 2022
@krkshitij krkshitij deleted the bug-legend-contrast-ratio branch September 9, 2022 07:23
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Sep 9, 2022
* master: (63 commits)
  feat: add helper types to assist DOM element handling (microsoft#24722)
  applying package updates
  Textarea/hc bug (microsoft#24701)
  Fix null ref in use slider (microsoft#24728)
  Add Field unit tests, and remove snapshot tests (microsoft#24706)
  Stress Test: add build commands (microsoft#24575)
  Coachmark - useOffsetHeight should cause re-render on each set state to match v7 functionality (microsoft#24702)
  Implement screener tests for Field components (microsoft#24684)
  Update Field types to clean up react-field.api.md (microsoft#24703)
  fix(Popup): remove rotate(360deg) from PopupContent content styles (microsoft#24432)
  fix(FocusZone): should reset tabindex when focus is outside the zone with prop `shouldResetActiveElementWhenTabFromZone` (microsoft#24463)
  Fix greyed out legend key contrast ratio (microsoft#24714)
  fix: Portal compat should apply `focus-visible` ponyfill (microsoft#24712)
  Fix artifact error (microsoft#24717)
  chore(react-dialog): remove localShorthands in favor of griffel shorthands (microsoft#24715)
  Skip screener checks for draft PRs with exception of appropriately la… (microsoft#24694)
  fix: Remove provider classname from focus styles (microsoft#24710)
  feat: autocontrolled `useTable` hook (microsoft#24688)
  feat: add dialog properties to getNativeElementProps (microsoft#24698)
  Using migrate rather than upgrade term (microsoft#24695)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants