Skip to content

Commit

Permalink
fix: use decimal places in gap props
Browse files Browse the repository at this point in the history
  • Loading branch information
tigranpetrossian committed Jul 23, 2024
1 parent ce3e06c commit fdfebe5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions figma-kit/src/components/flex/flex.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ const meta: Meta<typeof Flex> = {
options: [
'0',
'px',
'0_5',
'0.5',
'1',
'1_5',
'1.5',
'2',
'2_5',
'2.5',
'3',
'3_5',
'3.5',
'4',
'5',
'6',
Expand Down
8 changes: 4 additions & 4 deletions figma-kit/src/components/flex/flex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import { cva } from 'class-variance-authority';
const gapVariants = {
'0': 'fp-gap-0',
px: 'fp-gap-px',
'0_5': 'fp-gap-0_5',
'0.5': 'fp-gap-0_5',
'1': 'fp-gap-1',
'1_5': 'fp-gap-1_5',
'1.5': 'fp-gap-1_5',
'2': 'fp-gap-2',
'2_5': 'fp-gap-2_5',
'2.5': 'fp-gap-2_5',
'3': 'fp-gap-3',
'3_5': 'fp-gap-3_5',
'3.5': 'fp-gap-3_5',
'4': 'fp-gap-4',
'5': 'fp-gap-5',
'6': 'fp-gap-6',
Expand Down

0 comments on commit fdfebe5

Please sign in to comment.