Skip to content

Commit

Permalink
theme json boilerplace fix to ensure fontsizes are saved back the theme
Browse files Browse the repository at this point in the history
  • Loading branch information
eirichmond committed Nov 27, 2024
1 parent ea309e0 commit 6b19d6c
Show file tree
Hide file tree
Showing 2 changed files with 4,682 additions and 5,017 deletions.
23 changes: 23 additions & 0 deletions assets/boilerplate/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,35 @@
"units": [ "%", "px", "em", "rem", "vh", "vw" ]
},
"typography": {
"defaultFontSizes": false,
"fontFamilies": [
{
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
}
],
"fontSizes": [
{
"name": "Small",
"size": "13px",
"slug": "small"
},
{
"name": "Medium",
"size": "20px",
"slug": "medium"
},
{
"name": "Large",
"size": "36px",
"slug": "large"
},
{
"name": "X-Large",
"size": "42px",
"slug": "x-large"
}
]
},
"useRootPaddingAwareAlignments": true
Expand Down
Loading

0 comments on commit 6b19d6c

Please sign in to comment.