Skip to content

Boilerplate v1.2.1

Compare
Choose a tag to compare
@jasonnrosa jasonnrosa released this 04 May 14:29
1460e4c

Bug Fixes

  • 🐛 #148 Updated the theme fields.json file to fix font sizes referenced in theme-overrides.css. Previously font size was not being pulled in properly (showing the CSS as something like this: font-size: {units=px, value=24}px; because size was being called in using an object:
"size": {
  "units": "px",
   "value": 50
 }

rather than two separate fields:

"size": 50,
"size_unit": "px"

and the theme-overrides.css file was pulling in those styles using something like:

font-size: {{ theme.typography.heading_one.size }} {{ theme.typography.heading_one.size_unit }};

In summary: size was previously pulling in an object with size units and values instead of using two different fields for size and size_unit.