We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95c8fbf commit 3eac8d6Copy full SHA for 3eac8d6
.changeset/mighty-dodos-peel.md
@@ -0,0 +1,5 @@
1
+---
2
+"@cube-dev/ui-kit": patch
3
4
+
5
+Fix the focused state styles of text inputs.
src/components/fields/TextInput/TextInputBase.tsx
@@ -63,15 +63,13 @@ export const INPUT_WRAPPER_STYLES: Styles = {
63
},
64
border: {
65
'': true,
66
- focused: '#purple-text',
67
valid: '#success-text.50',
68
invalid: '#danger-text.50',
+ focused: '#purple-text',
69
+ 'valid & focused': '#success-text',
70
+ 'invalid & focused': '#danger-text',
71
disabled: true,
72
- outline: {
- '': '#purple-03.0',
73
- 'invalid & focused': '#danger.50',
74
- },
75
preset: 't3',
76
radius: true,
77
cursor: 'text',
0 commit comments