Skip to content
GitHub

ThemeButtons

interface in meocord/interface Since 4.1.0

interface ThemeButtons

The button style each role maps to, for the app's own buttons.

Warning and info have no Discord style of their own. Augment it to add roles of the app's own; see MeoCordTheme.

Members

primary

primary: ThemeButtonStyle

The action the app most expects, such as Submit.

neutral

neutral: ThemeButtonStyle

A secondary action, such as Cancel or Back.

success

success: ThemeButtonStyle

An action that confirms or approves, such as Approve.

danger

danger: ThemeButtonStyle

An action that removes or refuses, such as Delete or Reject.