HubSpot Academy Educational Examples

VMNaude
Member

Tertiary theme fields.json issue

SOLVE

Hello,

I have been trying to add a tertiary color to my fields.json file locally and then uploading it. But each time I get an error when trying to make any changes to the file and uploading it, please see image below:

2024-02-12 11_33_33-fields.json - pooch-theme - Visual Studio Code.png

I can't seem to find any doucmentation or proper clarifycation as to why?

Could you please assist?

0 Upvotes
2 Accepted solutions
Jnix284
Solution
Hall of Famer

Tertiary theme fields.json issue

SOLVE

@VMNaude alternate names are used to identify common elements across all themes.

 

For example, in your theme you might have "brand color" and my theme might have "main color" so primary_color can be added as an alternate name to link both unique names back to the brand kit.

 

There is no such field as tertiary, so you just need to remove it as an alternate name and you should be good to go.

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon

View solution in original post

alyssamwilie
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Tertiary theme fields.json issue

SOLVE

You can read more about the usage of alternate_names and see what standard names are accepted here:
https://developers.hubspot.com/docs/cms/marketplace-guidelines/general-requirements#module-compatibi...

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.

View solution in original post

2 Replies 2
alyssamwilie
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Tertiary theme fields.json issue

SOLVE

You can read more about the usage of alternate_names and see what standard names are accepted here:
https://developers.hubspot.com/docs/cms/marketplace-guidelines/general-requirements#module-compatibi...

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.
Jnix284
Solution
Hall of Famer

Tertiary theme fields.json issue

SOLVE

@VMNaude alternate names are used to identify common elements across all themes.

 

For example, in your theme you might have "brand color" and my theme might have "main color" so primary_color can be added as an alternate name to link both unique names back to the brand kit.

 

There is no such field as tertiary, so you just need to remove it as an alternate name and you should be good to go.

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon