From dc5837af57de22dc08e0b91a1def8929149c8ddc Mon Sep 17 00:00:00 2001 From: Danyelle Amarante <90638175+Danyelleac@users.noreply.github.com> Date: Thu, 18 Jan 2024 11:37:17 -0300 Subject: [PATCH] fix/textSize-fix value label text color Signed-off-by: Danyelle Amarante <90638175+Danyelleac@users.noreply.github.com> --- .changeset/itchy-dots-wonder.md | 5 +++++ catalog-info.yaml | 2 +- .../techdocs-module-addons-contrib/src/TextSize/TextSize.tsx | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/itchy-dots-wonder.md diff --git a/.changeset/itchy-dots-wonder.md b/.changeset/itchy-dots-wonder.md new file mode 100644 index 0000000000000..50ed279a0545e --- /dev/null +++ b/.changeset/itchy-dots-wonder.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-techdocs-module-addons-contrib': major +--- + +fix value label text color, as in the dark theme it is difficult to match diff --git a/catalog-info.yaml b/catalog-info.yaml index 4b5749345ec8a..6de6fd3426bb5 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -1,7 +1,7 @@ apiVersion: backstage.io/v1alpha1 kind: Component metadata: - name: backstage-fork + name: backstage description: | Backstage is an open-source developer portal that puts the developer experience first. links: diff --git a/plugins/techdocs-module-addons-contrib/src/TextSize/TextSize.tsx b/plugins/techdocs-module-addons-contrib/src/TextSize/TextSize.tsx index fc865c782684b..2c83e52c6eb62 100644 --- a/plugins/techdocs-module-addons-contrib/src/TextSize/TextSize.tsx +++ b/plugins/techdocs-module-addons-contrib/src/TextSize/TextSize.tsx @@ -70,7 +70,7 @@ const StyledSlider = withStyles(theme => ({ left: '50%', transform: 'scale(1) translate(-50%, -5px) !important', '& *': { - color: theme.palette.common.black, + color: theme.palette.textSubtle, fontSize: theme.typography.caption.fontSize, background: 'transparent', },