From 3ca5038a021105a7452f4e7a4641107caa4ffe3a Mon Sep 17 00:00:00 2001 From: Mitchell Hamilton Date: Tue, 16 Feb 2021 11:44:07 +1000 Subject: [PATCH] Stop enabling lignatures with the `optimizeLegibility` prop in `Core` (#4856) * Stop enabling lignatures with the `optimizeLegibility` prop in `Core` * Fix changeset --- .changeset/popular-roses-hope.md | 5 +++++ design-system/packages/core/src/components/Core.tsx | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .changeset/popular-roses-hope.md diff --git a/.changeset/popular-roses-hope.md b/.changeset/popular-roses-hope.md new file mode 100644 index 00000000000..fa6d0ad4f71 --- /dev/null +++ b/.changeset/popular-roses-hope.md @@ -0,0 +1,5 @@ +--- +'@keystone-ui/core': patch +--- + +Stopped enabling lignatures with the `optimizeLegibility` prop in `Core` diff --git a/design-system/packages/core/src/components/Core.tsx b/design-system/packages/core/src/components/Core.tsx index 52171f728ae..b2f7e46af91 100644 --- a/design-system/packages/core/src/components/Core.tsx +++ b/design-system/packages/core/src/components/Core.tsx @@ -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', }), },