Skip to content

Commit

Permalink
Feature: Add word-spacing to default propList (#95)
Browse files Browse the repository at this point in the history
* Feature: Add `word-spacing` to default `propList`

See https://developer.mozilla.org/en-US/docs/Web/CSS/word-spacing for details.

* Update README
  • Loading branch information
rileyjshaw authored Feb 19, 2024
1 parent a90b209 commit 239fc3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Default:
{
rootValue: 16,
unitPrecision: 5,
propList: ['font', 'font-size', 'line-height', 'letter-spacing'],
propList: ['font', 'font-size', 'line-height', 'letter-spacing', 'word-spacing'],
selectorBlackList: [],
replace: true,
mediaQuery: false,
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const defaults = {
rootValue: 16,
unitPrecision: 5,
selectorBlackList: [],
propList: ["font", "font-size", "line-height", "letter-spacing"],
propList: ["font", "font-size", "line-height", "letter-spacing", "word-spacing"],
replace: true,
mediaQuery: false,
minPixelValue: 0,
Expand Down

0 comments on commit 239fc3a

Please sign in to comment.