Skip to content

Theme Type: Message

Robert McIntosh edited this page Sep 18, 2022 · 4 revisions

Overview

The message type allows you to define a control element meant to provide the user with more information. This control type does not add any css variables and is meant as a way to provide additional context for other elements or features of your theme.

image


Defining your Setting

name

A short user-friendly title that gives the user an idea of this setting. This value is localized.


hint

A long user-friendly description that details what this setting is used for. This value is localized.


type

Set type to message to generate this control.


default

This control does not contain a default value. name and hint properties are the only content displayed to the end user via this control


Example Setting

"cssfoundryVTTColorsWarning": {
	"name": "lib-themer.cssfoundryVTTColorsWarning.name",
	"hint": "lib-themer.cssfoundryVTTColorsWarning.hint",
	"type": "message"
}