Re: [csswg-drafts] [css-values] Proposal for an `all-vars` property to reset all custom properties (#11105)

> Another approach is to introduce a keyword into the `all` property to extend its coverage to custom properties, or to introduce an `all-behavior` property and put the keyword there, similar to `transition-behavior`, to allow later inclusion of properties excluded today or in the future.

That approach forces you to use the same value for both regular properties and custom properties.

With a dedicated property, you are able to specify `all:unset; all-vars:revert-layer`.

-- 
GitHub Notification of comment by miragecraft
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11105#issuecomment-2446910779 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 30 October 2024 12:07:56 UTC