gluestack

gluestack Logogluestack

How to override the default breakpoint values?

snotax posted this in #support
Open in Discord
Avatar
snotaxOP
In Gluestack v1, I was able to override the breakpoint values of (sm, md,lg, etc) with my own custom values. How can I do this in v2?

3 Replies

Avatar
snotaxOP
Is it correct to use the theme.screens property in tailwind.config now ?
Or is there a better way in gluestack config ?
Avatar
sravankumar101
hey @snotax
You can customize your breakpoints directly in tailwind.config itself
follow their documentation for knowing more about this
https://tailwindcss.com/docs/screens