Last active
February 2, 2021 00:01
-
-
Save shopifypartners/d9924353ca33f033e4e712871dffb51a to your computer and use it in GitHub Desktop.
Add Google custom fonts to settings_schema.json file – https://www.shopify.com/partners/blog/web-fonts-to-enhance-stores
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Typography", | |
"settings": [ | |
{ | |
"type": "header", | |
"content": "Headings and buttons" | |
}, | |
{ | |
"type": "select", | |
"id": "type_header_family", | |
"label": "Font", | |
"default": "Google_Lato_700_sans", | |
"options": [ | |
{ | |
"value": "'Avant Garde', Avantgarde, 'Century Gothic', CenturyGothic, 'AppleGothic', sans-serif", | |
"label": "Avant Garde", | |
"group": "Sans-serif" | |
}, | |
{ | |
"value": "'Gill Sans', 'Gill Sans MT', Calibri, sans-serif", | |
"label": "Gill Sans", | |
"group": "Sans-serif" | |
}, | |
{ | |
"value": "'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif", | |
"label": "Helvetica Neue", | |
"group": "Sans-serif" | |
}, | |
{ | |
"value": "Arial, 'Helvetica Neue', Helvetica, sans-serif", | |
"label": "Arial", | |
"group": "Sans-serif" | |
}, | |
{ | |
"value": "Candara, Calibri, Segoe, 'Segoe UI', Optima, Arial, sans-serif", | |
"label": "Candara", | |
"group": "Sans-serif" | |
}, | |
{ | |
"value": "Geneva, Tahoma, Verdana, sans-serif", | |
"label": "Geneva", | |
"group": "Sans-serif" | |
}, | |
{ | |
"value": "Google_Lato_400_sans", | |
"label": "Lato", | |
"group": "Sans-serif | Google Web Fonts" | |
}, | |
{ | |
"value": "Google_Lato_700_sans", | |
"label": "Lato Bold", | |
"group": "Sans-serif | Google Web Fonts" | |
}, | |
{ | |
"value": "Google_Alice_serif", | |
"label": "Alice", | |
"group": "Sans-serif | Google Web Fonts" | |
} | |
] | |
}, |
hi sir
same i want to add custom font not google i have files of font i have uploaded in assets
how to link that font in setting_schema
is this possible
Hello sir,
If you have solve custom font problem please guide me i'm facing same problem....please guide me
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi sir
same i want to add custom font not google i have files of font i have uploaded in assets
how to link that font in setting_schema
is this possible