Skip to content

Commit

Permalink
Stop enabling lignatures with the optimizeLegibility prop in Core (
Browse files Browse the repository at this point in the history
…#4856)

* Stop enabling lignatures with the `optimizeLegibility` prop in `Core`

* Fix changeset
  • Loading branch information
emmatown authored Feb 16, 2021
1 parent b886837 commit 3ca5038
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/popular-roses-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystone-ui/core': patch
---

Stopped enabling lignatures with the `optimizeLegibility` prop in `Core`
2 changes: 0 additions & 2 deletions design-system/packages/core/src/components/Core.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,9 @@ const BaseCSS = ({ includeNormalize, optimizeLegibility }: BaseCSSProps) => {

// optimize legibility
...(optimizeLegibility && {
fontFeatureSettings: '"liga" 1', // Enable OpenType ligatures in IE
textRendering: 'optimizeLegibility',
WebkitFontSmoothing: 'antialiased',
MozOsxFontSmoothing: 'grayscale',
MozFontFeatureSettings: '"liga" on',
}),
},

Expand Down

1 comment on commit 3ca5038

@vercel
Copy link

@vercel vercel bot commented on 3ca5038 Feb 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.