- From: Benoît Rouleau via GitHub <sysbot+gh@w3.org>
- Date: Tue, 08 Oct 2024 14:44:06 +0000
- To: public-css-archive@w3.org
Well, Tailwind generates the CSS for utilities (including the custom-defined ones) on demand based on config + usage in the markup. There's an almost unlimited number of potential utility classes, since they can be modified with any number of "variants" (e.g. `hover:dark:bg-red-400`) and can even have arbitrary values (e.g. `bg-[#cfef40]`). The only control Tailwind can possibly give us at that level is a way to wrap some utilities in a different layer (e.g. `[@layer_defaults]:border-0`), but they would still be rendered in the main utilities layer. Hence this feature request, so I can do something like `[@layer_../overrides]:border-0` (I would probably create a custom variant as opposed to an arbitrary one, so it might look more like `overrides:border-0`). -- GitHub Notification of comment by benface Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11010#issuecomment-2400056353 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 8 October 2024 14:44:07 UTC