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

[question] how to set the root font size? #177

Open
radiorz opened this issue Jun 15, 2022 · 1 comment
Open

[question] how to set the root font size? #177

radiorz opened this issue Jun 15, 2022 · 1 comment

Comments

@radiorz
Copy link

radiorz commented Jun 15, 2022

We know text-3xl text-2xl use the root size ,how to set root size by tailwind-rn

@Perfecto-always
Copy link

If by root size you mean 'default size' or 'global size' for a text, their is simply no way in react-native to do global stylings. However, you can either create a file for default stylings and then import and use or create a component and use it

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

No branches or pull requests

2 participants