:has() looks really cool, and I can see this being really helpful for a design system’s more composable components.

Source: The CSS :has() selector is way more than a “Parent Selector” – Bram.us