Question: Select all that apply. Which of the following fields should you include in your theme's fields.json file?
- Color and font controls for forms
- Global color fields
- Global font fields
- Color and font controls for buttons
Explanation
These are all appropriate theme fields because HubSpot’s theme guidance recommends global color fields and global font fields so modules and styles can inherit consistent design values across the theme. HubSpot also states that theme fields should include separate color and font controls for buttons and forms. In fields.json, these controls make core design settings available in the theme editor instead of hard-coding them in templates or stylesheets. The common pattern is that each listed field type supports reusable theme-level styling and better editor control. HubSpot Developers+1
Why the other options are incorrect
None. All listed options are recommended theme field categories in HubSpot’s theme guidance. HubSpot Developers+1
Source for verification
https://developers.hubspot.com/docs/cms/reference/fields/overview
https://developers.hubspot.com/docs/cms/marketplace/theme-requirements
The answer(s) to the question is highlighted in the BOLD text above. You can also find more questions and answers related to the exams on the "HubSpot CMS for Developers II" page.
