-
-
Couldn't load subscription status.
- Fork 79.2k
v6: Cleanup utilities #41818
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
base: v6-dev
Are you sure you want to change the base?
v6: Cleanup utilities #41818
Conversation
|
Why remove the print display utilities? It's common for business apps to have certain pages which need to support printing to PDF, and the print display utilities have been very handy to hide or display content as needed when printing. |
Not opposed to bringing back, but it's definitely a less common use case overall. I think at the very least we'd disable having |
|
While less common, it has still been a useful feature to always have available. E.g. I made a library for Bootstrap projects which uses |
The utility API has always been extensible, so enabling isn't a huge issue unless you're pulling in from CSS only vs source Sass. As long as you're able to modify the map—which is documented—we could keep the ability and just disable it to start. |
Unrelated:
oklchcolor space on accident recently in v6: Drop component variants for global.theme-*classes #41789 without checking it out.API:
Display:
Flex & Grid:
.grid-cols-*classes to the utility API.grid-auto-flowgridandgapdocs pages for utilitiesType/Font:
.font-bodyutility. This joins the existing.font-monospace..display-*typography classes..text-*utilities that setfont-sizeandline-heightin sizesxs—6xl. This also updates the font-size.fs-{size}utilities.font-size,font-family,font-weight, andline-heightpages (splitting out from the old, long-windedtextpage)Todos:
Follow-ups:
hover:opacity-50andmd:d-block)statetopseudo-classesandpseudo-elements