811 B
811 B
Color Philosophy Rule
M3 Expressive uses color to drive engagement and emotional impact.
Principles
- Dynamic Color: Always support
ColorScheme.fromSeedordynamic_colorpackage if on Android. - Vibrancy: Use high-saturation "On-Container" colors for primary expressive elements.
- Hierarchy: Use
primaryContainerfor high-importance actions andsurfaceContainerfor secondary grouping. - Contrast: Ensure AA/AAA contrast levels even when using expressive color blending.
Application
- Buttons: Use
FilledButton(Primary Container) for expressive actions. - Indicators: Use
secondaryContainerfor selection indicators to provide clear but non-overwhelming state. - Micro-interactions: Use subtle color shifts (surface -> surface-variant) for hover states.