Messages
configurationAllows localization of the strings that are used in the widget.
messages
Objectmessages.alpha
StringAllows customization of the rgb's alpha input's aria-label in the Gradient's input editor.
Default: "Alpha"
messages.apply
StringAllows customization of the "Apply" button text.
Default: "Apply"
messages.blue
StringAllows customization of the rgb's blue input's aria-label in the Gradient's input editor.
Default: "Blue"
messages.cancel
StringAllows customization of the "Cancel" button text.
Default: "Cancel"
messages.clearColor
StringAllows customization of the Clear Color button label.
Default: "Clear color"
messages.contrastRatio
StringAllows customization of the "Contrast ratio" text in the contrast tool.
Default: "Contrast ratio"
messages.fail
StringAllows customization of the "Fail" text in the contrast tool.
Default: "Fail"
messages.gradient
StringAllows customization of the Gradient view button.
Default: "Gradient view"
messages.green
StringAllows customization of the rgb's green input's aria-label in the Gradient's input editor.
Default: "Green"
messages.hex
StringAllows customization of the hex input's aria-label in the Gradient's input editor.
Default: "HEX"
messages.palette
StringAllows customization of the Palette view button.
Default: "Palette view"
messages.pass
StringAllows customization of the "Pass" text in the contrast tool.
Default: "Pass"
messages.previewInput
StringOverrides the messages.hex property. Legacy option.
messages.red
StringAllows customization of the rgb's red input's aria-label in the Gradient's input editor.
Default: "Red"
messages.toggleFormat
StringAllows customization of the toggle format button's title in the Gradient's input editor.
Default: "Toggle format"