From 74dc3acb1ac2a3205aeb78ad62a20c8ea24408b0 Mon Sep 17 00:00:00 2001 From: Olivier Liechti Date: Wed, 1 Jun 2022 13:00:12 +0200 Subject: [PATCH] Fix typo in changeset Signed-off-by: Olivier Liechti --- .../EntityContextMenu/EntityContextMenu.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx b/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx index 9c16f80ee5..db50eeab84 100644 --- a/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx +++ b/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx @@ -31,16 +31,19 @@ import React, { useState } from 'react'; import { IconComponent } from '@backstage/core-plugin-api'; import { useEntityPermission } from '@backstage/plugin-catalog-react'; import { catalogEntityDeletePermission } from '@backstage/plugin-catalog-common'; +import { BackstageTheme } from '@backstage/theme'; /** @public */ export type EntityContextMenuClassKey = 'button'; const useStyles = makeStyles( - () => ({ - button: { - color: 'white', - }, - }), + (theme: BackstageTheme) => { + return { + button: { + color: theme.palette.bursts.fontColor, + }, + }; + }, { name: 'PluginCatalogEntityContextMenu' }, );