This key defines the color theme used for syntax highlighting in Code Inputs.
By default, this key is basic_dark.
Appears in#
└── _inputs
└── *
└── Code Input
└── options
└── themeType#
string
Default value#
basic_dark
Allowed values#
atomonebasic_darkbasic_lightdarculadraculaduotone_darkduotone_lighteclipsegithub_darkgithub_lightgruvbox_darkgruvbox_lightmaterial_darkmaterial_lightsolarized_darksolarized_lightsublimetokyo_nighttokyo_night_daytokyo_night_stormtomorrow_night_bluevscode_darkvscode_lightxcode_darkxcode_lightExamples#
In this example, we have configured a code input to use the dracula theme for a dark-colored editing experience.
Copied to clipboard
_inputs:
javascript_code:
type: code
label: JavaScript
options:
theme: dracula{
"_inputs": {
"javascript_code": {
"type": "code",
"label": "JavaScript",
"options": {
"theme": "dracula"
}
}
}
}