feat: wallpaper-driven theming + native wallpaper picker
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ZYoSQwwYWhJHLX6VBCGnF
This commit is contained in:
1 parent
0537615b96
commit
ace2860e7a
22 files changed
+594
-285
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import QtQuick
|
||||
import QtQuick.Effects
|
||||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
import Quickshell.Io
|
||||
@@ -35,7 +36,7 @@ PanelWindow {
|
||||
width: 800
|
||||
height: Math.min(600, (clipList.count > 0 ? clipList.contentHeight : 0) + (searchInput.text.length > 0 ? 50 + Theme.geometry.spacing : 0) + Theme.geometry.padding * 2)
|
||||
anchors.centerIn: parent
|
||||
radius: Theme.geometry.radius
|
||||
radius: Theme.geometry.radiusMedium
|
||||
color: Theme.colors.background
|
||||
border.color: Theme.colors.border
|
||||
border.width: 1
|
||||
@@ -61,7 +62,7 @@ PanelWindow {
|
||||
opacity: searchInput.text.length > 0 ? 1 : 0
|
||||
clip: true
|
||||
color: Theme.colors.surface
|
||||
radius: Theme.geometry.radius
|
||||
radius: Theme.geometry.radiusSmall
|
||||
border.width: 1
|
||||
border.color: searchInput.activeFocus ? Theme.colors.primary : Theme.colors.border
|
||||
|
||||
@@ -69,6 +70,16 @@ PanelWindow {
|
||||
Behavior on opacity { NumberAnimation { duration: Theme.animation.durationFast } }
|
||||
Behavior on border.color { ColorAnimation { duration: Theme.animation.durationFast } }
|
||||
|
||||
layer.enabled: searchInput.activeFocus
|
||||
layer.effect: MultiEffect {
|
||||
shadowEnabled: true
|
||||
shadowColor: Theme.colors.primary
|
||||
shadowOpacity: 0.35
|
||||
shadowBlur: 0.4
|
||||
shadowHorizontalOffset: 0
|
||||
shadowVerticalOffset: 0
|
||||
}
|
||||
|
||||
TextInput {
|
||||
id: searchInput
|
||||
anchors.fill: parent
|
||||
@@ -150,8 +161,8 @@ PanelWindow {
|
||||
width: clipList.width
|
||||
height: 36
|
||||
color: ListView.isCurrentItem ? Theme.colors.surfaceHover : "transparent"
|
||||
radius: Theme.geometry.radius
|
||||
|
||||
radius: Theme.geometry.radiusTiny
|
||||
|
||||
Item {
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: Theme.geometry.padding
|
||||
|
||||
Reference in new issue
Block a user