1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-01 19:18:28 -04:00

media: tweak seek bar accent color

This commit is contained in:
bbedward
2026-07-07 18:36:38 -04:00
parent ee6f7b4798
commit d799175c07
2 changed files with 5 additions and 1 deletions
@@ -23,6 +23,9 @@ Singleton {
readonly property color accentHover: Theme.withAlpha(accent, 0.12) readonly property color accentHover: Theme.withAlpha(accent, 0.12)
readonly property color accentPressed: Theme.withAlpha(accent, Theme.transparentBlurLayers ? 0.24 : 0.16) readonly property color accentPressed: Theme.withAlpha(accent, Theme.transparentBlurLayers ? 0.24 : 0.16)
readonly property color accentTrack: Theme.withAlpha(accent, 0.28)
readonly property color accentSubtle: Theme.withAlpha(accent, 0.55)
// Plain-named alias: underscore-prefixed props with onChanged handlers crash config load. // Plain-named alias: underscore-prefixed props with onChanged handlers crash config load.
readonly property string artUrl: TrackArtService.resolvedArtUrl readonly property string artUrl: TrackArtService.resolvedArtUrl
onArtUrlChanged: { onArtUrlChanged: {
+2 -1
View File
@@ -144,7 +144,8 @@ Item {
showActualPlaybackState: root.isSeeking showActualPlaybackState: root.isSeeking
fillColor: MediaAccentService.accent fillColor: MediaAccentService.accent
playheadColor: MediaAccentService.accent playheadColor: MediaAccentService.accent
actualProgressColor: Theme.onSurface_38 trackColor: MediaAccentService.accentTrack
actualProgressColor: MediaAccentService.accentSubtle
isPlaying: activePlayer && activePlayer.playbackState === MprisPlaybackState.Playing isPlaying: activePlayer && activePlayer.playbackState === MprisPlaybackState.Playing
MouseArea { MouseArea {