feat: make all button fontsizes 16px by default

This commit is contained in:
fragosti 2018-11-12 17:42:56 -08:00
parent 01b36b4949
commit c67632dff5
6 changed files with 3 additions and 7 deletions

View File

@ -43,7 +43,6 @@ export class BuyButton extends React.Component<BuyButtonProps> {
onClick={this._handleClick}
isDisabled={shouldDisableButton}
fontColor={ColorOption.white}
fontSize="16px"
>
Buy
</Button>

View File

@ -35,7 +35,7 @@ export const BuyOrderStateButtons: React.StatelessComponent<BuyOrderStateButtonP
if (props.buyOrderProcessingState === OrderProcessState.Failure) {
return (
<Flex justify="space-between">
<Button width="48%" onClick={props.onRetry} fontColor={ColorOption.white} fontSize="16px">
<Button width="48%" onClick={props.onRetry} fontColor={ColorOption.white}>
Back
</Button>
<SecondaryButton width="48%" onClick={props.onViewTransaction}>

View File

@ -22,7 +22,6 @@ export const InstallWalletPanelContent: React.StatelessComponent<InstallWalletPa
<Button
href={META_MASK_CHROME_STORE_URL}
width="100%"
fontSize="16px"
fontColor={ColorOption.white}
backgroundColor={ColorOption.darkOrange}
>

View File

@ -7,7 +7,7 @@ import { Container } from './ui/container';
import { Spinner } from './ui/spinner';
export const PlacingOrderButton: React.StatelessComponent<{}> = props => (
<Button isDisabled={true} width="100%" fontColor={ColorOption.white} fontSize="16px">
<Button isDisabled={true} width="100%" fontColor={ColorOption.white}>
<Container display="inline-block" position="relative" top="3px" marginRight="8px">
<Spinner widthPx={16} heightPx={16} />
</Container>

View File

@ -15,8 +15,6 @@ export const SecondaryButton: React.StatelessComponent<SecondaryButtonProps> = p
borderColor={ColorOption.lightGrey}
width={props.width}
onClick={props.onClick}
fontColor={ColorOption.primaryColor}
fontSize="16px"
{...buttonProps}
>
{props.children}

View File

@ -81,7 +81,7 @@ Button.defaultProps = {
width: 'auto',
isDisabled: false,
padding: '.82em 1.2em',
fontSize: '15px',
fontSize: '16px',
};
Button.displayName = 'Button';