Skip to content

Instantly share code, notes, and snippets.

@renanboni
Created December 20, 2022 22:19
Show Gist options
  • Save renanboni/0a46382ed7f85d7a58578f089ed2ac4b to your computer and use it in GitHub Desktop.
Save renanboni/0a46382ed7f85d7a58578f089ed2ac4b to your computer and use it in GitHub Desktop.
shimmerOnPrimary = if (isDarkMode) ShimmerOnPrimaryDark else ShimmerOnPrimaryLight,
bottomSheetBackground = if (isDarkMode) BottomSheetBackgroundDark else BottomSheetBackgroundLight,
cursorOnPrimary = if (isDarkMode) CursorOnPrimaryDark else CursorOnPrimaryLight,
tertiaryCardBackground = if (isDarkMode) TertiaryCardBackgroundDark else TertiaryCardBackgroundLight,
inputLabelOnBackground = if (isDarkMode) InputLabelOnBackgroundDark else InputLabelOnBackgroundLight,
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment