Where are font names stored/parsed?

tony5280
Shopify Partner
61 6 18

Hi, first off, I'm an experienced dev, but new to Shopify, so please forgive my question if it seems ignorant.

If a business user modifies the fonts (theme > customize > theme settings > typography) from the Shopify admin, the settings are stored in settings_data.json with a key/value pair similar to this: "typography_body_new": "helvetica_n4",

My question is this: Where is the _string_ "helvetica_n4" stored, and then parsed, to be available to CSS as the correct string, "Helvetica, 'Helvetica Neue', Arial, sans-serif;"

I have the theme locally, and having searched, I only find references to _nX in the config/ folder, but only as strings. There is no translation table in my theme codebase.

0 Likes
tony5280
Shopify Partner
61 6 18

It's valid to tell me I'm asking the wrong question, too.

0 Likes