Skip to content

Commit

Permalink
Merge pull request #357 from edx/andya/fix-input-background-colors
Browse files Browse the repository at this point in the history
Address color contrast issues with form elements
  • Loading branch information
andy-armstrong authored Aug 8, 2016
2 parents 06e7038 + 225a2ce commit 0992345
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
6 changes: 3 additions & 3 deletions pattern-library/sass/patterns/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 0992345

Please sign in to comment.