Class

Colors

A set of named color parameters for a GlimmerTheme.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public class Colors(
    public val primary: Color = Color(0xFF9BBFFF),
    public val secondary: Color = Color(0xFF4C88E9),
    public val positive: Color = Color(0xFF63FEA8),
    public val negative: Color = Color(0xFFFFA7A0),
    public val background: Color = Color.Black,
    public val surface: Color = Color(0xFF262626),
    public val outline: Color = Color(0xFF606460),
    public val outlineVariant: Color = Color(0xFF42434A),
)

A set of named color parameters for a GlimmerTheme.

Functions

copy

public fun copy(
        primary: Color = this.primary,
        secondary: Color = this.secondary,
        positive: Color = this.positive,
        negative: Color = this.negative,
        background: Color = this.background,
        surface: Color = this.surface,
        outline: Color = this.outline,
        outlineVariant: Color = this.outlineVariant,
    ): Colors

Returns a copy of this Colors, optionally overriding some of the values.