Use accent color for Sponsorblock categories
This commit is contained in:
parent
40abb9f054
commit
4d248d57ce
|
@ -361,17 +361,17 @@ export default Vue.extend({
|
||||||
// TODO: allow to set these colors in settings
|
// TODO: allow to set these colors in settings
|
||||||
switch (category) {
|
switch (category) {
|
||||||
case 'sponsor':
|
case 'sponsor':
|
||||||
return '#00d400'
|
return 'var(--accent-color)'
|
||||||
case 'intro':
|
case 'intro':
|
||||||
return '#00ffff'
|
return 'var(--accent-color)'
|
||||||
case 'outro':
|
case 'outro':
|
||||||
return '#0202ed'
|
return 'var(--accent-color)'
|
||||||
case 'selfpromo':
|
case 'selfpromo':
|
||||||
return '#ffff00'
|
return 'var(--accent-color)'
|
||||||
case 'interaction':
|
case 'interaction':
|
||||||
return '#cc00ff'
|
return 'var(--accent-color)'
|
||||||
case 'music_offtopic':
|
case 'music_offtopic':
|
||||||
return '#ff9900'
|
return 'var(--accent-color)'
|
||||||
default:
|
default:
|
||||||
console.error(`Unknown SponsorBlock category ${category}`)
|
console.error(`Unknown SponsorBlock category ${category}`)
|
||||||
return 'yellow'
|
return 'yellow'
|
||||||
|
|
Loading…
Reference in New Issue