UI: Theme: Add text color settings to panels
Recently, panel styling was moved to a global setting instead of being per-editor. However, the panel's title and labels inside still rely on the per-editor region's text and title settings. Move panel title and text colors to the global "Panel" settings. See PR for details and screenshots. Part of #135192 Pull Request: https://projects.blender.org/blender/blender/pulls/140726
This commit is contained in:
committed by
Pablo Vazquez
parent
1b9f9dd96f
commit
695a03d9f4
@@ -272,6 +272,8 @@ const bTheme U_theme_default = {
|
||||
.panel_back = RGBA(0x3d3d3dff),
|
||||
.panel_sub_back = RGBA(0x0000001f),
|
||||
.panel_outline = RGBA(0xffffff11),
|
||||
.panel_title = RGBA(0xe6e6e600),
|
||||
.panel_text = RGBA(0xe6e6e600),
|
||||
},
|
||||
.space_properties = {
|
||||
.back = RGBA(0x30303000),
|
||||
@@ -283,9 +285,6 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_back = RGBA(0x1d1d1d00),
|
||||
.button = RGBA(0x303030ff),
|
||||
.button_title = RGBA(0xffffff00),
|
||||
.button_text = RGBA(0xcccccc00),
|
||||
.button_text_hi = RGBA(0xffffff00),
|
||||
.active = RGBA(0x4772b3ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
@@ -303,9 +302,6 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_back = RGBA(0x18181800),
|
||||
.button = RGBA(0x30303000),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xccccccff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.grid = RGBA(0x54545480),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.wire_edit = RGBA(0x000000ff),
|
||||
@@ -392,9 +388,6 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_back = RGBA(0x18181800),
|
||||
.button = RGBA(0x30303000),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xccccccff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.hilite = RGBA(0x4772b3ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
@@ -411,9 +404,6 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_back = RGBA(0x18181800),
|
||||
.button = RGBA(0x30303000),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xccccccff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0x1d1d1dff),
|
||||
.list_title = RGBA(0xffffffff),
|
||||
.list_text = RGBA(0xb8b8b8ff),
|
||||
@@ -481,9 +471,6 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_back = RGBA(0x18181800),
|
||||
.button = RGBA(0x22222200),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xccccccff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0x1d1d1dff),
|
||||
.list_title = RGBA(0xffffffff),
|
||||
.list_text = RGBA(0xb8b8b8ff),
|
||||
@@ -536,9 +523,6 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_back = RGBA(0x18181800),
|
||||
.button = RGBA(0x30303000),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xccccccff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0x1d1d1dff),
|
||||
.list_title = RGBA(0xffffffff),
|
||||
.list_text = RGBA(0xb8b8b8ff),
|
||||
@@ -582,9 +566,6 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_back = RGBA(0x18181800),
|
||||
.button = RGBA(0x30303000),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xccccccff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0x18181800),
|
||||
.list_title = RGBA(0xffffffff),
|
||||
.list_text = RGBA(0xffffffff),
|
||||
@@ -647,9 +628,6 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_back = RGBA(0x18181800),
|
||||
.button = RGBA(0x30303000),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xccccccff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.grid = RGBA(0x303030ff),
|
||||
.wire_edit = RGBA(0xc0c0c0ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
@@ -694,9 +672,6 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_back = RGBA(0x18181800),
|
||||
.button = RGBA(0x30303000),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xccccccff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.shade2 = RGBA(0x4d4d4de6),
|
||||
.hilite = RGBA(0x71a8ffff),
|
||||
.grid = RGBA(0x1d1d1dff),
|
||||
@@ -742,9 +717,6 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_back = RGBA(0x18181800),
|
||||
.button = RGBA(0x30303000),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xccccccff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0x303030ff),
|
||||
.list_title = RGBA(0xffffffff),
|
||||
.list_text = RGBA(0xb8b8b8ff),
|
||||
@@ -799,9 +771,6 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_back = RGBA(0x30303000),
|
||||
.button = RGBA(0x303030ff),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xccccccff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
@@ -834,9 +803,6 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_back = RGBA(0x18181800),
|
||||
.button = RGBA(0x30303000),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xccccccff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0x303030ff),
|
||||
.list_title = RGBA(0xffffff00),
|
||||
.list_text = RGBA(0xb8b8b8ff),
|
||||
@@ -908,9 +874,6 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_back = RGBA(0x18181800),
|
||||
.button = RGBA(0x30303000),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xccccccff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0x303030ff),
|
||||
.list_title = RGBA(0xc3c3c3ff),
|
||||
.list_text = RGBA(0xb8b8b8ff),
|
||||
|
||||
Reference in New Issue
Block a user