From 9b924d73da90526f5caf31b01dfd34156337f075 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 9 May 2019 17:07:06 +0200 Subject: Themes: add scene icon color category, for consistency in properties tab bar The icons here still need to be dimmed when the tab is inactive. --- release/datafiles/userdef/userdef_default_theme.c | 1 + release/scripts/presets/interface_theme/blender_light.xml | 1 + release/scripts/startup/bl_ui/space_userpref.py | 1 + 3 files changed, 3 insertions(+) (limited to 'release') diff --git a/release/datafiles/userdef/userdef_default_theme.c b/release/datafiles/userdef/userdef_default_theme.c index ec0b49c2d65..c13e31c9092 100644 --- a/release/datafiles/userdef/userdef_default_theme.c +++ b/release/datafiles/userdef/userdef_default_theme.c @@ -248,6 +248,7 @@ const bTheme U_theme_default = { .gizmo_secondary = RGBA(0x63ffffff), .gizmo_a = RGBA(0x4da84dff), .gizmo_b = RGBA(0xa33535ff), + .icon_scene = RGBA(0xe6e6e6ff), .icon_collection = RGBA(0xe6e6e6ff), .icon_object = RGBA(0xe49759ff), .icon_object_data = RGBA(0x89e689ff), diff --git a/release/scripts/presets/interface_theme/blender_light.xml b/release/scripts/presets/interface_theme/blender_light.xml index d1fc068853f..0420092c3a8 100644 --- a/release/scripts/presets/interface_theme/blender_light.xml +++ b/release/scripts/presets/interface_theme/blender_light.xml @@ -16,6 +16,7 @@ gizmo_secondary="#63ffff" gizmo_a="#4da84d" gizmo_b="#a33535" + icon_scene="#000000ff" icon_collection="#000000ff" icon_object="#000000ff" icon_object_data="#000000ff" diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index a14ffc33034..6db31775257 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -889,6 +889,7 @@ class USERPREF_PT_theme_interface_icons(PreferencePanel, Panel): flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, even_rows=False, align=False) + flow.prop(ui, "icon_scene") flow.prop(ui, "icon_collection") flow.prop(ui, "icon_object") flow.prop(ui, "icon_object_data") -- cgit v1.2.3