From 85c4229d9ad575e73e82a0db05de4a9a3199589e Mon Sep 17 00:00:00 2001 From: Andy Armstrong Date: Mon, 8 Aug 2016 12:01:34 -0400 Subject: [PATCH 1/2] Address color contrast issues with form elements TNL-5188 --- pattern-library/sass/patterns/_forms.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pattern-library/sass/patterns/_forms.scss b/pattern-library/sass/patterns/_forms.scss index 7a50e870..049a73ab 100644 --- a/pattern-library/sass/patterns/_forms.scss +++ b/pattern-library/sass/patterns/_forms.scss @@ -166,12 +166,12 @@ $input-width: ( .field-input, .field-select, .field-textarea { - @include placeholder { color: palette(grayscale, back); } + @include placeholder { color: palette(grayscale, accent); } @include transition(all timing(xx-fast) ease-in-out 0s); display: inline-block; padding: rem($baseline/2); border: 1px solid palette(grayscale, back); - background: palette(grayscale, x-back); + background: $white; font-size: font-size(base); color: palette(grayscale, dark); @@ -241,7 +241,7 @@ $input-width: ( .input-text { &.input-alt { - padding: spacing-verical(small) 0; + padding: spacing-vertical(small) 0; border-width: 0 0 2px 0; background: $white; From 225a2ce784328ddabb88cf8c7484dcb7ecf7ac2e Mon Sep 17 00:00:00 2001 From: Andy Armstrong Date: Mon, 8 Aug 2016 12:18:17 -0400 Subject: [PATCH 2/2] Hard-code sizzle to the previous version to fix npm issue --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a1ba9512..416e18a2 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "jquery": "^1.11.1", "requirejs": "^2.1.22", "requirejs-plugins": "^1.0.2", - "sizzle": "^2.3.0", + "sizzle": "2.3.0", "susy": "^2.2.9" }, "peerDependencies": {