Use accent color for Sponsorblock categories

This commit is contained in:
Preston 2021-05-17 15:05:42 -04:00
parent 40abb9f054
commit 4d248d57ce
1 changed files with 6 additions and 6 deletions

View File

@ -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'