Browse Source

UI: Add media control icons to Yami

The Yami theme never added the media control icons to
the qss file.
Clayton Groeneveld 3 years ago
parent
commit
41e2491fb4
1 changed files with 26 additions and 0 deletions
  1. 26 0
      UI/data/themes/Yami.qss

+ 26 - 0
UI/data/themes/Yami.qss

@@ -1291,6 +1291,32 @@ QSlider::handle:horizontal[themeID="tBarSlider"] {
 	margin: -24px 0px;
 }
 
+/* Media icons */
+
+* [themeID="playIcon"] {
+    qproperty-icon: url(./Dark/media/media_play.svg);
+}
+
+* [themeID="pauseIcon"] {
+    qproperty-icon: url(./Dark/media/media_pause.svg);
+}
+
+* [themeID="restartIcon"] {
+    qproperty-icon: url(./Dark/media/media_restart.svg);
+}
+
+* [themeID="stopIcon"] {
+    qproperty-icon: url(./Dark/media/media_stop.svg);
+}
+
+* [themeID="nextIcon"] {
+    qproperty-icon: url(./Dark/media/media_next.svg);
+}
+
+* [themeID="previousIcon"] {
+    qproperty-icon: url(./Dark/media/media_previous.svg);
+}
+
 /* YouTube Integration */
 OBSYoutubeActions {
     qproperty-thumbPlaceholder: url(./Dark/sources/image.svg);