Skip to content

Commit

Permalink
Merge pull request #433 from storybookjs/add-font-family-css-variable…
Browse files Browse the repository at this point in the history
…-support

add font family css variable support
  • Loading branch information
JonathanKolnik committed Jan 2, 2024
2 parents 5eedb7b + a64701f commit d53c1ee
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 d53c1ee

Please sign in to comment.