postcss-font-variant
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -0,1 +1,6 @@ | ||
# 1.1.0 - 2015-01-29 | ||
- Fixed: Properly handle font-variant-position:normal ([#3](https://github.com/postcss/postcss-font-variant/pull/3)) | ||
- Added: support font-kerning ([#2](https://github.com/postcss/postcss-font-variant/pull/2)) | ||
# 1.0.2 - 2015-01-27 | ||
@@ -2,0 +7,0 @@ |
12
index.js
@@ -20,3 +20,4 @@ /** | ||
sub: "\"subs\"", | ||
"super": "\"sups\"" | ||
"super": "\"sups\"", | ||
normal: "\"subs\" off, \"sups\" off" | ||
}, | ||
@@ -44,2 +45,7 @@ | ||
"font-kerning": { | ||
normal: "\"kern\"", | ||
none: "\"kern\" off" | ||
}, | ||
"font-variant": { | ||
@@ -55,3 +61,5 @@ normal: "normal", | ||
for (var key in keys) { | ||
fontVariantProperties["font-variant"][key] = keys[key] | ||
if (!(key in fontVariantProperties["font-variant"])) { | ||
fontVariantProperties["font-variant"][key] = keys[key] | ||
} | ||
} | ||
@@ -58,0 +66,0 @@ } |
{ | ||
"name": "postcss-font-variant", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "PostCSS plugin to transform W3C font-variant properties to more compatible CSS (font-feature-settings)", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"jshint": "^2.5.6", | ||
"postcss": "^3.0.0", | ||
"postcss": "^4.0.2", | ||
"tape": "^3.0.0" | ||
@@ -31,0 +31,0 @@ }, |
7156
108