1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-24 15:04:27 +07:00

fix: add missing global font-family

This commit is contained in:
Griffithtp 2019-07-07 13:33:16 +01:00
parent 0e14146c77
commit c57f9dde35

View File

@ -3,6 +3,9 @@ import { fontSize, fontWeight } from './sizes';
import colors from './colors'; import colors from './colors';
import { breakpoints } from './media'; import { breakpoints } from './media';
const fontFamily = `-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"`;
export default injectGlobal` export default injectGlobal`
html, html,
body { body {
@ -10,6 +13,7 @@ export default injectGlobal`
} }
body { body {
font-family: ${fontFamily};
font-size: ${fontSize.base}; font-size: ${fontSize.base};
color: ${colors.eclipse}; color: ${colors.eclipse};
} }