Bugfix. Conflict dialog for multiple files. Fix checkbox border colors for dark mode...
authoralex-z <blackslayer4@gmail.com>
Wed, 24 Apr 2024 22:43:01 +0000 (00:43 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 25 Apr 2024 08:14:34 +0000 (08:14 +0000)
Signed-off-by: alex-z <blackslayer4@gmail.com>
src/gui/ConflictItemFileInfo.qml
src/gui/ResolveConflictsDialog.qml

index be345f7e8a9455de30c7aa03e72f3a16db708edd..7a706f7b7fc022b01690fbf93a46df24be68b758 100644 (file)
@@ -31,6 +31,24 @@ Item {
     CheckBox {
         id: selectItem
 
+        palette {
+            text: Style.ncTextColor
+            windowText: Style.ncTextColor
+            buttonText: Style.ncTextColor
+            brightText: Style.ncTextBrightColor
+            highlight: Style.lightHover
+            highlightedText: Style.ncTextColor
+            light: Style.lightHover
+            midlight: Style.ncSecondaryTextColor
+            mid: Style.darkerHover
+            dark: Style.menuBorder
+            button: Style.buttonBackgroundColor
+            window: palette.dark // NOTE: Fusion theme uses darker window colour for the border of the checkbox
+            base: Style.backgroundColor
+            toolTipBase: Style.backgroundColor
+            toolTipText: Style.ncTextColor
+        }
+
         anchors.left: parent.left
         anchors.verticalCenter: parent.verticalCenter
 
index 823c4d0b25db8633168884352bfc0f11283fbbf1..285bd8c038a2716228a069228b2e0d087914d263 100644 (file)
@@ -94,6 +94,24 @@ ApplicationWindow {
 
                 Layout.fillWidth: true
 
+                palette {
+                    text: Style.ncTextColor
+                    windowText: Style.ncTextColor
+                    buttonText: Style.ncTextColor
+                    brightText: Style.ncTextBrightColor
+                    highlight: Style.lightHover
+                    highlightedText: Style.ncTextColor
+                    light: Style.lightHover
+                    midlight: Style.ncSecondaryTextColor
+                    mid: Style.darkerHover
+                    dark: Style.menuBorder
+                    button: Style.buttonBackgroundColor
+                    window: palette.dark // NOTE: Fusion theme uses darker window colour for the border of the checkbox
+                    base: Style.backgroundColor
+                    toolTipBase: Style.backgroundColor
+                    toolTipText: Style.ncTextColor
+                }
+
                 text: qsTr('All local versions')
 
                 leftPadding: 0
@@ -112,6 +130,24 @@ ApplicationWindow {
 
                 Layout.fillWidth: true
 
+                palette {
+                    text: Style.ncTextColor
+                    windowText: Style.ncTextColor
+                    buttonText: Style.ncTextColor
+                    brightText: Style.ncTextBrightColor
+                    highlight: Style.lightHover
+                    highlightedText: Style.ncTextColor
+                    light: Style.lightHover
+                    midlight: Style.ncSecondaryTextColor
+                    mid: Style.darkerHover
+                    dark: Style.menuBorder
+                    button: Style.buttonBackgroundColor
+                    window: palette.dark // NOTE: Fusion theme uses darker window colour for the border of the checkbox
+                    base: Style.backgroundColor
+                    toolTipBase: Style.backgroundColor
+                    toolTipText: Style.ncTextColor
+                }
+
                 text: qsTr('All server versions')
 
                 leftPadding: 0