aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/ui
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-07-25 18:08:05 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-25 18:08:05 +0800
commitc37b6f0eeb4f45282437d2b57fe45ab0ecf223eb (patch)
treef35c3006bddeb0547eedbc6e55ce742a5ae33527 /packages/website/ts/components/ui
parent854b8fad22437123c03245ce90245da08e9f12de (diff)
downloaddexon-0x-contracts-c37b6f0eeb4f45282437d2b57fe45ab0ecf223eb.tar.gz
dexon-0x-contracts-c37b6f0eeb4f45282437d2b57fe45ab0ecf223eb.tar.zst
dexon-0x-contracts-c37b6f0eeb4f45282437d2b57fe45ab0ecf223eb.zip
Update open positions section
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r--packages/website/ts/components/ui/text.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/components/ui/text.tsx b/packages/website/ts/components/ui/text.tsx
index 315f72854..b71d8225b 100644
--- a/packages/website/ts/components/ui/text.tsx
+++ b/packages/website/ts/components/ui/text.tsx
@@ -10,6 +10,7 @@ export interface TextProps {
Tag?: TextTag;
fontSize?: string;
fontFamily?: string;
+ fontStyle?: string;
fontColor?: string;
lineHeight?: string;
minHeight?: string;
@@ -28,6 +29,7 @@ const PlainText: React.StatelessComponent<TextProps> = ({ children, className, o
export const Text = styled(PlainText)`
font-family: ${props => props.fontFamily};
+ font-style: ${props => props.fontStyle};
font-weight: ${props => props.fontWeight};
font-size: ${props => props.fontSize};
text-decoration-line: ${props => props.textDecorationLine};
@@ -44,6 +46,7 @@ export const Text = styled(PlainText)`
Text.defaultProps = {
fontFamily: 'Roboto',
+ fontStyle: 'normal',
fontWeight: 400,
fontColor: colors.black,
fontSize: '15px',