Skip to content

Conversation

@amirroox
Copy link
Contributor

Add Font Vazirmatn For RTL Languages (Persian/Arabic)

@amirroox
Copy link
Contributor Author

@aykutkardas 😶‍🌫️

}
h1, h2, h3, h4, h5, h6, input, textarea, p, span {
font-family: Vazirmatn, sans-serif !important;
} No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of creating a new file, you can use the rtl: feature in tailwind.

For example:

body {
 # ...
 @apply rtl:font-vazirmatn;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants