fix(theme): set alternate-background-color on item views

Qt defaults alternate-background-color to white when unset. Add
#181825 (Mantle) as the alternate row color to QTreeView, QListView,
QTableView, and the property editor in both KindredCreate.qss copies.
This commit is contained in:
forbes
2026-01-31 12:29:31 -06:00
parent 8639b6fd8a
commit fea1280fa9
2 changed files with 8 additions and 0 deletions

View File

@@ -750,6 +750,7 @@ QGroupBox::title {
QTreeView {
background-color: #1e1e2e;
alternate-background-color: #181825;
color: #cdd6f4;
border: 1px solid #45475a;
border-radius: 4px;
@@ -803,6 +804,7 @@ QTreeView::branch:open:has-children:has-siblings {
QListView {
background-color: #1e1e2e;
alternate-background-color: #181825;
color: #cdd6f4;
border: 1px solid #45475a;
border-radius: 4px;
@@ -829,6 +831,7 @@ QListView::item:selected {
QTableView {
background-color: #1e1e2e;
alternate-background-color: #181825;
color: #cdd6f4;
border: 1px solid #45475a;
border-radius: 4px;
@@ -1091,6 +1094,7 @@ QWizard QLabel {
/* Property Editor */
Gui--PropertyEditor--PropertyEditor {
background-color: #1e1e2e;
alternate-background-color: #181825;
color: #cdd6f4;
border: 1px solid #45475a;
qproperty-groupBackground: #313244;

View File

@@ -750,6 +750,7 @@ QGroupBox::title {
QTreeView {
background-color: #1e1e2e;
alternate-background-color: #181825;
color: #cdd6f4;
border: 1px solid #45475a;
border-radius: 4px;
@@ -803,6 +804,7 @@ QTreeView::branch:open:has-children:has-siblings {
QListView {
background-color: #1e1e2e;
alternate-background-color: #181825;
color: #cdd6f4;
border: 1px solid #45475a;
border-radius: 4px;
@@ -829,6 +831,7 @@ QListView::item:selected {
QTableView {
background-color: #1e1e2e;
alternate-background-color: #181825;
color: #cdd6f4;
border: 1px solid #45475a;
border-radius: 4px;
@@ -1091,6 +1094,7 @@ QWizard QLabel {
/* Property Editor */
Gui--PropertyEditor--PropertyEditor {
background-color: #1e1e2e;
alternate-background-color: #181825;
color: #cdd6f4;
border: 1px solid #45475a;
qproperty-groupBackground: #313244;