Skip to content

Commit

Permalink
fix(core): remove round from hsl
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong committed Apr 13, 2024
1 parent fc2565b commit 927a225
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/core/theme/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ const resolveConfig = (
if (!colorValue) return;

try {
const parsedColor =
parsedColorsCache[colorValue] || Color(colorValue).hsl().round(1).array();
const parsedColor = parsedColorsCache[colorValue] || Color(colorValue).hsl().array();

parsedColorsCache[colorValue] = parsedColor;

Expand Down

0 comments on commit 927a225

Please sign in to comment.