Include fonts.ts in Tailwind configuration

This commit is contained in:
gbuomprisco
2025-01-14 17:37:57 +07:00
parent f7a5202c51
commit 7e1dee8d16
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ const heading = sans;
export { sans, heading }; export { sans, heading };
/** /**
* @name getClassName * @name getFontsClassName
* @description Get the class name for the root layout. * @description Get the class name for the root layout.
* @param theme * @param theme
*/ */

View File

@@ -5,6 +5,6 @@ import baseConfig from '@kit/tailwind-config';
export default { export default {
// We need to append the path to the UI package to the content array so that // We need to append the path to the UI package to the content array so that
// those classes are included correctly. // those classes are included correctly.
content: [...baseConfig.content, './components/**/*.tsx', './app/**/*.tsx'], content: [...baseConfig.content, './components/**/*.tsx', './app/**/*.tsx', './lib/fonts.ts'],
presets: [baseConfig], presets: [baseConfig],
} satisfies Config; } satisfies Config;