Skip to content

Instantly share code, notes, and snippets.

@markchristopherng
Created August 22, 2022 09:02
Show Gist options
  • Save markchristopherng/d8e2af399ded34d2456faacccd26ea10 to your computer and use it in GitHub Desktop.
Save markchristopherng/d8e2af399ded34d2456faacccd26ea10 to your computer and use it in GitHub Desktop.
val defaultTextColor: Color
@Composable
@ReadOnlyComposable
get() = if (isSystemInDarkTheme()) AP_White else AP_Ink
val defaultSecondaryTextColor: Color
@Composable
@ReadOnlyComposable
get() = if (isSystemInDarkTheme()) AP_Smoke else AP_Iron
val defaultTertiaryTextColor: Color
@Composable
@ReadOnlyComposable
get() = if (isSystemInDarkTheme()) AP_Ash else AP_Dim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment