font is local

This commit is contained in:
cv
2021-05-02 09:59:04 +02:00
parent f98e3bd424
commit a12f68b48d
9 changed files with 10 additions and 12 deletions
+3 -1
View File
@@ -8,12 +8,14 @@ import { BrowserRouter } from 'react-router-dom';
// 1. import Chakra components
import { ChakraProvider, extendTheme } from '@chakra-ui/react';
// 2. Extend the theme to include custom colors, fonts, etc
const colors = {
// not yet
};
// Load Open Sans typeface
require('typeface-open-sans');
const theme = extendTheme({ colors });
ReactDOM.render(