🆒 Your use case
Update README to show usage with tailwind.
🆕 The solution you'd like
This is how I got it to work. The module adds the fallback fonts correctly but we need to tell tailwind the fallback font family name in order to actually use it.
// tailwind.config
module.exports = {
theme: {
extend: {
fontFamily: {
// For every font, provide another string in `${fontName} fallback` format
plex: ["IBM Plex Sans Arabic", "IBM Plex Sans Arabic fallback"],
},
},
},
};
🔍 Alternatives you've considered
No response
ℹ️ Additional info
I'd make a PR if the solution sounds good
🆒 Your use case
Update README to show usage with tailwind.
🆕 The solution you'd like
This is how I got it to work. The module adds the fallback fonts correctly but we need to tell tailwind the fallback font family name in order to actually use it.
🔍 Alternatives you've considered
No response
ℹ️ Additional info
I'd make a PR if the solution sounds good