mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 00:58:36 +00:00
Use fonts in woff2 (#6012)
This commit is contained in:
parent
e5e0f97878
commit
beccf761a8
11 changed files with 2 additions and 10 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
packages/web/docs/src/fonts/PPNeueMontreal-Medium.woff2
Normal file
BIN
packages/web/docs/src/fonts/PPNeueMontreal-Medium.woff2
Normal file
Binary file not shown.
BIN
packages/web/docs/src/fonts/PPNeueMontreal-Regular.woff2
Normal file
BIN
packages/web/docs/src/fonts/PPNeueMontreal-Regular.woff2
Normal file
Binary file not shown.
|
|
@ -6,17 +6,9 @@ import '../components/navigation-menu/navbar-global-styles.css';
|
|||
import '../selection-styles.css';
|
||||
|
||||
const neueMontreal = localFont({
|
||||
// TODO: Swap to variable version.
|
||||
// TODO: We only use 400 and 500 weights, right?
|
||||
src: [
|
||||
{ path: '../fonts/NeueMontreal-Light.otf', weight: '300' },
|
||||
{ path: '../fonts/NeueMontreal-Light.otf', style: 'italic' },
|
||||
{ path: '../fonts/NeueMontreal-Regular.otf', weight: '400' },
|
||||
{ path: '../fonts/NeueMontreal-Italic.otf', weight: '400', style: 'italic' },
|
||||
{ path: '../fonts/NeueMontreal-Medium.otf', weight: '500' },
|
||||
{ path: '../fonts/NeueMontreal-MediumItalic.otf', weight: '500', style: 'italic' },
|
||||
{ path: '../fonts/NeueMontreal-Bold.otf', weight: '700' },
|
||||
{ path: '../fonts/NeueMontreal-BoldItalic.otf', weight: '700', style: 'italic' },
|
||||
{ path: '../fonts/PPNeueMontreal-Regular.woff2', weight: '400' },
|
||||
{ path: '../fonts/PPNeueMontreal-Medium.woff2', weight: '500' },
|
||||
],
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue