Android

Generated from DESIGN_SYSTEM.md

Rules

Token consumption:

  • Colors: MaterialTheme.colorScheme.* โ€” never hardcoded values
  • Spacing: Dimens.kt constants (same 8pt grid values as web/iOS)
  • Typography: MaterialTheme.typography.* โ€” never hardcoded sp
  • Shape: MaterialTheme.shapes.* maps to AppShape.kt

Active nav state:

kotlin // NavigationDrawerItem / NavigationBarItem active state colors = NavigationDrawerItemDefaults.colors( selectedContainerColor = MaterialTheme.colorScheme.primaryContainer, selectedIconColor = MaterialTheme.colorScheme.onPrimaryContainer, selectedTextColor = MaterialTheme.colorScheme.onPrimaryContainer, )

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