Resetting the counter to zero on the sign that reads, “Days since wanting use custom properties inside media queries.” 🔗 https://adactio.com/notes/20497
@4254ca2a container style queries could be your escape hatch: https://developer.chrome.com/blog/style-queries/
@4254ca2a Would it make sense to have custom globals that work like custom properties but aren't specific to any element? I think something like that would allow this sort of thing (maybe with the caveat that a style sheet whose use was conditional on a global couldn't modify that global). Then an interesting question is whether these would be in the same namespace as custom properties (used from var()) or a different one.