From 90a739bbe78ab3cbd03c58e5e9d35e5961af0316 Mon Sep 17 00:00:00 2001 From: Sergey Bedritsky Date: Thu, 10 Jun 2021 13:21:17 +0300 Subject: [PATCH] fix: safari font size render (#401) --- src/defaultTheme/css/main.css | 2 +- src/defaultTheme/windi.config.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/defaultTheme/css/main.css b/src/defaultTheme/css/main.css index 83426b6f4..ac8ff1121 100644 --- a/src/defaultTheme/css/main.css +++ b/src/defaultTheme/css/main.css @@ -18,7 +18,7 @@ } body { - @apply antialiased tracking-semitight text-gray-900 bg-white dark:text-gray-50 dark:bg-gray-900; + @apply antialiased text-root tracking-semitight text-gray-900 bg-white dark:text-gray-50 dark:bg-gray-900; } .fade-enter-active, diff --git a/src/defaultTheme/windi.config.ts b/src/defaultTheme/windi.config.ts index b98a1930e..6f858ebf7 100644 --- a/src/defaultTheme/windi.config.ts +++ b/src/defaultTheme/windi.config.ts @@ -37,6 +37,7 @@ export default defineConfig({ }, extend: { fontSize: { + root: '16px', lg: ['1.125rem', '1.5rem'] // NOT WORKING }, fontFamily: {