Skip to content

Commit

Permalink
,more
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertCarreras committed Oct 24, 2024
1 parent 8b0af01 commit 4f1d0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gestalt/src/transforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const mapping =
export const range =
(scale: string): ((n: number) => Style) =>
(n): Style =>
fromClassName(`${scale}${n < 0 ? `N${Math.abs(n * 100)}` : n * 100}`);
fromClassName(`${scale}${n < 0 ? `N${Math.abs(n)}` : n}`);

export const rangeWithZero =
(scale: string): ((n: number) => Style) =>
Expand Down

0 comments on commit 4f1d0d3

Please sign in to comment.