Skip to content

Commit

Permalink
refactor(theme): update input and select component styles (#1905)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgarciadev authored Nov 6, 2023
1 parent 85a820e commit 11ef436
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/cyan-walls-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/theme": patch
---

Input/Select text size changed for sm size.
2 changes: 1 addition & 1 deletion packages/core/theme/src/components/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const input = tv({
sm: {
label: "text-tiny",
inputWrapper: "h-unit-8 min-h-unit-8 px-2 rounded-small",
input: "text-tiny",
input: "text-small",
clearButton: "text-medium",
},
md: {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/theme/src/components/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const select = tv({
sm: {
label: "text-tiny",
trigger: "h-unit-8 min-h-unit-8 px-2 rounded-small",
value: "text-tiny",
value: "text-small",
},
md: {
trigger: "h-unit-10 min-h-unit-10 rounded-medium",
Expand Down

2 comments on commit 11ef436

@vercel
Copy link

@vercel vercel bot commented on 11ef436 Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 11ef436 Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.