Skip to content

Commit

Permalink
fix: color of text/new refresh name/font-family
Browse files Browse the repository at this point in the history
  • Loading branch information
SPageot committed Jan 6, 2022
1 parent f2c7855 commit b4746f6
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 25 deletions.
10 changes: 6 additions & 4 deletions src/components/blocks/Alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const AlertTitle = styled('div')`
`;

const AlertBody = styled('div')`
font-family: ${props => props.theme.typography.primary.light};
font-family: ${props => props.theme.typography.primary.regular};;
font-weight: normal;
font-size: 0.875rem;
line-height: 1.3125rem;
Expand Down Expand Up @@ -143,12 +143,14 @@ const AlertMessageContainer = styled('div')`

const RefreshLinkContainer = styled('a')`
cursor: pointer;
width: 7.5rem;
width: 9rem;
font-size: 0.9rem;
font-family: ${props => props.theme.typography.primary.regular};
text-decoration: underline;
align-self: flex-end;
margin-right: 2.5rem;
margin-bottom: 0.625rem;
margin-bottom: 0.525rem;
color: blue;
`;

const Alert = withTheme(
Expand Down Expand Up @@ -257,7 +259,7 @@ const Alert = withTheme(
</AlertMessageContainer>
{alertRefresh && (
<RefreshLinkContainer onClick={onRefresh}>
<FormattedMessage id="refresh-page" />
<FormattedMessage id="click-to-refresh" />
</RefreshLinkContainer>
)}
{closeText && !closeable && (
Expand Down
24 changes: 6 additions & 18 deletions src/components/blocks/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,21 +201,9 @@ const DataTable = withTheme(({ headings, data, actions }) => {
}}
selectedTheme={appStore.theme}>
<StyledElipseContainer>
<EllipseIcon
fill="#1890FF"
height={'5'}
width={'5'}
/>
<EllipseIcon
fill="#1890FF"
height={'5'}
width={'5'}
/>
<EllipseIcon
fill="#1890FF"
height={'5'}
width={'5'}
/>
<EllipseIcon height={'5'} width={'5'} />
<EllipseIcon height={'5'} width={'5'} />
<EllipseIcon height={'5'} width={'5'} />
</StyledElipseContainer>
</Td>
)}
Expand All @@ -228,9 +216,9 @@ const DataTable = withTheme(({ headings, data, actions }) => {
}}
selectedTheme={appStore.theme}>
<StyledElipseContainer>
<EllipseIcon fill="#1890FF" height="5" width="5" />
<EllipseIcon fill="#1890FF" height="5" width="5" />
<EllipseIcon fill="#1890FF" height="5" width="5" />
<EllipseIcon height="5" width="5" />
<EllipseIcon height="5" width="5" />
<EllipseIcon height="5" width="5" />
</StyledElipseContainer>
</Td>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/translations/tokens/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"block-height": "Block Height",
"created-at": "Created At",
"notified-at": "Notified At",
"refresh-page": "Refresh Page",
"click-to-refresh": "Click to Refresh",
"no-projects-created": "It looks like you haven't created any projects yet.",
"no-units-created": "It looks like you haven't created any units yet.",
"create-one-now": "Create one now.",
Expand Down
2 changes: 1 addition & 1 deletion src/translations/tokens/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"block-height": "Altura del bloque",
"created-at": "Creado en",
"notified-at": "Notificado en",
"refresh-page": "actualizar página",
"click-to-refresh": "Haga clic para actualizar",
"no-projects-created": "Parece que aún no has creado ningún proyecto.",
"no-units-created": "Parece que aún no has creado ninguna unidad",
"create-one-now": "Crear una ahora.",
Expand Down
2 changes: 1 addition & 1 deletion src/translations/tokens/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"block-height": "ブロックの高さ",
"created-at": "作成場所",
"notified-at": "で通知",
"refresh-page": "ページの更新",
"click-to-refresh": "クリックして更新",
"no-projects-created": "まだプロジェクトを作成していないようです。",
"no-units-created": "まだユニットを作成していないようです。",
"create-one-now": "今すぐ作成してください。",
Expand Down

0 comments on commit b4746f6

Please sign in to comment.