Merge pull request #8298 from macripps/macripps/show-theme-title-in-card

Use `theme.title` instead of `theme.variant` in the theme switcher
This commit is contained in:
Patrik Oldsberg
2021-12-01 18:34:53 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-user-settings': patch
---
The theme switcher now renders the title of themes instead of their variant
@@ -131,7 +131,7 @@ export const UserSettingsThemeToggle = () => {
value={theme.id}
>
<>
{theme.variant}&nbsp;
{theme.title}&nbsp;
<ThemeIcon
id={theme.id}
icon={themeIcon}