Package-level declarations
Types
Link copied to clipboard
data class BackgroundColor(val primary: DashColor, val secondary: DashColor, val tertiary: DashColor, val quaternary: DashColor, val fade: DashColor, val sidebar: DashColor) : ComposeFactory<DashBackgroundColor>
Link copied to clipboard
Link copied to clipboard
data class BorderColor(val primary: DashColor, val accent: DashColor, val red: DashColor) : ComposeFactory<DashBorderColor>
Link copied to clipboard
data class ButtonColor(val primary: DashColor, val secondary: DashColor, val tertiary: DashColor, val quaternary: DashColor, val transparent: DashColor, val red: DashColor) : ComposeFactory<DashButtonColor>
Link copied to clipboard
Link copied to clipboard
object ContextThemeWrapperProvider
Link copied to clipboard
Link copied to clipboard
data class EvColor(val primaryProgressCheckOut: DashColor, val secondaryProgressCheckOut: DashColor, val backgroundProgress: DashColor, val secondaryProgressTextColor: DashColor) : ComposeFactory<DashEvColor>
Link copied to clipboard
data class GuidanceColor(val primary: DashColor, val onPrimary: DashColor, val onPrimaryInactive: DashColor, val secondary: DashColor, val onSecondary: DashColor, val onSecondaryInactive: DashColor, val tertiary: DashColor, val onTertiary: DashColor, val onTertiaryInactive: DashColor) : ComposeFactory<DashGuidanceColor>
Link copied to clipboard
data class IconCollection(val camera: CameraIconSet, val feedback: FeedbackIconSet, val information: InformationIconSet, val main: MainIconSet, val marker: MarkerIconSet, val sound: SoundIconSet) : ComposeFactory<DashIconCollection>
Link copied to clipboard
data class IconTheme(@DrawableRes val arrowLeft: Int, @DrawableRes val puck: Int, @DrawableRes val puckShadow: Int, @DrawableRes val checkBox: Int, @DrawableRes val chargerL2: Int, @DrawableRes val chargerL3: Int, @DrawableRes val border: Int, @DrawableRes val icCross: Int)
Link copied to clipboard
data class InsetsCompat(val start: Int = 0, val top: Int = 0, val end: Int = 0, val bottom: Int = 0)
Link copied to clipboard
The class is responsible for notifying the style change to the ThemeManager Thread safe Start observing when refCount 0 Stop when refCount = 0
Link copied to clipboard
Use case notifies a theme configuration change for specific id.
Link copied to clipboard
Link copied to clipboard
data class SearchPinStyle(val primary: DashColor, val onPrimary: DashColor, val accent: DashColor, val onAccent: DashColor, @DrawableRes val pinShadow: Int)
Link copied to clipboard
data class SpeedLimitColor(val primary: DashColor, val onPrimary: DashColor, val secondary: DashColor, val onSecondary: DashColor, val accent: DashColor, val onAccent: DashColor) : ComposeFactory<DashSpeedLimitColor>
Link copied to clipboard
interface ThemeFactory
Link copied to clipboard
Link copied to clipboard
interface ThemeLoader
Link copied to clipboard
object ThemeManager
Link copied to clipboard
A functional interface that defines a theme transformer for an application.
Link copied to clipboard
interface UiModeRepository
Link copied to clipboard
data class WorkingHoursColor(val open: DashColor, val openUntil: DashColor, val closed: DashColor) : ComposeFactory<DashWorkingHoursColor>
Functions
Link copied to clipboard
Link copied to clipboard
fun Theme.createStrokeDrawable(backgroundColor: DashColor?, strokeColor: DashColor?, stokeWidth: Int, cornerRadii: DashDrawableCornerRadii, inset: Int, shouldHighlightFocus: Boolean = false): Drawable?
Link copied to clipboard
inline fun <T : View> T.observeInsets(insetMask: Int = WindowInsetsCompat.Type.systemBars(), crossinline listener: T.(InsetsCompat) -> Unit)