feat: add open sans font and set font family in theme configuration (#3994)

Co-authored-by: Palash Gupta <palashgdev@gmail.com>
This commit is contained in:
Yunus M 2023-11-20 11:22:57 +05:30 committed by GitHub
parent 4083970289
commit 12029a6d90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View File

@ -3,6 +3,8 @@ import styled from 'styled-components';
export const Header = styled(Layout.Header)`
background: #1f1f1f !important;
padding-left: 16px;
padding-right: 16px;
`;
export const Container = styled.div`

View File

@ -74,6 +74,7 @@ export const useThemeConfig = (): ThemeConfig => {
borderRadiusLG: 2,
borderRadiusSM: 2,
borderRadiusXS: 2,
fontFamily: 'Open Sans',
},
};
};

View File

@ -61,6 +61,13 @@
rel="stylesheet"
href="https://unpkg.com/uplot@1.6.26/dist/uPlot.min.css"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>