aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrook Cronin <brook.cronin@qt.io>2020-04-16 17:26:30 +0200
committerBrook Cronin <brook.cronin@qt.io>2020-05-05 12:49:52 +0000
commitae5466f3b1e52163a5fa12fd533acdb2db6a687d (patch)
treef52757500f36fc2a6208b7de3cb729d8edb13049
parentcc04c8d8e42b8187e8289c8e2e4fdcf5fce8c11a (diff)
Theme: fix css to use theme colors
Change-Id: I82c278696e72d0a1ed08afef0e161fd83be0206f Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
-rw-r--r--src/plugins/qmldesigner/components/connectioneditor/stylesheet.css4
-rw-r--r--src/plugins/qmldesigner/components/resources/stylesheet.css8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/qmldesigner/components/connectioneditor/stylesheet.css b/src/plugins/qmldesigner/components/connectioneditor/stylesheet.css
index aeacc637330..5155ac3efac 100644
--- a/src/plugins/qmldesigner/components/connectioneditor/stylesheet.css
+++ b/src/plugins/qmldesigner/components/connectioneditor/stylesheet.css
@@ -40,7 +40,7 @@ QHeaderView::section {
background-color: #494949;
padding: 4px;
border: 1px solid black;
- color: #cacaca;
+ color: creatorTheme.DStextColor;
margin: 2px
}
@@ -54,7 +54,7 @@ QWidget#widgetSpacer {
QStackedWidget {
border: 0px;
- background-color: #4f4f4f;
+ background-color: creatorTheme.QmlDesigner_TabLight;
}
QTabBar::tab:selected {
diff --git a/src/plugins/qmldesigner/components/resources/stylesheet.css b/src/plugins/qmldesigner/components/resources/stylesheet.css
index 841540f1c87..cc72eae062d 100644
--- a/src/plugins/qmldesigner/components/resources/stylesheet.css
+++ b/src/plugins/qmldesigner/components/resources/stylesheet.css
@@ -51,12 +51,12 @@ QLineEdit#itemLibrarySearchInput
QComboBox QAbstractItemView {
show-decoration-selected: 1; /* make the selection span the entire width of the view */
- background-color: #494949; /* sets background of the menu */
+ background-color: creatorTheme.DSpanelBackground; /* sets background of the menu */
border: 1px solid black;
margin: 0px; /* some spacing around the menu */
- color: #cacaca;
- selection-background-color: #d2d2d2;
- selection-color: #404040;
+ color: creatorTheme.DStextColor;
+ selection-background-color: creatorTheme.DSinteraction;
+ selection-color: creatorTheme.DStextSelectedTextColor;
}
QTabWidget {