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:
Raphaël Bosi
2025-11-03 17:43:28 +01:00
committed by GitHub
parent 6675931100
commit a64d4dbe71
2 changed files with 3 additions and 2 deletions
@@ -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;
@@ -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,
},
},
},