From 5d5347a4e64efb3205b298fa362f2d82f9a5fa78 Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Wed, 9 Jan 2019 14:47:53 +0100 Subject: [PATCH] Better button colors --- .../Notification/components/NotificationButton/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Notification/components/NotificationButton/index.js b/src/components/Notification/components/NotificationButton/index.js index aaa1d707..c83647b3 100644 --- a/src/components/Notification/components/NotificationButton/index.js +++ b/src/components/Notification/components/NotificationButton/index.js @@ -5,7 +5,7 @@ import styled from 'styled-components'; import PropTypes from 'prop-types'; import Icon from 'components/Icon'; import colors from 'config/colors'; -import { getPrimaryColor, getSecondaryColor } from 'utils/notification'; +import { getPrimaryColor } from 'utils/notification'; import Loader from 'components/Loader'; import { TRANSITION, FONT_SIZE, FONT_WEIGHT } from 'config/variables'; @@ -31,7 +31,8 @@ const LoaderContent = styled.div` justify-content: center; align-items: center; cursor: default; - background: ${props => getSecondaryColor(props.type)}; + color: ${colors.WHITE}; + background: ${props => getPrimaryColor(props.type)}; `; const Wrapper = styled.button`