colorStyle

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.

Parameters

selected

Whether the node in question is selected.

loaded

Whether the node in question represents a module that is loaded.

renamed

Whether the node in question represents an element that has been renamed.

isBuilding

Whether the node in question represents a module that is in the process of being built.