mirror of
https://github.com/trezor/trezor-wallet
synced 2025-07-08 15:48:12 +00:00
Better button colors
This commit is contained in:
parent
cbbcf1f4d1
commit
5d5347a4e6
@ -5,7 +5,7 @@ import styled from 'styled-components';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import Icon from 'components/Icon';
|
import Icon from 'components/Icon';
|
||||||
import colors from 'config/colors';
|
import colors from 'config/colors';
|
||||||
import { getPrimaryColor, getSecondaryColor } from 'utils/notification';
|
import { getPrimaryColor } from 'utils/notification';
|
||||||
import Loader from 'components/Loader';
|
import Loader from 'components/Loader';
|
||||||
import { TRANSITION, FONT_SIZE, FONT_WEIGHT } from 'config/variables';
|
import { TRANSITION, FONT_SIZE, FONT_WEIGHT } from 'config/variables';
|
||||||
|
|
||||||
@ -31,7 +31,8 @@ const LoaderContent = styled.div`
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
background: ${props => getSecondaryColor(props.type)};
|
color: ${colors.WHITE};
|
||||||
|
background: ${props => getPrimaryColor(props.type)};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Wrapper = styled.button`
|
const Wrapper = styled.button`
|
||||||
|
Loading…
Reference in New Issue
Block a user