Skip to content

Commit

Permalink
Merge fontVariant defs (#5652)
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey authored Oct 8, 2024
1 parent 3da4f9b commit 2bb1f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alf/fonts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function applyFonts(
* Disable contextual ligatures
* {@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant}
*/
style.fontVariant = ['no-contextual']
style.fontVariant = (style.fontVariant || []).concat('no-contextual')
}

/*
Expand Down

0 comments on commit 2bb1f4a

Please sign in to comment.