diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-07-25 18:08:05 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-07-25 18:08:05 +0800 |
commit | c37b6f0eeb4f45282437d2b57fe45ab0ecf223eb (patch) | |
tree | f35c3006bddeb0547eedbc6e55ce742a5ae33527 /packages/website/ts/components | |
parent | 854b8fad22437123c03245ce90245da08e9f12de (diff) | |
download | dexon-sol-tools-c37b6f0eeb4f45282437d2b57fe45ab0ecf223eb.tar dexon-sol-tools-c37b6f0eeb4f45282437d2b57fe45ab0ecf223eb.tar.gz dexon-sol-tools-c37b6f0eeb4f45282437d2b57fe45ab0ecf223eb.tar.bz2 dexon-sol-tools-c37b6f0eeb4f45282437d2b57fe45ab0ecf223eb.tar.lz dexon-sol-tools-c37b6f0eeb4f45282437d2b57fe45ab0ecf223eb.tar.xz dexon-sol-tools-c37b6f0eeb4f45282437d2b57fe45ab0ecf223eb.tar.zst dexon-sol-tools-c37b6f0eeb4f45282437d2b57fe45ab0ecf223eb.zip |
Update open positions section
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r-- | packages/website/ts/components/ui/text.tsx | 3 |
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', |