| @@ -136,24 +136,28 @@ | ||
| 136 | 136 | 'formStyling' => [ |
| 137 | 137 | 'type' => 'object', |
| 138 | 138 | 'description' => __( 'Form styling settings including colors and spacing.', 'sureforms' ), |
| 139 | 139 | 'properties' => [ |
| 140 | - 'primaryColor' => [ | |
| 140 | + 'primaryColor' => [ | |
| 141 | 141 | 'type' => 'string', |
| 142 | 142 | 'description' => __( 'Primary/accent color as hex (e.g. #111C44).', 'sureforms' ), |
| 143 | 143 | ], |
| 144 | - 'textColor' => [ | |
| 144 | + 'textColor' => [ | |
| 145 | 145 | 'type' => 'string', |
| 146 | 146 | 'description' => __( 'Text color as hex (e.g. #1E1E1E).', 'sureforms' ), |
| 147 | 147 | ], |
| 148 | - 'textColorOnPrimary' => [ | |
| 148 | + 'textColorOnPrimary' => [ | |
| 149 | 149 | 'type' => 'string', |
| 150 | 150 | 'description' => __( 'Text color on primary backgrounds as hex (e.g. #FFFFFF).', 'sureforms' ), |
| 151 | 151 | ], |
| 152 | - 'fieldSpacing' => [ | |
| 152 | + 'fieldSpacing' => [ | |
| 153 | 153 | 'type' => 'string', |
| 154 | 154 | 'description' => __( 'Spacing between fields.', 'sureforms' ), |
| 155 | 155 | 'enum' => [ 'small', 'medium', 'large' ], |
| 156 | + ], | |
| 157 | + 'disableDefaultStyles' => [ | |
| 158 | + 'type' => 'boolean', | |
| 159 | + 'description' => __( 'When true, SureForms does not enqueue its default frontend styles for this form, so the active theme styling applies instead.', 'sureforms' ), | |
| 156 | 160 | ], |
| 157 | 161 | ], |
| 158 | 162 | ], |
| 159 | 163 | 'emailNotification' => [ |