CSS Container Style Queries: Let the Parent Set the Theme
Every design system eventually grows a modifier class problem. The card needs a dark version for the footer, a compact version for the sidebar, and a "highlighted" version for the pricing page. So you
grimicorn.hashnode.dev5 min read