overhaul style

This commit is contained in:
lucy 2026-09-15 21:33:50 +02:00
commit 0bc8d5f13a
10 changed files with 32 additions and 25 deletions

View file

@ -9,6 +9,8 @@ import qs.settings
Rectangle {
id: wallPicker
color: "transparent"
radius: Config.cfg.appearance.rounding
clip: true
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.AllButtons
@ -16,7 +18,7 @@ Rectangle {
Rectangle {
id: container
anchors.fill: parent
color: Colors.c.base00
color: Colors.c.base01
radius: Config.cfg.appearance.rounding
GridView {
id: wallpaperLayout
@ -24,7 +26,7 @@ Rectangle {
snapMode: GridView.SnapOneRow
flow: GridView.FlowTopToBottom
cellHeight: container.height
cellWidth: container.width / 6
cellWidth: 300
anchors.fill: parent
anchors.centerIn: parent
anchors.margins: 10
@ -33,7 +35,7 @@ Rectangle {
id: wallTile
clip: true
required property var modelData
radius: Config.cfg.appearance.rounding / 1.5
radius: Config.cfg.appearance.rounding - 10
color: 'transparent'
implicitWidth: wallpaperLayout.cellWidth - 20
implicitHeight: wallpaperLayout.cellHeight - 20