From: Andy Cochran Date: Tue, 10 May 2016 15:59:34 +0000 (-0400) Subject: add scss var for input font weight X-Git-Tag: v6.3-rc1~73^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8763%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git add scss var for input font weight --- diff --git a/scss/forms/_text.scss b/scss/forms/_text.scss index a61db3615..311ef67bc 100644 --- a/scss/forms/_text.scss +++ b/scss/forms/_text.scss @@ -22,6 +22,10 @@ $input-font-family: inherit !default; /// @type Number $input-font-size: rem-calc(16) !default; +/// Font weight of text inputs. +/// @type Keyword +$input-font-weight: $global-weight-normal !default; + /// Background color of text inputs. /// @type Color $input-background: $white !default; @@ -79,6 +83,7 @@ $input-radius: $global-radius !default; font-family: $input-font-family; font-size: $input-font-size; + font-weight: $input-font-weight; color: $input-color; background-color: $input-background; box-shadow: $input-shadow; diff --git a/scss/settings/_settings.scss b/scss/settings/_settings.scss index c28cdfe3f..34ef80136 100644 --- a/scss/settings/_settings.scss +++ b/scss/settings/_settings.scss @@ -346,6 +346,7 @@ $input-color: $black; $input-placeholder-color: $medium-gray; $input-font-family: inherit; $input-font-size: rem-calc(16); +$input-font-weight: $global-weight-normal; $input-background: $white; $input-background-focus: $white; $input-background-disabled: $light-gray;