Documentation - v0.32.2
    Preparing search index...

    Type Alias WebviewThemeParams

    WebviewThemeParams:
        | tl.TypeDataJSON
        | {
            accent_text_color?: string;
            bg_color?: string;
            button_color?: string;
            button_text_color?: string;
            destructive_text_color?: string;
            header_bg_color?: string;
            hint_color?: string;
            link_color?: string;
            secondary_bg_color?: string;
            section_bg_color?: string;
            section_header_text_color?: string;
            section_separator_color?: string;
            subtitle_text_color?: string;
            text_color?: string;
        }

    Theme parameters to pass to the mini app

    Each value should be a string (hex-encoded RGB, no alpha)

    Type Declaration

    • tl.TypeDataJSON
    • {
          accent_text_color?: string;
          bg_color?: string;
          button_color?: string;
          button_text_color?: string;
          destructive_text_color?: string;
          header_bg_color?: string;
          hint_color?: string;
          link_color?: string;
          secondary_bg_color?: string;
          section_bg_color?: string;
          section_header_text_color?: string;
          section_separator_color?: string;
          subtitle_text_color?: string;
          text_color?: string;
      }
      • Optionalaccent_text_color?: string

        Accent text color

      • Optionalbg_color?: string

        Background color

      • Optionalbutton_color?: string

        Button color

      • Optionalbutton_text_color?: string

        Button text color

      • Optionaldestructive_text_color?: string

        Text color for destructive action buttons in prompts

      • Optionalheader_bg_color?: string

        Header background color

      • Optionalhint_color?: string

        Hint text color

      • Optionallink_color?: string

        Link color

      • Optionalsecondary_bg_color?: string

        Secondary background color

      • Optionalsection_bg_color?: string

        Section background color

      • Optionalsection_header_text_color?: string

        Section header text color

      • Optionalsection_separator_color?: string

        Section separator color

      • Optionalsubtitle_text_color?: string

        Sub title text color

      • Optionaltext_color?: string

        Text color