parent
ae079f1aaf
commit
bf3ba3d583
@ -0,0 +1,28 @@
|
||||
import { Global } from '@mantine/core';
|
||||
import regular from './assets/Akrobat-Regular.woff2';
|
||||
import bold from './assets/Akrobat-Bold.woff2';
|
||||
|
||||
export function CustomFonts() {
|
||||
return (
|
||||
<Global
|
||||
styles={[
|
||||
{
|
||||
'@font-face': {
|
||||
fontFamily: 'Akrobat',
|
||||
src: `url('${bold}') format("woff2")`,
|
||||
fontWeight: 700,
|
||||
fontStyle: 'normal',
|
||||
},
|
||||
},
|
||||
{
|
||||
'@font-face': {
|
||||
fontFamily: 'Akrobat',
|
||||
src: `url('${regular}') format("woff2")`,
|
||||
fontWeight: 400,
|
||||
fontStyle: 'normal',
|
||||
},
|
||||
},
|
||||
]}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue