Hierarchy

  • UIKitColors

Properties

background: string
error: string
onBackground01: string
onBackground02: string
onBackground03: string
onBackground04: string
onBackgroundReverse01: string
onBackgroundReverse02: string
onBackgroundReverse03: string
onBackgroundReverse04: string
primary: string
secondary: string
text: string
ui: {
    badge: ComponentColors<"Badge">;
    button: ComponentColors<"Button">;
    dateSeparator: ComponentColors<"DateSeparator">;
    dialog: ComponentColors<"Dialog">;
    groupChannelMessage: ComponentColors<"GroupChannelMessage">;
    groupChannelPreview: ComponentColors<"GroupChannelPreview">;
    header: ComponentColors<"Header">;
    input: ComponentColors<"Input">;
    openChannelMessage: ComponentColors<"OpenChannelMessage">;
    openChannelPreview: ComponentColors<"OpenChannelPreview">;
    placeholder: ComponentColors<"Placeholder">;
    profileCard: ComponentColors<"ProfileCard">;
    reaction: ComponentColors<"Reaction">;
    voiceMessageInput: ComponentColors<"VoiceMessageInput">;
}

UI Colors has below structure Component.{Variant}.{State}.{ColorPart}

Type declaration

Example

 const { colors } = useUIKitTheme();
colors.ui.button.contained.disabled.backgroundColor

Generated using TypeDoc