Skip to content

Commit 41272ec

Browse files
committed
Apply default border color to inputs
1 parent 08045f3 commit 41272ec

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- [2025-12-08] [Apply default border color to inputs](https://github.com/RubricLab/ui/commit/a9ed3f31c1f4de1bfb32376aa3aa1c1a1b9f1bf6)
12
- [2025-12-06] [Update docs](https://github.com/RubricLab/ui/commit/f4223f72d0351c410101f557a41c2c7693ea7e6b)
23
- [2025-11-19] [Add optional classNames to all components for developer convenience without adding classNames to zod schemas](https://github.com/RubricLab/fabric-ui/commit/b1f4809712893d5a03c39237890396a77ac894f8)
34
- [2025-11-12] [Wrap codeblock commas and brackets. Patch toggle contrast.](https://github.com/RubricLab/ui/commit/9af47b64492a33f6467f19bc4c797696738a1bce)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@
5353
"post-commit": "bun x @rubriclab/package post-commit"
5454
},
5555
"types": "./src/index.ts",
56-
"version": "5.1.45"
56+
"version": "5.1.46"
5757
}

src/components/input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Text } from './text'
99

1010
const inputVariantClasses: Record<z4.infer<typeof InputVariantEnum>, string> = {
1111
ghost: '',
12-
primary: 'border focus-visible:ring-2 focus-visible:ring-accent'
12+
primary: 'border border-border focus-visible:ring-2 focus-visible:ring-accent'
1313
}
1414

1515
const Input: React.FC<InputProps> = ({

src/components/textarea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Text } from './text'
99
const textareaVariantClasses: Record<z.infer<typeof TextareaVariantEnum>, string> = {
1010
ghost: 'p-0',
1111
primary:
12-
'border rounded-default bg-background px-3 py-2 focus-visible:ring-2 focus-visible:ring-accent'
12+
'border border-border rounded-default bg-background px-3 py-2 focus-visible:ring-2 focus-visible:ring-accent'
1313
}
1414

1515
const Textarea: React.FC<TextareaProps> = ({

0 commit comments

Comments
 (0)