Skip to content

Commit

Permalink
Reduce size of gradient chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnw committed Feb 4, 2025
1 parent c40aaf1 commit 2854bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const sliderGradient = ({
hue: 'raw',
// Smaller values will take longer, larger will be less precise and
// produce fuzzy edges. This magic number seems to balance that.
maxDeltaE: 10,
maxDeltaE: 2,
});
let wasInGamut = true;
const inGamutSteps: string[] = [];
Expand Down

0 comments on commit 2854bc9

Please sign in to comment.