From eae0e4d961016867627de2820a8d5c55049a0630 Mon Sep 17 00:00:00 2001 From: Eszter Szucs-Matyas Date: Wed, 29 May 2024 12:16:46 +0200 Subject: [PATCH] Sidebar submenu title to use theme colors iso always white Signed-off-by: Eszter Szucs-Matyas --- .changeset/popular-carrots-love.md | 5 +++++ .../core-components/src/layout/Sidebar/SidebarSubmenu.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/popular-carrots-love.md diff --git a/.changeset/popular-carrots-love.md b/.changeset/popular-carrots-love.md new file mode 100644 index 0000000000..22490e0b1a --- /dev/null +++ b/.changeset/popular-carrots-love.md @@ -0,0 +1,5 @@ +--- +'@backstage/core-components': patch +--- + +Fixed an issue causing `SidebarSubmenu` text to not follow the theme color diff --git a/packages/core-components/src/layout/Sidebar/SidebarSubmenu.tsx b/packages/core-components/src/layout/Sidebar/SidebarSubmenu.tsx index 6b6951d023..e05cc90fa9 100644 --- a/packages/core-components/src/layout/Sidebar/SidebarSubmenu.tsx +++ b/packages/core-components/src/layout/Sidebar/SidebarSubmenu.tsx @@ -80,7 +80,7 @@ const useStyles = makeStyles< title: { fontSize: theme.typography.h5.fontSize, fontWeight: theme.typography.fontWeightMedium, - color: theme.palette.common.white, + color: theme.palette.navigation.color, padding: theme.spacing(2.5), [theme.breakpoints.down('xs')]: { display: 'none',