diff --git a/.changeset/many-starfishes-refuse.md b/.changeset/many-starfishes-refuse.md new file mode 100644 index 0000000000..9319f29e4d --- /dev/null +++ b/.changeset/many-starfishes-refuse.md @@ -0,0 +1,5 @@ +--- +"@nextui-org/theme": patch +--- + +revise label font size for lg (#3073) diff --git a/packages/core/theme/src/components/date-input.ts b/packages/core/theme/src/components/date-input.ts index 62977f947f..4334d08d48 100644 --- a/packages/core/theme/src/components/date-input.ts +++ b/packages/core/theme/src/components/date-input.ts @@ -141,6 +141,7 @@ const dateInput = tv({ clearButton: "text-large", }, lg: { + label: "text-medium", input: "text-medium", inputWrapper: "h-12 min-h-12 rounded-large", }, @@ -387,7 +388,7 @@ const dateInput = tv({ labelPlacement: "inside", size: "lg", class: { - label: "text-small", + label: "text-medium", inputWrapper: "h-16 py-2.5 gap-0", }, }, diff --git a/packages/core/theme/src/components/input.ts b/packages/core/theme/src/components/input.ts index 975da764a8..627d86e090 100644 --- a/packages/core/theme/src/components/input.ts +++ b/packages/core/theme/src/components/input.ts @@ -144,6 +144,7 @@ const input = tv({ clearButton: "text-large", }, lg: { + label: "text-medium", inputWrapper: "h-12 min-h-12 rounded-large", input: "text-medium", clearButton: "text-large", @@ -177,7 +178,7 @@ const input = tv({ label: "relative text-foreground pe-2 ps-2 pointer-events-auto", }, inside: { - label: "text-tiny cursor-text", + label: "cursor-text", inputWrapper: "flex-col items-start justify-center gap-0", innerWrapper: "group-data-[has-label=true]:items-end", }, @@ -576,7 +577,6 @@ const input = tv({ labelPlacement: "inside", size: "lg", class: { - label: "text-small", inputWrapper: "h-16 py-2.5 gap-0", }, }, diff --git a/packages/core/theme/src/components/select.ts b/packages/core/theme/src/components/select.ts index bb70b7691f..f87220f9eb 100644 --- a/packages/core/theme/src/components/select.ts +++ b/packages/core/theme/src/components/select.ts @@ -542,7 +542,7 @@ const select = tv({ labelPlacement: "inside", size: "lg", class: { - label: "text-small", + label: "text-medium", trigger: "h-16 min-h-16 py-2.5 gap-0", }, },