assets/stylesheets/material/variables/_variable-material.scss in material-sass-4.1.0 vs assets/stylesheets/material/variables/_variable-material.scss in material-sass-4.1.1
- old
+ new
@@ -389,11 +389,10 @@
$textfield-border-width-focus: ($textfield-border-width * 2) !default;
$textfield-border-width-hover: ($textfield-border-width * 2) !default;
$textfield-color: $black-primary !default;
$textfield-color-disabled: $black-hint !default;
$textfield-hint-color: $black-hint !default;
-$textfield-line-height: $line-height-base !default;
$textfield-margin-x: $spacer !default;
$textfield-plaintext-color: $body-color !default;
$textfield-font-size: 1rem !default;
$textfield-font-size-lg: 2.125rem !default;
@@ -401,21 +400,23 @@
$textfield-height: 2.25rem !default;
$textfield-height-lg: 3.75rem !default;
$textfield-height-sm: 2rem !default;
$textfield-line-height: 1.5 !default;
$textfield-line-height-lg: 1.176471 !default;
-$textfield-line-height-sm: 1.384615 !default;
+$textfield-line-height-sm: 1.538462 !default;
$textfield-margin-y: 0.5rem !default;
$textfield-margin-y-lg: 0.75rem !default;
$textfield-margin-y-sm: 0.25rem !default;
$textfield-padding-x: 0 !default;
$textfield-padding-x-lg: 0 !default;
$textfield-padding-x-sm: 0 !default;
$textfield-padding-y: (($textfield-height - $textfield-font-size * $textfield-line-height) / 2) !default;
$textfield-padding-y-lg: (($textfield-height-lg - $textfield-font-size-lg * $textfield-line-height-lg) / 2) !default;
$textfield-padding-y-sm: (($textfield-height-sm - $textfield-font-size-sm * $textfield-line-height-sm) / 2) !default;
+$textfield-select-bg-size: ($material-icon-size / $textfield-font-size * 1em) !default;
+
// Text field: box
// Based on https://material.io/guidelines/components/text-fields.html#text-fields-text-field-boxes
$textfield-box-bg: rgba(0, 0, 0, 0.06) !default;
$textfield-box-border-radius: 4px !default;
@@ -434,10 +435,12 @@
// Text field: floating label
// Based on https://material.google.com/components/text-fields.html#text-fields-labels
$floating-label-color: $textfield-hint-color !default;
$floating-label-color-focus: theme-color(secondary) !default;
-$floating-label-font-size-focus: 0.75rem !default;
+$floating-label-font-size: 0.75rem !default;
+$floating-label-font-size-lg: 0.875rem !default;
+$floating-label-font-size-sm: 0.625rem !default;
// Toolbar (Bootstrap navbar)
// Based on https://material.google.com/components/toolbars.html#toolbars-usage
$toolbar-color: $black-primary !default;