-
-
Notifications
You must be signed in to change notification settings - Fork 778
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
feat(preset-wind): add svh
, lvh
and dvh
values to default theme
#3469
Conversation
✅ Deploy Preview for unocss ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
svh
, lvh
and dvh
values to default themesvh
, lvh
and dvh
values to default theme
vh units are already supported. Maybe we can adjust its usage in the size rules? |
This adds the default rules of dynamic viewport height, not the values (which as you mentioned already exist), meaning Support for values like |
Then I think it is better to add this to the preset-wind instead |
svh
, lvh
and dvh
values to default themesvh
, lvh
and dvh
values to default theme
Done. I think that makes more sense. |
this adds
svh
,lvh
anddvh
as default values toheight
,min-height
,max-height
rules to improve compatibility with TailwindCSS v3.4.0Tailwind Ref: https://tailwindcss.com/blog/tailwindcss-v3-4#dynamic-viewport-units