wallpaper selector: fix dark mode

This commit is contained in:
end-4
2025-08-24 14:25:39 +07:00
parent 8bbf040100
commit 8277a2d942
4 changed files with 21 additions and 52 deletions
@@ -17,7 +17,8 @@ Item {
property bool useThumbnail: Images.isValidImageByName(fileModelData.fileName)
property bool isHovered: false
property alias color: background.color
property alias colBackground: background.color
property alias colText: wallpaperItemName.color
property alias radius: background.radius
property alias padding: background.anchors.margins
@@ -122,7 +123,6 @@ Item {
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
font.pixelSize: Appearance.font.pixelSize.smaller
color: (index === grid.currentIndex || parent.isHovered) ? Appearance.colors.colOnPrimary : Appearance.colors.colOnLayer0
Behavior on color {
animation: Appearance.animation.elementMoveFast.colorAnimation.createObject(this)
}