- Description:
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 └── theme- Type:
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_light- Examples:
In this example, we have configured a code input to use the
draculatheme 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" } } } }