Skip to content

Commit

Permalink
Pol Gubau; Some new styles
Browse files Browse the repository at this point in the history
  • Loading branch information
PolGubau committed Aug 14, 2023
1 parent 6910649 commit 86ca7ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/components/Inputs/Field/Field.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@ export const InputWithHelperTextAndError: Story = {
};
export const Disabled: Story = {
args: {
label: "I'm disabled",
disabled: true,
},
};
export const MaxLength: Story = {
args: {
label: "No more than 10 characters",
maxLength: 10,
},
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/Inputs/Field/Styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const inputStyles = tv({
p-2
ring-1
ring-primary
hover:shadow-lg
hover:shadow-lg
focus:ring-accent
peer`,
variants: {
Expand Down

0 comments on commit 86ca7ca

Please sign in to comment.