Package-level declarations
Types
Link copied to clipboard
data class ResetThemeEventSchema(val id: String, val trigger: EventTrigger, val events: SerializableImmutableList<EventSchema>?) : EventSchema
Drops any color scheme previously installed by SetTheme, putting the app back on the color scheme it was built with.
Link copied to clipboard
data class SetColorModeEventSchema(val id: String, val trigger: EventTrigger, val events: SerializableImmutableList<EventSchema>?, val colorMode: SetColorModeEventSchema.ColorMode) : EventSchema
Sets the app's color mode — light, dark, or following the system setting — overriding whatever was set before. Unlike SetTheme, which swaps the Material color roles themselves, this only decides which of the already-installed light/dark schemes is active.
Link copied to clipboard
data class SetThemeEventSchema(val id: String, val trigger: EventTrigger, val events: SerializableImmutableList<EventSchema>?, val colorsScheme: SetThemeEventSchema.ColorsScheme) : EventSchema
Overrides the app's Material color schemes at runtime with colorsScheme, which carries a full light and a full dark scheme — every Material 3 role, from primary through the surface container and fixed-accent families. Both are applied at once, so the app keeps following the system's light/dark setting.