MarkdownColors

@Stable
interface MarkdownColors

Represents the colors of the text, background and content used in a markdown component.

See MarkdownDefaults.markdownColors for the default colors used in Markdown.

Functions

Link copied to clipboard
open fun textColorByType(type: IElementType): Color

Returns the color used for the text of a specific type of this Markdown component.

Properties

Link copied to clipboard
abstract val backgroundColor: Color

Represents the background color for this Markdown component.

Link copied to clipboard
abstract val codeBackgroundColor: Color

Represents the code background color for this Markdown component.

Link copied to clipboard
abstract val textColor: Color

Represents the color used for the text of this Markdown component.