mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 20:47:11 +03:00
Buttons now change color depending on state. Added colorPalette config entry
This commit is contained in:
@@ -44,7 +44,8 @@ interface SBConfig {
|
||||
autoHideInfoButton: boolean,
|
||||
autoSkipOnMusicVideos: boolean,
|
||||
highlightCategoryUpdate: boolean,
|
||||
wikiPages: SBMap<string, string>
|
||||
wikiPages: SBMap<string, string>,
|
||||
colorPalette: SBMap<string, string>
|
||||
|
||||
// What categories should be skipped
|
||||
categorySelections: CategorySelection[],
|
||||
@@ -211,6 +212,11 @@ const Config: SBObject = {
|
||||
["mute", "https://wiki.sponsor.ajay.app/w/Mute_Segment"],
|
||||
]),
|
||||
|
||||
colorPalette: new SBMap("colorPalette", [
|
||||
["SponsorBlockRed", "#780303"],
|
||||
["SponsorBlockWhite", "#ffffff"]
|
||||
]),
|
||||
|
||||
// Preview bar
|
||||
barTypes: {
|
||||
"preview-chooseACategory": {
|
||||
|
||||
Reference in New Issue
Block a user