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
Rectangle {
id: root
color: "#b7bdc0"
SystemPalette { id: palette; colorGroup: SystemPalette.Active }
color: palette.base
width: 360
height:300
......@@ -69,30 +70,36 @@ Rectangle {
columns: 2
Text {
color: palette.text
text: description
font.bold: true
font.pointSize: 13
}
Text {
color: palette.text
text: version
font.bold: true
font.pointSize: 10
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
}
Text {
color: palette.text
text: authorName
font.pointSize: 10
}
Text {
color: palette.text
text: license
font.pointSize: 7
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
}
Text {
color: palette.text
text: website
font.pointSize: 7
}
Text {
color: palette.text
text: email
font.pointSize: 7
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