Not preloading fonts
This commit is contained in:
parent
4cb0f2db10
commit
e4252aa6dc
8 changed files with 9 additions and 18 deletions
src/components/titles
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
import '@fontsource/work-sans/700.css'
|
||||
import '@fontsource/work-sans/500.css'
|
||||
import '@fontsource-variable/work-sans';
|
||||
|
||||
export interface Props {
|
||||
maintext: string
|
||||
subtext: string
|
||||
|
@ -69,11 +69,11 @@ const displayBackButton = returnbutton ? "": "display: none"
|
|||
}
|
||||
|
||||
.sub {
|
||||
margin-top: 0.5em;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 500;
|
||||
font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial,
|
||||
sans-serif;
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
.head {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue