From 85ecf997be4ad723413248ccf03d70c3840649a2 Mon Sep 17 00:00:00 2001 From: Laura <48948963+L-M-K-B@users.noreply.github.com> Date: Fri, 10 Jun 2022 16:01:28 +0200 Subject: [PATCH] Explore: Convert SASS styles of explore-active-button to emotion (#50061) * Chore: replace sass styling by emotion incl. new theme * Chore: remove sass styling * Chore: change colour * Chore: change colour * Chore: clean up Co-authored-by: Giordano Ricci Co-authored-by: Giordano Ricci --- public/app/features/explore/SecondaryActions.tsx | 9 +++++++-- public/sass/pages/_explore.scss | 6 ------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/public/app/features/explore/SecondaryActions.tsx b/public/app/features/explore/SecondaryActions.tsx index 97cf5f21bd4..84f610c2072 100644 --- a/public/app/features/explore/SecondaryActions.tsx +++ b/public/app/features/explore/SecondaryActions.tsx @@ -21,6 +21,11 @@ const getStyles = (theme: GrafanaTheme2) => { containerMargin: css` margin-top: ${theme.spacing(2)}; `, + exploreActiveButton: css` + box-shadow: ${theme.shadows.z1}; + border: 1px solid ${theme.colors.warning.border}; + color: ${theme.colors.warning.text}; + `, }; }; export function SecondaryActions(props: Props) { @@ -44,7 +49,7 @@ export function SecondaryActions(props: Props) {