1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 18:58:08 +00:00

Better button colors

This commit is contained in:
Vladimir Volek 2019-01-09 14:47:53 +01:00
parent cbbcf1f4d1
commit 5d5347a4e6

View File

@ -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`