Android

How Android uses the system: every value comes from the Material theme and Dimens.

Rules

Views use the Material theme, never raw values.

TokenUseNever
ColorMaterialTheme.colorScheme.*A hardcoded color
SpacingDimens.kt constants (the same 8-point grid as web and iOS)A raw dp value
TypeMaterialTheme.typography.*A hardcoded sp
ShapeMaterialTheme.shapes.*, mapped in AppShape.ktA raw corner radius

Live specimens

Where tokens liveMaterialTheme and Dimens.kt; never hardcoded values or sp.
MaterialTheme.colorScheme
Color
Dimens.kt
Spacing
MaterialTheme.shapes → AppShape.kt
Corner radius
MaterialTheme.typography
Typography
ComponentsThe Compose names the rules point to.
Card (elevation 0.dp)
Flat card
Switch
Switch
NavigationDrawerItem · primaryContainer
Active navigation item
AlertDialog
Destructive confirm
ModalBottomSheet
Task sheet
ShimmerEffect
Loading skeleton