Package-level declarations

Types

Link copied to clipboard
object AppTheme
Link copied to clipboard
data class DashBackgroundColor(val primary: Color, val secondary: Color, val tertiary: Color, val quaternary: Color, val fade: Color, val sidebar: Color)
Link copied to clipboard
data class DashBorderColor(val primary: Color, val accent: Color, val red: Color)
Link copied to clipboard
data class DashButtonColor(val primary: Color, val secondary: Color, val tertiary: Color, val quaternary: Color, val transparent: Color, val red: Color, val secondaryNew: Color, val secondaryProgress: Color)
Link copied to clipboard
data class DashColors(val textColor: DashTextColor, val backgroundColors: DashBackgroundColor, val buttonColors: DashButtonColor, val borderColors: DashBorderColor, val iconColor: DashIconColor, val speedLimitColor: DashSpeedLimitColor, val workingHoursColor: DashWorkingHoursColor, val guidanceColor: DashGuidanceColor, val evColor: DashEvColor)
Link copied to clipboard
data class DashEvColor(val primaryProgressCheckOut: Color, val secondaryProgressCheckOut: Color, val backgroundProgress: Color, val secondaryProgressTextColor: Color)
Link copied to clipboard
data class DashGuidanceColor(val primary: Color, val onPrimary: Color, val onPrimaryInactive: Color, val secondary: Color, val onSecondary: Color, val onSecondaryInactive: Color, val tertiary: Color, val onTertiary: Color, val onTertiaryInactive: Color)
Link copied to clipboard
data class DashIconCollection(val camera: CameraIconSet = CameraIconSet(), val controls: ControlsIconSet = ControlsIconSet(), val feedback: FeedbackIconSet = FeedbackIconSet(), val information: InformationIconSet = InformationIconSet(), val main: MainIconSet = MainIconSet(), val marker: MarkerIconSet = MarkerIconSet(), val sound: SoundIconSet = SoundIconSet(), val tripProgress: TripProgressIconSet = TripProgressIconSet(), val favorite: FavoriteIconSet = FavoriteIconSet(), val driverNotification: DriverNotificationIconSet = DriverNotificationIconSet())
Link copied to clipboard
data class DashIconColor(val primary: Color, val secondary: Color, val tertiary: Color, val inverted: Color, val red: Color, val green: Color, val accent: Color)
Link copied to clipboard
Link copied to clipboard
data class DashSpeedLimitColor(val primary: Color, val onPrimary: Color, val secondary: Color, val onSecondary: Color, val accent: Color, val onAccent: Color)
Link copied to clipboard
data class DashTextColor(val primary: Color, val secondary: Color, val tertiary: Color, val links: Color, val accent: Color, val inverted: Color, val red: Color)
Link copied to clipboard
Link copied to clipboard
data class DashWorkingHoursColor(val open: Color, val openUntil: Color, val closed: Color)

Functions

Link copied to clipboard
fun DarkDashTheme(content: @Composable () -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun DashTheme(content: @Composable () -> Unit)
fun DashTheme(theme: Theme, content: @Composable () -> Unit)
Link copied to clipboard
Link copied to clipboard

Theme for Compose Previews that uses either LightDashTheme or DarkDashTheme according to the Configuration.UI_MODE_NIGHT_YES flag.

Link copied to clipboard
fun ThemeIcon(@DrawableRes icon: Int, modifier: Modifier = Modifier, contentScale: ContentScale = ContentScale.Fit, colorFilter: ColorFilter? = null)