Skip to content

Commit

Permalink
fix(vuetify): changed name of 'convert to rem' variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nmsmith22389 committed Oct 29, 2018
1 parent fed57fc commit 3b7dcb7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion settings/_theme.scss
Expand Up @@ -6,7 +6,6 @@
$body-font-family: 'Roboto', sans-serif !default;
$body-font-size: rem(14px) !default;
$font-size-root: 16px !default; // NOTE: Don't convert this to `rem` because this is used as the base in calculations.
$convert-to-rem: true !default;
$line-height-root: 1.5 !default;

// Material Design - https://material.io/guidelines/style/color.html#color-usability
Expand Down
1 change: 1 addition & 0 deletions settings/_variables.scss
Expand Up @@ -6,6 +6,7 @@
// ============================================================

$color-pack: true !default;
$values-use-rem: true !default; // If true, use rem in styles instead of px.

// Grid
// ============================================================
Expand Down
2 changes: 1 addition & 1 deletion tools/helpers/_unit.scss
Expand Up @@ -39,7 +39,7 @@
}

@function rem($values...) {
@if not $convert-to-rem {
@if not $values-use-rem {
@return _rem-convert(px, $values...);
} @else {
@return _rem-convert(rem, $values...);
Expand Down

0 comments on commit 3b7dcb7

Please sign in to comment.