fix disabled input text color in light and dark theme; add disabled input to form example
This commit is contained in:
parent
7516c940f5
commit
ea918ff6da
3 changed files with 11 additions and 2 deletions
|
@ -345,6 +345,15 @@ Ox.load({Geo: {}, UI: {}, Unicode: {}}, function() {
|
||||||
min: 0,
|
min: 0,
|
||||||
type: 'int'
|
type: 'int'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
description: 'Input with text',
|
||||||
|
value: 'Text'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
description: 'Disabled input with text',
|
||||||
|
disabled: true,
|
||||||
|
value: 'Text'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
description: 'Input with placeholder',
|
description: 'Input with placeholder',
|
||||||
placeholder: 'Placeholder'
|
placeholder: 'Placeholder'
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
|
|
||||||
"inputGradient": [[0, 0, 0], [32, 32, 32]],
|
"inputGradient": [[0, 0, 0], [32, 32, 32]],
|
||||||
"inputActiveGradient": [[16, 16, 16], [48, 48, 48]],
|
"inputActiveGradient": [[16, 16, 16], [48, 48, 48]],
|
||||||
"inputDisabledColor": [128, 128, 128],
|
"inputDisabledColor": [64, 64, 64],
|
||||||
"inputDisabledGradient": [[16, 16, 16], [16, 16, 16]],
|
"inputDisabledGradient": [[16, 16, 16], [16, 16, 16]],
|
||||||
"inputErrorColor": [255, 64, 64],
|
"inputErrorColor": [255, 64, 64],
|
||||||
"inputFocusBorder": [48, 48, 48],
|
"inputFocusBorder": [48, 48, 48],
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
|
|
||||||
"inputGradient": [[208, 208, 208], [255, 255, 255]],
|
"inputGradient": [[208, 208, 208], [255, 255, 255]],
|
||||||
"inputActiveGradient": [[192, 192, 192], [240, 240, 240]],
|
"inputActiveGradient": [[192, 192, 192], [240, 240, 240]],
|
||||||
"inputDisabledColor": [128, 128, 128],
|
"inputDisabledColor": [64, 64, 64],
|
||||||
"inputDisabledGradient": [[224, 224, 224], [224, 224, 224]],
|
"inputDisabledGradient": [[224, 224, 224], [224, 224, 224]],
|
||||||
"inputErrorColor": [192, 64, 64],
|
"inputErrorColor": [192, 64, 64],
|
||||||
"inputFocusBorder": [176, 176, 176],
|
"inputFocusBorder": [176, 176, 176],
|
||||||
|
|
Loading…
Reference in a new issue