Various font styling fixes on chart (#15572)
- Fix axis legends styling - Fix legends styling - Fix tooltip legends --------- Co-authored-by: ehconitin <nitinkoche03@gmail.com>
This commit is contained in:
+1
@@ -85,6 +85,7 @@ const StyledTooltipRowRightContent = styled.div`
|
||||
`;
|
||||
|
||||
const StyledTooltipLabel = styled.span`
|
||||
color: ${({ theme }) => theme.font.color.tertiary};
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
|
||||
+2
-2
@@ -17,9 +17,9 @@ export const useBarChartTheme = () => {
|
||||
},
|
||||
legend: {
|
||||
text: {
|
||||
fill: theme.font.color.light,
|
||||
fill: theme.font.color.secondary,
|
||||
fontSize: 12,
|
||||
fontWeight: theme.font.weight.medium,
|
||||
fontWeight: theme.font.weight.regular,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user