diff --git a/packages/apps/src/themes.ts b/packages/apps/src/themes.ts index d5cbe5cea7..0f39d261c9 100644 --- a/packages/apps/src/themes.ts +++ b/packages/apps/src/themes.ts @@ -20,8 +20,8 @@ export const darkTheme: ThemeDef = { colorError: 'rgba(255, 0, 0, 0.85)', colorLabel: 'rgba(244, 242, 240, 0.45)', colorSummary: 'rgba(244, 242, 240, 0.75)', - fontFamily: '"Nunito Sans", sans-serif', fontMono: 'monospace', + fontSans: '"Nunito Sans", sans-serif', theme: 'dark' }; @@ -42,7 +42,7 @@ export const lightTheme: ThemeDef = { colorError: 'rgba(139, 0, 0)', colorLabel: 'rgba(78, 78, 78, 0.66)', colorSummary: 'rgba(0, 0, 0, 0.6)', - fontFamily: '"Nunito Sans", sans-serif', fontMono: 'monospace', + fontSans: '"Nunito Sans", sans-serif', theme: 'light' }; diff --git a/packages/react-components/src/Table/Foot.tsx b/packages/react-components/src/Table/Foot.tsx index 4b38eda62a..5aaf7ceb7b 100644 --- a/packages/react-components/src/Table/Foot.tsx +++ b/packages/react-components/src/Table/Foot.tsx @@ -27,7 +27,7 @@ function Foot ({ className = '', footer, isEmpty }: Props): React.ReactElement
`
td {
color: rgba(${theme.theme === 'dark' ? '254, 240, 240' : '78, 78, 78'}, 0.66);
- font-family: ${theme.fontFamily};
+ font-family: ${theme.fontSans};
font-weight: 400;
padding: 0.75rem 1rem 0.25rem;
text-align: right;
diff --git a/packages/react-components/src/Table/Head.tsx b/packages/react-components/src/Table/Head.tsx
index 202310f486..645dfa0aaf 100644
--- a/packages/react-components/src/Table/Head.tsx
+++ b/packages/react-components/src/Table/Head.tsx
@@ -53,7 +53,7 @@ export default React.memo(styled(Head)(({ theme }: ThemeProps) => `
z-index: 1;
th {
- font-family: ${theme.fontFamily};
+ font-family: ${theme.fontSans};
font-weight: 400;
padding: 0.75rem 1rem 0.25rem;
text-align: right;
diff --git a/packages/react-components/src/styles/components.ts b/packages/react-components/src/styles/components.ts
index d346bd3cca..767cb79cab 100644
--- a/packages/react-components/src/styles/components.ts
+++ b/packages/react-components/src/styles/components.ts
@@ -50,9 +50,9 @@ export default css`
color: #2e86ab !important;
background: none !important;
}
-
+
button.ui--Button {
- font-family: ${({ theme }: ThemeProps) => theme.fontFamily};
+ font-family: ${({ theme }: ThemeProps) => theme.fontSans};
}
.editable {
diff --git a/packages/react-components/src/styles/index.ts b/packages/react-components/src/styles/index.ts
index d23a772662..df1487904d 100644
--- a/packages/react-components/src/styles/index.ts
+++ b/packages/react-components/src/styles/index.ts
@@ -215,7 +215,7 @@ export default createGlobalStyle