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