From bae4a4735847202865f72caf970616297c9425cd Mon Sep 17 00:00:00 2001 From: Maxime Beauchamp Date: Wed, 13 Sep 2023 08:28:33 -0400 Subject: [PATCH] color theme graph watermark --- deploy-web/src/components/graph/Graph.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-web/src/components/graph/Graph.tsx b/deploy-web/src/components/graph/Graph.tsx index 2d149efd8..83dcea035 100644 --- a/deploy-web/src/components/graph/Graph.tsx +++ b/deploy-web/src/components/graph/Graph.tsx @@ -20,7 +20,7 @@ const useStyles = makeStyles()(theme => ({ fontWeight: "bold", letterSpacing: "1px", fontSize: "1rem", - color: "rgba(255,255,255,.2)" + color: theme.palette.mode === "dark" ? theme.palette.grey[800] : theme.palette.grey[400] } }, graphTooltip: {