UI: tweak text editing fields for higher contrast
By default the text button background color was a similar brightness to the cursor, making it hard to see at times. Button types number/slider/text background brightness when editing varied quite a lot too. - Change the background while editing to match the number button. - Darken the selection for greater contrast. Resolves T59219
This commit is contained in:
parent
9e82499d2d
commit
f4c70a35a2
Notes:
blender-bot
2023-02-14 04:32:20 +01:00
Referenced by issue #59626, Renaming in outliner doesn't update icons position Referenced by issue #59219, UI: Text button cursor contrast is too low in the default theme
|
@ -51,8 +51,8 @@ const bTheme U_theme_default = {
|
|||
.wcol_text = {
|
||||
.outline = RGBA(0x444444ff),
|
||||
.inner = RGBA(0x1f1f1fff),
|
||||
.inner_sel = RGBA(0x808080ff),
|
||||
.item = RGBA(0x333333ff),
|
||||
.inner_sel = RGBA(0xb3b3b333),
|
||||
.item = RGBA(0x191919ff),
|
||||
.text = RGBA(0xe6e6e6ff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shaded = 1,
|
||||
|
@ -92,8 +92,8 @@ const bTheme U_theme_default = {
|
|||
.wcol_num = {
|
||||
.outline = RGBA(0x444444ff),
|
||||
.inner = RGBA(0x595959ff),
|
||||
.inner_sel = RGBA(0xb3b3b366),
|
||||
.item = RGBA(0x333333ff),
|
||||
.inner_sel = RGBA(0xb3b3b333),
|
||||
.item = RGBA(0x191919ff),
|
||||
.text = RGBA(0xe6e6e6ff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.roundness = 0.2f,
|
||||
|
@ -101,7 +101,7 @@ const bTheme U_theme_default = {
|
|||
.wcol_numslider = {
|
||||
.outline = RGBA(0x444444ff),
|
||||
.inner = RGBA(0x595959ff),
|
||||
.inner_sel = RGBA(0x333333ff),
|
||||
.inner_sel = RGBA(0xb3b3b333),
|
||||
.item = RGBA(0x5680c2e6),
|
||||
.text = RGBA(0xe6e6e6ff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
|
|
Loading…
Reference in New Issue