fix disabled input text color in light and dark theme; add disabled input to form example

This commit is contained in:
rolux 2015-10-19 14:57:23 +02:00
parent 7516c940f5
commit ea918ff6da
3 changed files with 11 additions and 2 deletions

View file

@ -345,6 +345,15 @@ Ox.load({Geo: {}, UI: {}, Unicode: {}}, function() {
min: 0,
type: 'int'
},
{
description: 'Input with text',
value: 'Text'
},
{
description: 'Disabled input with text',
disabled: true,
value: 'Text'
},
{
description: 'Input with placeholder',
placeholder: 'Placeholder'

View file

@ -94,7 +94,7 @@
"inputGradient": [[0, 0, 0], [32, 32, 32]],
"inputActiveGradient": [[16, 16, 16], [48, 48, 48]],
"inputDisabledColor": [128, 128, 128],
"inputDisabledColor": [64, 64, 64],
"inputDisabledGradient": [[16, 16, 16], [16, 16, 16]],
"inputErrorColor": [255, 64, 64],
"inputFocusBorder": [48, 48, 48],

View file

@ -94,7 +94,7 @@
"inputGradient": [[208, 208, 208], [255, 255, 255]],
"inputActiveGradient": [[192, 192, 192], [240, 240, 240]],
"inputDisabledColor": [128, 128, 128],
"inputDisabledColor": [64, 64, 64],
"inputDisabledGradient": [[224, 224, 224], [224, 224, 224]],
"inputErrorColor": [192, 64, 64],
"inputFocusBorder": [176, 176, 176],