Added option to change input field colors
This commit is contained in:
parent
757cdc2998
commit
4e177f67d3
3 changed files with 6 additions and 2 deletions
|
|
@ -28,6 +28,8 @@ Create file `theme.conf.user` in theme folder. See `slice/theme.conf` for refere
|
||||||
* `color_button_text` - button text color (in any state). Defaults to `#1f1f1f`.
|
* `color_button_text` - button text color (in any state). Defaults to `#1f1f1f`.
|
||||||
* `color_text` - main text and foreground elements color (such as progress bar and power icons). Defaults to `#dddddd`.
|
* `color_text` - main text and foreground elements color (such as progress bar and power icons). Defaults to `#dddddd`.
|
||||||
* `color_placeholder_text` - placeholder text color (in password field). Defaults to `#888888`.
|
* `color_placeholder_text` - placeholder text color (in password field). Defaults to `#888888`.
|
||||||
|
* `color_input_bg` - input field background color. Defaults to `#22ffffff`.
|
||||||
|
* `color_input_text` - input field background color. Defaults to `#dddddd`.
|
||||||
* `color_selection_bg` - selected text background color. Defaults to `#555555`.
|
* `color_selection_bg` - selected text background color. Defaults to `#555555`.
|
||||||
* `color_selection_text` - selected text color. Defaults to `#dddddd`.
|
* `color_selection_text` - selected text color. Defaults to `#dddddd`.
|
||||||
* `color_text_bg` - text elements background color. Defaults to `#22ffffff`.
|
* `color_text_bg` - text elements background color. Defaults to `#22ffffff`.
|
||||||
|
|
|
||||||
|
|
@ -220,7 +220,7 @@ Item
|
||||||
width: parent.width - 20
|
width: parent.width - 20
|
||||||
height: 25
|
height: 25
|
||||||
opacity: hasLoginShown ? 1 : 0
|
opacity: hasLoginShown ? 1 : 0
|
||||||
color: config.color_text
|
color: config.color_input_text
|
||||||
selectionColor: config.color_selection_bg
|
selectionColor: config.color_selection_bg
|
||||||
selectedTextColor: config.color_selection_text
|
selectedTextColor: config.color_selection_text
|
||||||
|
|
||||||
|
|
@ -264,7 +264,7 @@ Item
|
||||||
y: hasLoginShown ? pageRoot.height / 2.3 + 30 : pageRoot.height / 2.3 + 55
|
y: hasLoginShown ? pageRoot.height / 2.3 + 30 : pageRoot.height / 2.3 + 55
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: 40
|
height: 40
|
||||||
color: config.color_text_bg
|
color: config.color_input_bg
|
||||||
opacity: hasLoginShown ? 1 : 0
|
opacity: hasLoginShown ? 1 : 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,8 @@ color_button_bg_selected_hover=#cccccc
|
||||||
color_button_text=#1f1f1f
|
color_button_text=#1f1f1f
|
||||||
color_text=#dddddd
|
color_text=#dddddd
|
||||||
color_placeholder_text=#888888
|
color_placeholder_text=#888888
|
||||||
|
color_input_bg=#22ffffff
|
||||||
|
color_input_text=#dddddd
|
||||||
color_selection_bg=#555555
|
color_selection_bg=#555555
|
||||||
color_selection_text=#dddddd
|
color_selection_text=#dddddd
|
||||||
color_text_bg=#22ffffff
|
color_text_bg=#22ffffff
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue