diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-14 07:04:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-14 07:09:32 +0300 |
commit | f4c70a35a292eb76417c7683aa651e5c07710822 (patch) | |
tree | 9925bafd5ac053aa9b172774c955e00967ad9cba /release/datafiles/userdef/userdef_default_theme.c | |
parent | 9e82499d2d1ce6b17999b9cb0bc9feb9499a8eaf (diff) |
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
Diffstat (limited to 'release/datafiles/userdef/userdef_default_theme.c')
-rw-r--r-- | release/datafiles/userdef/userdef_default_theme.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/datafiles/userdef/userdef_default_theme.c b/release/datafiles/userdef/userdef_default_theme.c index 90e8ca256aa..668cb29da3d 100644 --- a/release/datafiles/userdef/userdef_default_theme.c +++ b/release/datafiles/userdef/userdef_default_theme.c @@ -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), |