aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/ui/button.tsx
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2018-06-14 04:34:54 +0800
committerGitHub <noreply@github.com>2018-06-14 04:34:54 +0800
commit0e354e5ea1f9951088331a310999bf87c8f8f4b3 (patch)
tree91e67da2ff5c7bfd85f31714eb09e34292eb4c66 /packages/website/ts/components/ui/button.tsx
parent4efd28c092e74b438d0397069c0c55cc90c537f2 (diff)
parentd172a97247f133a5340c5df263fe0f23019db956 (diff)
downloaddexon-sol-tools-0e354e5ea1f9951088331a310999bf87c8f8f4b3.tar.gz
dexon-sol-tools-0e354e5ea1f9951088331a310999bf87c8f8f4b3.tar.zst
dexon-sol-tools-0e354e5ea1f9951088331a310999bf87c8f8f4b3.zip
Merge pull request #685 from 0xProject/feature/website/jobs-page
Jobs page
Diffstat (limited to 'packages/website/ts/components/ui/button.tsx')
-rw-r--r--packages/website/ts/components/ui/button.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/website/ts/components/ui/button.tsx b/packages/website/ts/components/ui/button.tsx
index 4c7d59839..1f88297de 100644
--- a/packages/website/ts/components/ui/button.tsx
+++ b/packages/website/ts/components/ui/button.tsx
@@ -7,6 +7,7 @@ export interface ButtonProps {
className?: string;
fontSize?: string;
fontColor?: string;
+ fontFamily?: string;
backgroundColor?: string;
borderColor?: string;
width?: string;
@@ -28,7 +29,7 @@ export const Button = styled(PlainButton)`
border-radius: 6px;
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
font-weight: 500;
- font-family: 'Roboto';
+ font-family: ${props => props.fontFamily};
width: ${props => props.width};
background-color: ${props => props.backgroundColor};
border: ${props => (props.borderColor ? `1px solid ${props.borderColor}` : 'none')};
@@ -44,6 +45,7 @@ Button.defaultProps = {
fontSize: '12px',
backgroundColor: colors.white,
width: 'auto',
+ fontFamily: 'Roboto',
};
Button.displayName = 'Button';