Get form theme
formTheme_getGet the theme for one color mode of a form. Returns theme (the form's custom theme or null when none set), defaultTheme (neutral baseline matching the schema; for a first apply, call formTheme_set with merge:false and supply all 7 sections (foundation, input, choice, rating, button, question, feedback); for subsequent tweaks, use merge:true to patch only changed fields), and hasTheme (whether a custom theme exists).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Color-mode theme to operate on. Light and dark themes are stored independently. | |
| formId | Yes | The form ID |