Skip to content

Commit

Permalink
fix(plugin): plugin fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fluid-design-io committed Aug 18, 2022
1 parent 4377018 commit 17910e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ const contrastColor = (value, step = undefined, blackWhite = false) => {
? '#000'
: combineAlpha(checkDarkness(color, 'dark'), alpha)
: blackWhite
? '#FFF'
: combineAlpha(checkDarkness(color, 'light'), alpha);
? '#FFF'
: combineAlpha(checkDarkness(color, 'light'), alpha);
}
return value;
};
Expand Down

0 comments on commit 17910e1

Please sign in to comment.