Edit the Select Font function in the Dawn theme

Sneaky
Shopify Partner
32 3 18

In the Dawn theme under Theme Settings > Typography, you can select the Font to change it which shows the font list nicely displayed in the font style and at the bottom the weight of the type, regular, bold etc.

Where is this code sitting in the Dawn theme for this function as I wanted to make a couple of simple edits?

Replies 2 (2)
suyash1
Shopify Partner
8319 1030 1362

@Sneaky - you can check settings.json file

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly

Support me 🙂
Sneaky
Shopify Partner
32 3 18

Which is located where? I can only see settings_data.json and settings_schema.json

 

No settings.json file.

 

In settings_schema.json file I can see;

{
"type": "font_picker",
"id": "type_header_font",
"default": "assistant_n4",
"label": "t:settings_schema.typography.settings.type_header_font.label",
"info": "t:settings_schema.typography.settings.type_header_font.info"
}

But where is the font function that displays the font list and the weight of the font setting?