Include fonts.ts in Tailwind configuration
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user