Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Fix greyed out legend key contrast ratio",
"packageName": "@fluentui/react-charting",
"email": "kumarkshitij@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const getStyles = (props: ILegendStyleProps): ILegendsStyles => {
...fonts.small,
lineHeight: '16px',
color: theme?.semanticColors.bodyText,

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

opacity: props.colorOnSelectedState === palette.white ? '0.6' : '',
opacity: props.colorOnSelectedState === palette.white ? '0.67' : '',
},
hoverChange: {
width: '12px',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ exports[`Legends snapShot testing renders Legends correctly 1`] = `
font-size: 12px;
font-weight: 400;
line-height: 16px;
opacity: 0.6;
opacity: 0.67;
}
>
Legend 17
Expand Down Expand Up @@ -3171,7 +3171,7 @@ exports[`Legends snapShot testing renders allowFocusOnLegends correctly 1`] = `
font-size: 12px;
font-weight: 400;
line-height: 16px;
opacity: 0.6;
opacity: 0.67;
}
>
Legend 17
Expand Down Expand Up @@ -4764,7 +4764,7 @@ exports[`Legends snapShot testing renders canSelectMultipleLegends correctly 1`]
font-size: 12px;
font-weight: 400;
line-height: 16px;
opacity: 0.6;
opacity: 0.67;
}
>
Legend 17
Expand Down Expand Up @@ -6357,7 +6357,7 @@ exports[`Legends snapShot testing renders styles correctly 1`] = `
font-size: 12px;
font-weight: 400;
line-height: 16px;
opacity: 0.6;
opacity: 0.67;
}
>
Legend 17
Expand Down