diff --git a/packages/react/src/components/input/Input.stories.tsx b/packages/react/src/components/input/Input.stories.tsx index 076185f..837e524 100644 --- a/packages/react/src/components/input/Input.stories.tsx +++ b/packages/react/src/components/input/Input.stories.tsx @@ -12,9 +12,9 @@ const Component: Meta = { argTypes: { size: { control: { type: 'select' }, - options: ['xs', 'sm', 'md', 'lg', 'xl'], + options: ['xs', 'sm', 'md', 'lg'], }, - status: { + color: { control: { type: 'select' }, options: ['neutral', 'brand', 'success', 'info', 'warning', 'danger'], }, diff --git a/packages/theme/src/components/input.ts b/packages/theme/src/components/input.ts index 4d46e01..4433f37 100644 --- a/packages/theme/src/components/input.ts +++ b/packages/theme/src/components/input.ts @@ -35,6 +35,10 @@ export const input = tv({ }, }, size: { + xs: { + group: ['text-xs'], + input: ['min-h-6', 'placeholder:text-xs'], + }, sm: { group: ['text-sm'], input: ['min-h-8', 'placeholder:text-sm'], @@ -44,8 +48,8 @@ export const input = tv({ input: ['min-h-10', 'placeholder:text-base'], }, lg: { - group: ['min-h-12', 'text-lg'], - input: ['placeholder:text-lg'], + group: ['text-lg'], + input: ['min-h-12', 'placeholder:text-lg'], }, }, shape: {