From 7e1dee8d1634c93c29945ac4523ca2f2d752e097 Mon Sep 17 00:00:00 2001 From: gbuomprisco Date: Tue, 14 Jan 2025 17:37:57 +0700 Subject: [PATCH] Include fonts.ts in Tailwind configuration --- apps/web/lib/fonts.ts | 2 +- apps/web/tailwind.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/lib/fonts.ts b/apps/web/lib/fonts.ts index 874c84ca2..df6aefd10 100644 --- a/apps/web/lib/fonts.ts +++ b/apps/web/lib/fonts.ts @@ -25,7 +25,7 @@ const heading = sans; export { sans, heading }; /** - * @name getClassName + * @name getFontsClassName * @description Get the class name for the root layout. * @param theme */ diff --git a/apps/web/tailwind.config.ts b/apps/web/tailwind.config.ts index e6707ffd9..55e434dc6 100644 --- a/apps/web/tailwind.config.ts +++ b/apps/web/tailwind.config.ts @@ -5,6 +5,6 @@ import baseConfig from '@kit/tailwind-config'; export default { // We need to append the path to the UI package to the content array so that // those classes are included correctly. - content: [...baseConfig.content, './components/**/*.tsx', './app/**/*.tsx'], + content: [...baseConfig.content, './components/**/*.tsx', './app/**/*.tsx', './lib/fonts.ts'], presets: [baseConfig], } satisfies Config;