Skip to main content

extension-text-color

Home > @remirror/extension-text-color

extension-text-color package

Classes

ClassDescription
TextColorExtensionWraps text with a styled span using the color css property. The name of the wrapper tag should be configurable.

Functions

FunctionDescription
palette(t)The default color palette which uses css properties to update the colors.

Interfaces

InterfaceDescription
ColorPalette
ColorWithLabel
HuePalette
SetTextColorOptions
TextColorAttributes
TextColorOptions

Variables

VariableDescription
CSS_VAR_REGEX
setTextColorOptions
TEXT_COLOR_ATTRIBUTE

Type Aliases

Type AliasDescription
ColorWithLabelTuple
HuePaletteMap
PaletteCreate a palette the t method provided for internalization.