Skip to content

Commit

Permalink
fix(font-face): bring missing $css--font-face reference back (carbon-…
Browse files Browse the repository at this point in the history
  • Loading branch information
asudoh committed May 18, 2018
1 parent e57cbcb commit b636a9c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions src/globals/scss/_css--font-face.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ $font-path: 'https://unpkg.com/carbon-components@latest/src/globals/fonts' !defa
}

@include exports('css--font-face') {
@if global-variable-exists('css--plex') and $css--plex == true {
@include plex-font-face;
} @else {
@include helvetica-font-face;
@if not global-variable-exists('css--font-face') or $css--font-face == true {
@if global-variable-exists('css--plex') and $css--plex == true {
@include plex-font-face;
} @else {
@include helvetica-font-face;
}
}
}
2 changes: 1 addition & 1 deletion src/globals/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// 🌍 Global
//-------------------------

$css--font-face: false !default;
$css--font-face: true !default;
$css--helpers: true !default;
$css--body: true !default;
$css--use-experimental-grid: false !default;
Expand Down

0 comments on commit b636a9c

Please sign in to comment.