From da799b5a6309c1927f17bb3bbb223afe9ec34ece Mon Sep 17 00:00:00 2001 From: Ankush Deshmukh Date: Wed, 8 Nov 2023 17:34:09 +0530 Subject: [PATCH] Fix: Render bar chart axis labels in lighter color when dark theme applied (#2721) --- web/components/analytics/custom-analytics/graph/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/components/analytics/custom-analytics/graph/index.tsx b/web/components/analytics/custom-analytics/graph/index.tsx index 181eec8bd..5fc21a3ec 100644 --- a/web/components/analytics/custom-analytics/graph/index.tsx +++ b/web/components/analytics/custom-analytics/graph/index.tsx @@ -114,6 +114,7 @@ export const AnalyticsGraph: React.FC = ({ analytics, barGraphData, param y={datum.y} textAnchor="end" fontSize={10} + fill="rgb(var(--color-text-200))" className={`${barGraphData.data.length > 7 ? "-rotate-45" : ""}`} > {generateDisplayName(datum.value, analytics, params, "x_axis")}