Your Design System's Real API Is a CSS Variable
A component's theming surface is a contract whether you designed it or not. Leave it undeclared and consumers will fork the component to get one.
A team copied a button component to change its accent color, and the copy drifted. Exposing a small set of CSS custom properties gives consumers a sanctioned way to theme without forking, without ::ng-deep, and without an input for every color. read more...
- Angular Architecture
- Web Platform


