From 1c4df2aa073a4f791e54d4eede91e3bfbb8ee233 Mon Sep 17 00:00:00 2001 From: timmytofu Date: Sun, 29 Dec 2013 19:16:41 +0200 Subject: [PATCH] Remove default foreground color from form elements 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: #1390. Close: #1390. --- CHANGELOG.md | 2 ++ css/main.css | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00f80a6b39..f6c17902b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` diff --git a/css/main.css b/css/main.css index dc4f325155..25cff4d1ea 100644 --- a/css/main.css +++ b/css/main.css @@ -10,11 +10,7 @@ Base styles: opinionated defaults ========================================================================== */ -html, -button, -input, -select, -textarea { +html { color: #222; }