Companion

object Companion

Functions

Link copied to clipboard
fun colorStyle(selected: Boolean, loaded: Boolean, renamed: Boolean, isBuilding: Boolean = false): String

Produce a style string that includes foreground and background colors based on the given parameters and current light/dark mode.

Link copied to clipboard
fun fontStyle(bold: Boolean = false, italic: Boolean = false, strikethrough: Boolean = false): String

Produce a style string that includes foreground and background colors based on the given parameters and current light/dark mode.