mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 01:40:34 +01:00
fix(input): background should go into appearance
This commit is contained in:
@@ -101,7 +101,7 @@ const formGroup = {
|
|||||||
|
|
||||||
const input = {
|
const input = {
|
||||||
wrapper: 'relative',
|
wrapper: 'relative',
|
||||||
base: 'relative block w-full u-bg-white u-text-gray-700 disabled:cursor-not-allowed disabled:opacity-75 focus:outline-none',
|
base: 'relative block w-full disabled:cursor-not-allowed disabled:opacity-75 focus:outline-none',
|
||||||
size: {
|
size: {
|
||||||
xxs: 'text-xs',
|
xxs: 'text-xs',
|
||||||
xs: 'text-xs',
|
xs: 'text-xs',
|
||||||
@@ -139,7 +139,7 @@ const input = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
appearance: {
|
appearance: {
|
||||||
default: 'focus:ring-1 focus:ring-primary-500 focus:border-primary-500 dark:focus:border-primary-500 border u-border-gray-300 rounded-md shadow-sm',
|
default: 'u-bg-white u-text-gray-700 focus:ring-1 focus:ring-primary-500 focus:border-primary-500 dark:focus:border-primary-500 border u-border-gray-300 rounded-md shadow-sm',
|
||||||
none: 'border-0 bg-transparent focus:ring-0 focus:shadow-none'
|
none: 'border-0 bg-transparent focus:ring-0 focus:shadow-none'
|
||||||
},
|
},
|
||||||
icon: {
|
icon: {
|
||||||
|
|||||||
Reference in New Issue
Block a user