You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After tailwind v4 version up delete tailwind config file, font style setting code has been moved to index.css,
but fonts.ts comment guide didn't changed.
guide
/** * List of available font names (visit the url`/settings/appearance`). * This array is used to generate Tailwind's `safelist` inside 'tailwind.config.js' and 'appearance-form.tsx' * to prevent dynamic font classes (e.g., `font-inter`, `font-manrope`) from being removed during purging. * * 📝 How to Add a New Font: * 1. Add the font name here. * 2. Update the `<link>` tag in 'index.html' to include the new font from Google Fonts (or any other source). * 3. Add new fontFamily 'tailwind.config.js' * * Example: * fonts.ts → Add 'roboto' to this array. * index.html → Add Google Fonts link for Roboto. * tailwind.config.js → Add the new font inside `theme.extend.fontFamily`. * ```ts * theme: { * // other configs * extend: { * fontFamily: { * inter: ['Inter', ...fontFamily.sans], * manrope: ['Manrope', ...fontFamily.sans], * roboto: ['Roboto', ...fontFamily.sans], // Add new font here * } * } * } * ``` */
To Reproduce
See fonts.ts file
Expected behavior
fonts.ts file's guide have to change by new font styling way.
Screenshots
Not need
Additional context
None
The text was updated successfully, but these errors were encountered:
Describe the bug
After tailwind v4 version up delete tailwind config file, font style setting code has been moved to
index.css
,but
fonts.ts
comment guide didn't changed.guide
To Reproduce
See
fonts.ts
fileExpected behavior
fonts.ts file's guide have to change by new font styling way.
Screenshots
Not need
Additional context
None
The text was updated successfully, but these errors were encountered: