diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-06-13 06:58:24 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-06-13 06:58:24 +0800 |
commit | f1a98693d0c9b7855838b8c4aaaca243839614b4 (patch) | |
tree | b4655717b1b8a3d3d4812f0410a2951edf874746 /packages/website/ts | |
parent | 2794d64d3e920cd30ed0603becffc74b17c22218 (diff) | |
download | dexon-sol-tools-f1a98693d0c9b7855838b8c4aaaca243839614b4.tar dexon-sol-tools-f1a98693d0c9b7855838b8c4aaaca243839614b4.tar.gz dexon-sol-tools-f1a98693d0c9b7855838b8c4aaaca243839614b4.tar.bz2 dexon-sol-tools-f1a98693d0c9b7855838b8c4aaaca243839614b4.tar.lz dexon-sol-tools-f1a98693d0c9b7855838b8c4aaaca243839614b4.tar.xz dexon-sol-tools-f1a98693d0c9b7855838b8c4aaaca243839614b4.tar.zst dexon-sol-tools-f1a98693d0c9b7855838b8c4aaaca243839614b4.zip |
Use Text in Teams
Diffstat (limited to 'packages/website/ts')
-rw-r--r-- | packages/website/ts/pages/jobs/teams.tsx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/website/ts/pages/jobs/teams.tsx b/packages/website/ts/pages/jobs/teams.tsx index d5960949a..8112351db 100644 --- a/packages/website/ts/pages/jobs/teams.tsx +++ b/packages/website/ts/pages/jobs/teams.tsx @@ -1,8 +1,10 @@ import * as _ from 'lodash'; import * as React from 'react'; +import { Text } from 'ts/components/ui/text'; import { HeaderItem } from 'ts/pages/jobs/list/header_item'; import { ListItem } from 'ts/pages/jobs/list/list_item'; +import { colors } from 'ts/style/colors'; import { ScreenWidths } from 'ts/types'; const TEAM_ITEM_PROPS_COLUMN1: TeamItemProps[] = [ @@ -74,12 +76,14 @@ export const TeamItem: React.StatelessComponent<TeamItemProps> = ({ bulletColor, return ( <div style={{ minHeight: MINIMUM_ITEM_HEIGHT }}> <ListItem bulletColor={bulletColor}> - <div style={{ fontWeight: 'bold', fontSize: 16 }}>{title}</div> + <Text fontWeight="bold" fontSize="16px" fontColor={colors.black}> + {title} + </Text> </ListItem> <ListItem> - <div className="pt1" style={{ fontSize: 16, lineHeight: 2 }}> + <Text className="pt1" fontSize="16px" lineHeight="2em" fontColor={colors.black}> {description} - </div> + </Text> </ListItem> </div> ); |