Revert font changes (#3976)

This commit is contained in:
Jaco Greeff 2020-11-05 12:50:40 +01:00 committed by GitHub
parent 33d2b382f7
commit 50fd662f8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 6 deletions

View File

@ -21,7 +21,8 @@ export const darkTheme: ThemeDef = {
colorLabel: 'rgba(244, 242, 240, 0.45)',
colorSummary: 'rgba(244, 242, 240, 0.75)',
fontMono: 'monospace',
fontSans: '"Nunito Sans", sans-serif',
// fontSans: '"Nunito Sans", sans-serif',
fontSans: 'sans-serif',
theme: 'dark'
};
@ -43,6 +44,7 @@ export const lightTheme: ThemeDef = {
colorLabel: 'rgba(78, 78, 78, 0.66)',
colorSummary: 'rgba(0, 0, 0, 0.6)',
fontMono: 'monospace',
fontSans: '"Nunito Sans", sans-serif',
// fontSans: '"Nunito Sans", sans-serif',
fontSans: 'sans-serif',
theme: 'light'
};

View File

@ -222,7 +222,6 @@ export default React.memo(styled(AccountName)`
.sub,
.top {
vertical-align: middle;
line-height: normal;
}
.sub {

View File

@ -115,7 +115,7 @@ export default React.memo(styled(CardSummary)(({ theme }: ThemeProps) => `
> .ui--Labelled {
font-size: 1.75rem;
font-weight: 400;
font-weight: 100;
position: relative;
line-height: 1;
text-align: right;

View File

@ -333,7 +333,7 @@ export default createGlobalStyle<Props & ThemeProps>`
h1, h2, h3, h4, h5 {
color: ${({ theme }) => theme.colorSummary};
font-family: ${({ theme }) => theme.fontSans};
font-weight: 400;
font-weight: 100;
}
h1 {

View File

@ -81,7 +81,7 @@ export default React.memo(styled(FormatBalance)`
text-align: right;
> .ui--FormatBalance-postfix {
font-weight: 400;
font-weight: 100;
opacity: 0.7;
vertical-align: baseline;
}