Skip to content

Commit

Permalink
Remove condition for font face nil check (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Berthe committed May 1, 2018
1 parent bfdfb5f commit 91a62ba
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/snippets/css-variables.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@
{%- assign font_body_bold = settings.font_body | font_modify: 'weight', 'bolder' -%}
{%- assign font_body_bold_italic = font_body_bold | font_modify: 'style', 'italic' -%}
{% if font_body_bold %}
{{ font_body_bold | font_face }}
{% endif %}
{% if font_body_bold_italic %}
{{ font_body_bold_italic | font_face }}
{% endif %}
{{ font_body_bold | font_face }}
{{ font_body_bold_italic | font_face }}
:root {
--color-accent: {{ settings.color_accent }};
Expand Down

0 comments on commit 91a62ba

Please sign in to comment.