From a64d4dbe71927a26d36e971555078e31f998426a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bosi?= <71827178+bosiraphael@users.noreply.github.com> Date: Mon, 3 Nov 2025 17:43:28 +0100 Subject: [PATCH] Various font styling fixes on chart (#15572) - Fix axis legends styling - Fix legends styling - Fix tooltip legends --------- Co-authored-by: ehconitin --- .../widgets/graph/components/GraphWidgetTooltip.tsx | 1 + .../graph/graphWidgetBarChart/hooks/useBarChartTheme.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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 fcf419ce0e..d578c41c06 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 df49df2d92..72c099bcdc 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, }, }, },