-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
feat(react-charting): Heatmap text color based on Contrast Ratio #33659
base: master
Are you sure you want to change the base?
Conversation
🕵 fluentui-web-components-v3 No visual regressions between this PR and main |
📊 Bundle size reportUnchanged fixtures
|
@@ -0,0 +1,7 @@ | |||
{ |
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.
🕵🏾♀️ visual regressions to review in the fluentuiv8 Visual Regression Report
react-charting-AreaChart 4 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
react-charting-AreaChart.Basic Dark Mode.chromium.png | 794 | Changed |
react-charting-AreaChart.Basic.chromium.png | 794 | Changed |
react-charting-AreaChart.Basic RTL.chromium.png | 789 | Changed |
react-charting-AreaChart.Custom Accessibility.chromium.png | 11 | Changed |
react-charting-DonutChart 3 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
react-charting-DonutChart.Basic Dark Mode.chromium.png | 582 | Changed |
react-charting-DonutChart.Basic RTL.chromium.png | 583 | Changed |
react-charting-DonutChart.Basic.chromium.png | 582 | Changed |
react-charting-HeatMapChart 3 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
react-charting-HeatMapChart.Basic RTL.chromium.png | 1234 | Changed |
react-charting-HeatMapChart.Basic Dark Mode.chromium.png | 1238 | Changed |
react-charting-HeatMapChart.Basic.chromium.png | 1238 | Changed |
react-charting-HorizontalBarChart 6 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
react-charting-HorizontalBarChart.Basic RTL.chromium.png | 859 | Changed |
react-charting-HorizontalBarChart.With Axis Dark Mode.chromium.png | 790 | Changed |
react-charting-HorizontalBarChart.Basic.chromium.png | 854 | Changed |
react-charting-HorizontalBarChart.Basic Dark Mode.chromium.png | 854 | Changed |
react-charting-HorizontalBarChart.With Axis RTL.chromium.png | 784 | Changed |
react-charting-HorizontalBarChart.With_Axis.chromium.png | 790 | Changed |
react-charting-PieChart 3 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
react-charting-PieChart.Basic Dark Mode.chromium.png | 422 | Changed |
react-charting-PieChart.Basic RTL.chromium.png | 419 | Changed |
react-charting-PieChart.Basic.chromium.png | 422 | Changed |
react-charting-VerticalBarChart 6 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
react-charting-VerticalBarChart.Basic - Secondary Y Axis.chromium.png | 790 | Changed |
react-charting-VerticalBarChart.Basic Secondary Y Axis RTL.chromium.png | 784 | Changed |
react-charting-VerticalBarChart.Basic Secondary Y Axis Dark Mode.chromium.png | 790 | Changed |
react-charting-VerticalBarChart.Stacked Dark Mode.chromium.png | 790 | Changed |
react-charting-VerticalBarChart.Stacked.chromium.png | 790 | Changed |
react-charting-VerticalBarChart.Stacked RTL.chromium.png | 784 | Changed |
🕵 FluentUIV0 No visual regressions between this PR and main |
@@ -0,0 +1,7 @@ | |||
{ |
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.
🕵🏾♀️ visual regressions to review in the fluentuiv9 Visual Regression Report
Avatar Converged 2 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
Avatar Converged.badgeMask.chromium.png | 48 | Changed |
Avatar Converged.Badge Mask RTL.chromium.png | 5 | Changed |
Pull request demo site: URL |
Lets start following this naming convention for the PR title. https://www.conventionalcommits.org/en/v1.0.0-beta.2/ |
g: rgbLrgb1(g / 255), | ||
b: rgbLrgb1(b / 255), | ||
}; | ||
}; |
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.
Can you create a doc on how these numbers were derived?
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 referred this https://observablehq.com/@mbostock/wcag-contrast-ratio
New Behavior
Related Issue(s)