From 6940762e4acf523842712ac335fcfd845b96d5f4 Mon Sep 17 00:00:00 2001 From: cssmagic Date: Tue, 1 Nov 2016 18:02:05 +0800 Subject: [PATCH] Fix font style of form elements in Normalize.css v5. --- package.json | 3 ++- src/zero.styl | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index be39522..0284b8a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cmui-zero", - "version": "0.1.0", + "version": "0.1.1", "homepage": "https://github.com/CMUI/zero", "author": "cssmagic ", "description": "HTML5 CSS reset in Stylus.", @@ -12,6 +12,7 @@ "license": "MIT", "scripts": { "dist": "gulp", + "prepublish": "npm run dist", "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies": { diff --git a/src/zero.styl b/src/zero.styl index 8e69209..6129c47 100644 --- a/src/zero.styl +++ b/src/zero.styl @@ -62,3 +62,13 @@ hr reset-border() border-top 1px solid background-color transparent + +/* --------------------------------------------- */ +/* fix: normalize.css v5.0.0 */ +button +input +optgroup +select +textarea + font-family inherit + line-height inherit