diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2019-05-09 16:53:44 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-09 20:55:10 +0300 |
commit | 5f7eebda23b844e932294b1ecaced46b5c75dde0 (patch) | |
tree | 0cdb5d6955d812a9ae5a64e8d48e8de76dffb4ee /release | |
parent | 9b924d73da90526f5caf31b01dfd34156337f075 (diff) |
Themes: add setting to draw border around icons, use for Blender Light
Monochrome colored icons don't work well on a dark background, so now we can
add a border around them. Note that most icons in the interface will remain
without a border, just the outliner and properties editor navigation have
colored icons and those will get a border. Other icons continue to be drawn
in the text colored without a border.
Differential Revision: https://developer.blender.org/D4787
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/presets/interface_theme/blender_light.xml | 13 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 1 |
2 files changed, 8 insertions, 6 deletions
diff --git a/release/scripts/presets/interface_theme/blender_light.xml b/release/scripts/presets/interface_theme/blender_light.xml index 0420092c3a8..bb2b14a18d2 100644 --- a/release/scripts/presets/interface_theme/blender_light.xml +++ b/release/scripts/presets/interface_theme/blender_light.xml @@ -16,12 +16,13 @@ gizmo_secondary="#63ffff" gizmo_a="#4da84d" gizmo_b="#a33535" - icon_scene="#000000ff" - icon_collection="#000000ff" - icon_object="#000000ff" - icon_object_data="#000000ff" - icon_modifier="#000000ff" - icon_shading="#000000ff" + icon_scene="#e6e6e6ff" + icon_collection="#e6e6e6ff" + icon_object="#e49759ff" + icon_object_data="#89e689ff" + icon_modifier="#84b8ffff" + icon_shading="#ff6060ff" + icon_border_intensity="0.75" > <wcol_regular> <ThemeWidgetColors diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 6db31775257..46cd4bfa904 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -895,6 +895,7 @@ class USERPREF_PT_theme_interface_icons(PreferencePanel, Panel): flow.prop(ui, "icon_object_data") flow.prop(ui, "icon_modifier") flow.prop(ui, "icon_shading") + flow.prop(ui, "icon_border_intensity") class USERPREF_PT_theme_text_style(PreferencePanel, Panel): |