Skip to content

The open alternative to Salesforce, designed for AI.

Various font styling fixes on chart (#15572)

Raphaël Bosia64d4dbe7192
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetTooltip.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetTooltip.tsx
index fcf419ce0e3..d578c41c066 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetTooltip.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetTooltip.tsx
@@ -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;
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetBarChart/hooks/useBarChartTheme.ts b/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetBarChart/hooks/useBarChartTheme.ts
index df49df2d922..72c099bcdcf 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetBarChart/hooks/useBarChartTheme.ts
+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetBarChart/hooks/useBarChartTheme.ts
@@ -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,
},
},
},