Skip to content

Commit

Permalink
Fix build with empty config file in Jekyll 3
Browse files Browse the repository at this point in the history
  • Loading branch information
qwtel committed Jul 9, 2020
1 parent db558fb commit 33db4db
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions _includes/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

/*{% assign vars = site.data.variables %}*/
// {% assign vars = site.data.variables %}
// {% assign ui_font = 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif' %}
// {% assign ui_font_code = 'ui-monospace, monospace' %}

$font-family: {{ vars.font | default:site.font }};
$font-family-heading: {{ vars.font_heading | default:site.font_heading }};
$code-font-family: {{ vars.font_code | default:site.font_code }};
$theme-color: {{ vars.theme_color | default:site.theme_color | default:'rgb(8,46,57)' }};
$font-family: {{ vars.font | default:site.font | default:ui_font }};
$font-family-heading: {{ vars.font_heading | default:site.font_heading | default:ui_font }};
$code-font-family: {{ vars.font_code | default:site.font_code | default:ui_font_code }};
$theme-color: {{ vars.theme_color | default:site.theme_color | default:'rgb(8,46,57)' }};

$root-font-size: {{ vars.root_font_size | default:15 }}px;
$root-font-size-medium: {{ vars.root_font_size_medium | default:16 }}px;
Expand Down

0 comments on commit 33db4db

Please sign in to comment.