summaryrefslogtreecommitdiff
path: root/modules/controlcenter/appearance/AppearancePane.qml
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-13 22:21:29 -0500
committerATMDA <atdma2600@gmail.com>2025-11-13 22:21:29 -0500
commit97e1bde96b698cb85cd663c8d4343a6b40da34a3 (patch)
tree5676e6d15c6bd062da0497b6a187a791bf6ca14b /modules/controlcenter/appearance/AppearancePane.qml
parentcontrolcenter: collapsiblegroups animation and styling tweaked (diff)
downloadcaelestia-shell-97e1bde96b698cb85cd663c8d4343a6b40da34a3.tar.gz
caelestia-shell-97e1bde96b698cb85cd663c8d4343a6b40da34a3.tar.bz2
caelestia-shell-97e1bde96b698cb85cd663c8d4343a6b40da34a3.zip
controlcenter: appearance pane tweaks
Diffstat (limited to 'modules/controlcenter/appearance/AppearancePane.qml')
-rw-r--r--modules/controlcenter/appearance/AppearancePane.qml35
1 files changed, 11 insertions, 24 deletions
diff --git a/modules/controlcenter/appearance/AppearancePane.qml b/modules/controlcenter/appearance/AppearancePane.qml
index e4d5892..efd67e9 100644
--- a/modules/controlcenter/appearance/AppearancePane.qml
+++ b/modules/controlcenter/appearance/AppearancePane.qml
@@ -1000,44 +1000,31 @@ RowLayout {
StyledText {
Layout.topMargin: Appearance.spacing.large
Layout.alignment: Qt.AlignHCenter
- text: qsTr("Theme mode")
- font.pointSize: Appearance.font.size.larger
- font.weight: 500
- }
-
- StyledText {
- Layout.alignment: Qt.AlignHCenter
- text: Colours.currentLight ? qsTr("Light mode") : qsTr("Dark mode")
- color: Colours.palette.m3outline
- }
-
- StyledText {
- Layout.topMargin: Appearance.spacing.large
- Layout.alignment: Qt.AlignHCenter
text: qsTr("Wallpaper")
- font.pointSize: Appearance.font.size.larger
- font.weight: 500
+ font.pointSize: Appearance.font.size.extraLarge
+ font.weight: 600
}
StyledText {
Layout.alignment: Qt.AlignHCenter
text: qsTr("Select a wallpaper")
- color: Colours.palette.m3outline
+ font.pointSize: Appearance.font.size.normal
+ color: Colours.palette.m3onSurfaceVariant
}
GridLayout {
Layout.fillWidth: true
- Layout.topMargin: Appearance.spacing.normal
+ Layout.topMargin: Appearance.spacing.large
Layout.alignment: Qt.AlignHCenter
- columns: Math.max(1, Math.floor(parent.width / 200))
+ columns: Math.max(2, Math.floor(parent.width / 200))
rowSpacing: Appearance.spacing.normal
columnSpacing: Appearance.spacing.normal
// Center the grid content
Layout.maximumWidth: {
const cols = columns;
- const itemWidth = 180;
+ const itemWidth = 200;
const spacing = columnSpacing;
return cols * itemWidth + (cols - 1) * spacing;
}
@@ -1048,10 +1035,10 @@ RowLayout {
delegate: Item {
required property var modelData
- Layout.preferredWidth: 180
- Layout.preferredHeight: 120
- Layout.minimumWidth: 180
- Layout.minimumHeight: 120
+ Layout.preferredWidth: 200
+ Layout.preferredHeight: 140
+ Layout.minimumWidth: 200
+ Layout.minimumHeight: 140
readonly property bool isCurrent: modelData.path === Wallpapers.actualCurrent
readonly property real imageWidth: Math.max(1, width)