Set selection color of textfields

CURA-8947
This commit is contained in:
Jaime van Kessel 2022-02-17 14:39:11 +01:00
parent b9feac9816
commit c528616d12
2 changed files with 3 additions and 1 deletions

View File

@ -153,8 +153,9 @@ SettingItem
} }
color: !enabled ? UM.Theme.getColor("setting_control_disabled_text") : UM.Theme.getColor("setting_control_text") color: !enabled ? UM.Theme.getColor("setting_control_disabled_text") : UM.Theme.getColor("setting_control_text")
selectedTextColor: UM.Theme.getColor("setting_control_text")
font: UM.Theme.getFont("default") font: UM.Theme.getFont("default")
selectionColor: UM.Theme.getColor("text_selection")
selectByMouse: true selectByMouse: true
maximumLength: (definition.type == "str" || definition.type == "[int]") ? -1 : 10 maximumLength: (definition.type == "str" || definition.type == "[int]") ? -1 : 10

View File

@ -183,6 +183,7 @@
"primary_hover": [48, 182, 231, 255], "primary_hover": [48, 182, 231, 255],
"primary_text": [255, 255, 255, 255], "primary_text": [255, 255, 255, 255],
"border": [127, 127, 127, 255], "border": [127, 127, 127, 255],
"text_selection": [156,195, 255, 127],
"secondary": [240, 240, 240, 255], "secondary": [240, 240, 240, 255],
"secondary_shadow": [216, 216, 216, 255], "secondary_shadow": [216, 216, 216, 255],