Skip to content

Commit

Permalink
add font family css variable support
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanKolnik committed Dec 27, 2023
1 parent 5eedb7b commit a64701f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/shared/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ export const spacing = {

export const typography = {
type: {
primary: '"Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif',
primary:
'var(--nunito-sans, "Nunito Sans"), "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif',
code: '"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace',
},
weight: {
Expand Down

0 comments on commit a64701f

Please sign in to comment.