Commit 3a43aa10 authored by Björn Feber's avatar Björn Feber Committed by Nate Graham

Don't use hardcoded background color

Summary:
Fixes the hardcoded SDDM theme preview background color
{F6530004}
{F6530005}

Test Plan: Open the SDDM KCM

Reviewers: #vdg, #breeze, davidedmundson, ngraham

Reviewed By: #vdg, #breeze, davidedmundson, ngraham

Subscribers: ngraham, davidedmundson, #breeze, plasma-devel, #vdg

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18016
parent 1301e6c7
...@@ -19,7 +19,8 @@ import QtQuick.Layouts 1.1 ...@@ -19,7 +19,8 @@ import QtQuick.Layouts 1.1
Rectangle { Rectangle {
id: root id: root
color: "#b7bdc0" SystemPalette { id: palette; colorGroup: SystemPalette.Active }
color: palette.base
width: 360 width: 360
height:300 height:300
...@@ -69,30 +70,36 @@ Rectangle { ...@@ -69,30 +70,36 @@ Rectangle {
columns: 2 columns: 2
Text { Text {
color: palette.text
text: description text: description
font.bold: true font.bold: true
font.pointSize: 13 font.pointSize: 13
} }
Text { Text {
color: palette.text
text: version text: version
font.bold: true font.bold: true
font.pointSize: 10 font.pointSize: 10
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
} }
Text { Text {
color: palette.text
text: authorName text: authorName
font.pointSize: 10 font.pointSize: 10
} }
Text { Text {
color: palette.text
text: license text: license
font.pointSize: 7 font.pointSize: 7
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
} }
Text { Text {
color: palette.text
text: website text: website
font.pointSize: 7 font.pointSize: 7
} }
Text { Text {
color: palette.text
text: email text: email
font.pointSize: 7 font.pointSize: 7
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment