From 4d248d57cefdec9eba0c3a6bd9c70d0a91ff003b Mon Sep 17 00:00:00 2001 From: Preston Date: Mon, 17 May 2021 15:05:42 -0400 Subject: [PATCH] Use accent color for Sponsorblock categories --- .../components/ft-video-player/ft-video-player.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/renderer/components/ft-video-player/ft-video-player.js b/src/renderer/components/ft-video-player/ft-video-player.js index 4636efa7..356246f2 100644 --- a/src/renderer/components/ft-video-player/ft-video-player.js +++ b/src/renderer/components/ft-video-player/ft-video-player.js @@ -361,17 +361,17 @@ export default Vue.extend({ // TODO: allow to set these colors in settings switch (category) { case 'sponsor': - return '#00d400' + return 'var(--accent-color)' case 'intro': - return '#00ffff' + return 'var(--accent-color)' case 'outro': - return '#0202ed' + return 'var(--accent-color)' case 'selfpromo': - return '#ffff00' + return 'var(--accent-color)' case 'interaction': - return '#cc00ff' + return 'var(--accent-color)' case 'music_offtopic': - return '#ff9900' + return 'var(--accent-color)' default: console.error(`Unknown SponsorBlock category ${category}`) return 'yellow'