Skip to content

Commit 239fc3a

Browse files
authored
Feature: Add word-spacing to default propList (#95)
* Feature: Add `word-spacing` to default `propList` See https://developer.mozilla.org/en-US/docs/Web/CSS/word-spacing for details. * Update README
1 parent a90b209 commit 239fc3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Default:
6363
{
6464
rootValue: 16,
6565
unitPrecision: 5,
66-
propList: ['font', 'font-size', 'line-height', 'letter-spacing'],
66+
propList: ['font', 'font-size', 'line-height', 'letter-spacing', 'word-spacing'],
6767
selectorBlackList: [],
6868
replace: true,
6969
mediaQuery: false,

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const defaults = {
66
rootValue: 16,
77
unitPrecision: 5,
88
selectorBlackList: [],
9-
propList: ["font", "font-size", "line-height", "letter-spacing"],
9+
propList: ["font", "font-size", "line-height", "letter-spacing", "word-spacing"],
1010
replace: true,
1111
mediaQuery: false,
1212
minPixelValue: 0,

0 commit comments

Comments
 (0)