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:
@@ -23,6 +23,9 @@ Singleton {
|
||||
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 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.
|
||||
readonly property string artUrl: TrackArtService.resolvedArtUrl
|
||||
onArtUrlChanged: {
|
||||
|
||||
@@ -144,7 +144,8 @@ Item {
|
||||
showActualPlaybackState: root.isSeeking
|
||||
fillColor: MediaAccentService.accent
|
||||
playheadColor: MediaAccentService.accent
|
||||
actualProgressColor: Theme.onSurface_38
|
||||
trackColor: MediaAccentService.accentTrack
|
||||
actualProgressColor: MediaAccentService.accentSubtle
|
||||
isPlaying: activePlayer && activePlayer.playbackState === MprisPlaybackState.Playing
|
||||
|
||||
MouseArea {
|
||||
|
||||
Reference in New Issue
Block a user