Add new theme colors necessary for New Project Dialog on QDS

We need colors for the dialog box background, and for warning text messages.

Note: We currently don't have carefully picked colors for warning, so I used
standard yellow (ffff00). The values, for each theme, will need to be adjusted
later on.

Task-number: QDS-4490
Change-Id: I257522216b03610d9f12951e7cb6f7cfa182489f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Samuel Ghinet
2021-10-13 09:20:01 +03:00
parent 662d9a9564
commit b7d0902257
9 changed files with 37 additions and 0 deletions

View File

@@ -205,6 +205,7 @@ QtObject {
property string themeInteraction: Theme.color(Theme.DSinteraction)
property string themeError: Theme.color(Theme.DSerrorColor)
property string themeWarning: Theme.color(Theme.DSwarningColor)
property string themeDisabled: Theme.color(Theme.DSdisabledColor)
property string themeAliasIconChecked: Theme.color(Theme.DSnavigatorAliasIconChecked)
@@ -220,6 +221,10 @@ QtObject {
property string themeControlOutlineInteraction: Theme.color(Theme.DScontrolOutlineInteraction)
property string themeControlOutlineDisabled: Theme.color(Theme.DScontrolOutlineDisabled)
// Panels & Panes
property string themeBackgroundColorNormal: Theme.color(Theme.DSBackgroundColorNormal)
property string themeBackgroundColorAlternate: Theme.color(Theme.DSBackgroundColorAlternate)
// Text colors
property string themeTextColor: Theme.color(Theme.DStextColor)
property string themeTextColorDisabled: Theme.color(Theme.DStextColorDisabled)

View File

@@ -27,6 +27,7 @@ DSpanelBackground=ff323232
DSinteraction=ff2aafd3
DSerrorColor=ffdf3a3a
DSwarningColor=warning
DSdisabledColor=ff707070
DScontrolBackground=ff323232
@@ -154,6 +155,9 @@ DStoolTipText=ffdadada
DSUnimportedModuleColor=ffe33c2e
DSBackgroundColorAlternate=alternateBackground
DSBackgroundColorNormal=normalBackground
;DS controls theme END
BackgroundColorAlternate=alternateBackground

View File

@@ -18,6 +18,7 @@ DSpanelBackground=ffeaeaea
DSinteraction=ff2aafd3
DSerrorColor=ffdf3a3a
DSwarningColor=warning
DSdisabledColor=ff8e8e8e
DScontrolBackground=ffeaeaea
@@ -145,6 +146,9 @@ DStoolTipText=ffdadada
DSUnimportedModuleColor=ffe33c2e
DSBackgroundColorAlternate=alternateBackground
DSBackgroundColorNormal=normalBackground
;DS controls theme END
BackgroundColorAlternate=ff3d3d3d

View File

@@ -32,6 +32,7 @@ DSpanelBackground=ffeaeaea
DSinteraction=ff2aafd3
DSerrorColor=ffdf3a3a
DSwarningColor=warning
DSdisabledColor=ff8e8e8e
DScontrolBackground=ffeaeaea
@@ -159,6 +160,9 @@ DStoolTipText=ffdadada
DSUnimportedModuleColor=ffe33c2e
DSBackgroundColorAlternate=alternateBackground
DSBackgroundColorNormal=normalBackground
;DS controls theme END
BackgroundColorAlternate=alternateBackground

View File

@@ -29,6 +29,7 @@ DSpanelBackground=ff323232
DSinteraction=ff2aafd3
DSerrorColor=ffdf3a3a
DSwarningColor=warning
DSdisabledColor=ff707070
DScontrolBackground=ff323232
@@ -156,6 +157,9 @@ DStoolTipText=ffdadada
DSUnimportedModuleColor=ffe33c2e
DSBackgroundColorAlternate=alternateBackground
DSBackgroundColorNormal=normalBackground
;DS controls theme END
BackgroundColorAlternate=alternateBackground

View File

@@ -31,6 +31,7 @@ DSpanelBackground=ff323232
DSinteraction=ff2aafd3
DSerrorColor=ffdf3a3a
DSwarningColor=warning
DSdisabledColor=ff707070
DScontrolBackground=ff323232
@@ -158,6 +159,9 @@ DStoolTipText=ffdadada
DSUnimportedModuleColor=ffe33c2e
DSBackgroundColorAlternate=alternateBackground
DSBackgroundColorNormal=normalBackground
;DS controls theme END
BackgroundColorAlternate=alternateBackground

View File

@@ -27,6 +27,7 @@ DSpanelBackground=ffeaeaea
DSinteraction=ff2aafd3
DSerrorColor=ffdf3a3a
DSwarningColor=warning
DSdisabledColor=ff8e8e8e
DScontrolBackground=ffeaeaea
@@ -154,6 +155,9 @@ DStoolTipText=ffdadada
DSUnimportedModuleColor=ffe33c2e
DSBackgroundColorAlternate=alternateBackground
DSBackgroundColorNormal=normalBackground
;DS controls theme END
BackgroundColorAlternate=alternateBackground

View File

@@ -25,6 +25,7 @@ DSpanelBackground=ff323232
DSinteraction=ff2aafd3
DSerrorColor=ffdf3a3a
DSwarningColor=warning
DSdisabledColor=ff707070
DScontrolBackground=ff323232
@@ -152,6 +153,9 @@ DStoolTipText=ffdadada
DSUnimportedModuleColor=ffe33c2e
DSBackgroundColorAlternate=alternateBackground
DSBackgroundColorNormal=normalBackground
;DS controls theme END
BackgroundColorAlternate=alternateBackground

View File

@@ -309,6 +309,7 @@ public:
DSpanelBackground,
DSinteraction,
DSerrorColor,
DSwarningColor,
DSdisabledColor,
DScontrolBackground,
DScontrolBackgroundInteraction,
@@ -422,6 +423,9 @@ public:
DStoolTipOutline,
DStoolTipText,
DSBackgroundColorNormal,
DSBackgroundColorAlternate,
DSUnimportedModuleColor
};