aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-13 09:42:56 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-13 09:42:56 +0800
commitc67632dff5d6f16f303c12f1595af1b813d1402c (patch)
treea95c537d7dea157f616d20726572ad68c1c42eeb
parent01b36b494996c641a3cb5bd3fd894624a8dad210 (diff)
downloaddexon-sol-tools-c67632dff5d6f16f303c12f1595af1b813d1402c.tar
dexon-sol-tools-c67632dff5d6f16f303c12f1595af1b813d1402c.tar.gz
dexon-sol-tools-c67632dff5d6f16f303c12f1595af1b813d1402c.tar.bz2
dexon-sol-tools-c67632dff5d6f16f303c12f1595af1b813d1402c.tar.lz
dexon-sol-tools-c67632dff5d6f16f303c12f1595af1b813d1402c.tar.xz
dexon-sol-tools-c67632dff5d6f16f303c12f1595af1b813d1402c.tar.zst
dexon-sol-tools-c67632dff5d6f16f303c12f1595af1b813d1402c.zip
feat: make all button fontsizes 16px by default
-rw-r--r--packages/instant/src/components/buy_button.tsx1
-rw-r--r--packages/instant/src/components/buy_order_state_buttons.tsx2
-rw-r--r--packages/instant/src/components/install_wallet_panel_content.tsx1
-rw-r--r--packages/instant/src/components/placing_order_button.tsx2
-rw-r--r--packages/instant/src/components/secondary_button.tsx2
-rw-r--r--packages/instant/src/components/ui/button.tsx2
6 files changed, 3 insertions, 7 deletions
diff --git a/packages/instant/src/components/buy_button.tsx b/packages/instant/src/components/buy_button.tsx
index c10e07b83..8b6121e43 100644
--- a/packages/instant/src/components/buy_button.tsx
+++ b/packages/instant/src/components/buy_button.tsx
@@ -43,7 +43,6 @@ export class BuyButton extends React.Component<BuyButtonProps> {
onClick={this._handleClick}
isDisabled={shouldDisableButton}
fontColor={ColorOption.white}
- fontSize="16px"
>
Buy
</Button>
diff --git a/packages/instant/src/components/buy_order_state_buttons.tsx b/packages/instant/src/components/buy_order_state_buttons.tsx
index 6041bf4f5..e563bec73 100644
--- a/packages/instant/src/components/buy_order_state_buttons.tsx
+++ b/packages/instant/src/components/buy_order_state_buttons.tsx
@@ -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}>
diff --git a/packages/instant/src/components/install_wallet_panel_content.tsx b/packages/instant/src/components/install_wallet_panel_content.tsx
index 7000e27f6..546874212 100644
--- a/packages/instant/src/components/install_wallet_panel_content.tsx
+++ b/packages/instant/src/components/install_wallet_panel_content.tsx
@@ -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}
>
diff --git a/packages/instant/src/components/placing_order_button.tsx b/packages/instant/src/components/placing_order_button.tsx
index 74d6b9fc4..2516b90b1 100644
--- a/packages/instant/src/components/placing_order_button.tsx
+++ b/packages/instant/src/components/placing_order_button.tsx
@@ -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>
diff --git a/packages/instant/src/components/secondary_button.tsx b/packages/instant/src/components/secondary_button.tsx
index df0539606..705390e28 100644
--- a/packages/instant/src/components/secondary_button.tsx
+++ b/packages/instant/src/components/secondary_button.tsx
@@ -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}
diff --git a/packages/instant/src/components/ui/button.tsx b/packages/instant/src/components/ui/button.tsx
index fbc5bcad4..9b8eaad69 100644
--- a/packages/instant/src/components/ui/button.tsx
+++ b/packages/instant/src/components/ui/button.tsx
@@ -81,7 +81,7 @@ Button.defaultProps = {
width: 'auto',
isDisabled: false,
padding: '.82em 1.2em',
- fontSize: '15px',
+ fontSize: '16px',
};
Button.displayName = 'Button';