components
components copied to clipboard
fix(cdk/accordion): replace hardcoded colors with theme tokens
Description
Replaces hardcoded colors in the CDK accordion overview example with Material theme tokens.
Changes
- Replace
#cccwith--mat-sys-outline-variantfor accordion item borders - Replace
#999with--mat-sys-on-surface-variantfor description text - Replace
#eeewith--mat-sys-surface-containerfor hover state styling
Motivation
The example used fixed color values that do not adapt to the active theme. Using Material theme tokens improves consistency across light and dark themes while preserving the existing appearance and behavior.