From c29839b90db7fa1955d2226ea94519d3c6751841 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Wed, 20 May 2020 18:42:47 +0300 Subject: [PATCH] Fix ActionButton styles in Grafana 7 --- src/components/ActionButton/ActionButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ActionButton/ActionButton.tsx b/src/components/ActionButton/ActionButton.tsx index d83fbe0..40fa697 100644 --- a/src/components/ActionButton/ActionButton.tsx +++ b/src/components/ActionButton/ActionButton.tsx @@ -50,7 +50,7 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => { height: 2rem; background-image: none; background-color: ${actionBlue}; - border: 1px solid ${theme.colors.gray1}; + border: 1px solid ${theme.colors.gray1 || (theme as any).palette.gray1}; border-radius: 1px; color: ${theme.colors.text};