diff --git a/src/scss/components/field/_field.scss b/src/scss/components/field/_field.scss index 203ca8c..77075d7 100644 --- a/src/scss/components/field/_field.scss +++ b/src/scss/components/field/_field.scss @@ -1,6 +1,5 @@ @import - 'text', - 'checkbox'; + 'text'; /** * field @@ -12,6 +11,19 @@ $crispy__field__margin: toEm(0 0 $crispy__margin 0) !default; +$crispy__field__input__font-size: $crispy__body__font-size !default; +$crispy__field__input__padding: toEm(6px 8px) !default; +$crispy__field__input__color: $crispy__color-text !default; + +%field__ { + line-height: $crispy__golden-ratio; + padding: $crispy__field__input__padding; + color: $crispy__field__input__color; + appearance: none; + + @include crispy__font-size($crispy__field__input__font-size); +} + @mixin crispy__field() { .field { margin: $crispy__field__margin; diff --git a/src/scss/components/field/_text.scss b/src/scss/components/field/_text.scss index d36cb82..56134d0 100644 --- a/src/scss/components/field/_text.scss +++ b/src/scss/components/field/_text.scss @@ -1,25 +1,17 @@ /** + * + * *