Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add font custom for rtl languages #374

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

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;
}
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