From f43643f43bf93e85b7cc5e66c13b28aae40cba9b Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 15 Sep 2019 14:53:27 -0700 Subject: [PATCH] fix: Image and horizontal highlight on selected --- app/components/Editor/Embed.js | 2 +- shared/styles/theme.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/Editor/Embed.js b/app/components/Editor/Embed.js index d4c227b9..2e4bb729 100644 --- a/app/components/Editor/Embed.js +++ b/app/components/Editor/Embed.js @@ -49,5 +49,5 @@ const Container = styled.div` border-radius: 3px; box-shadow: ${props => - props.isSelected ? `0 0 0 2px ${props.theme.primary}` : 'none'}; + props.isSelected ? `0 0 0 2px ${props.theme.selected}` : 'none'}; `; diff --git a/shared/styles/theme.js b/shared/styles/theme.js index ee22f0b1..7945586f 100644 --- a/shared/styles/theme.js +++ b/shared/styles/theme.js @@ -49,6 +49,7 @@ export const base = { backgroundTransition: 'background 100ms ease-in-out', zIndex: 100, + selected: colors.primary, buttonBackground: colors.primary, buttonText: colors.white, };