Package-level declarations

Types

Link copied to clipboard
@Serializable
@SerialName(value = "ResetTheme")
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
@Serializable
@SerialName(value = "SetTheme")
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.