Table of Contents

Enum TextTheme

Namespace
Kook
Assembly
Kook.Net.Core.dll

Represents text themes used in Colorize(string?, TextTheme, bool).

public enum TextTheme : ushort

Fields

Body = 6

Represents a body theme.

Danger = 2

Represents a danger theme.

Info = 4

Represents an info theme.

Pink = 8

Represents a pink theme.

Primary = 0

Represents a primary theme.

Purple = 9

Represents a purple theme.

Secondary = 5

Represents a secondary theme.

Success = 1

Represents a success theme.

Tips = 7

Represents a tips theme.

Warning = 3

Represents a warning theme.

Remarks

warning

The text themes of KMarkdown are currently only supported in card messages. KMarkdown messages theming is not supported yet.

warning

The color of the text themes vary on different platforms. It is recommended to test your card messages on different platforms to ensure that the text themes are displayed correctly.