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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user