Skip to content

Commit

Permalink
Remove default foreground color from form elements
Browse files Browse the repository at this point in the history
Specifying a default foreground color for the form elements can be
problematic when users (often with visual impairments) use a darker
OS/browser theme. Also, the color set on the form elements is quite
opinionated, so developers tend to change it anyway.

Ref: h5bp#1390.
Close: h5bp#1390.
  • Loading branch information
timmytofu authored and kcmckell committed Feb 25, 2014
1 parent d6b431e commit 1d81158
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
### HEAD

* Remove default foreground color from form elements
([#1390](https://github.com/h5bp/html5-boilerplate/issues/1390)).
* Remove default margin from print styles
([#1477](https://github.com/h5bp/html5-boilerplate/issues/1477)).
* Remove image replacement helper class `.ir`
Expand Down
6 changes: 1 addition & 5 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@
Base styles: opinionated defaults
========================================================================== */

html,
button,
input,
select,
textarea {
html {
color: #222;
}

Expand Down

0 comments on commit 1d81158

Please sign in to comment.