Skip to content

Commit

Permalink
feat: YouTube DeepDark built in themes #381
Browse files Browse the repository at this point in the history
  • Loading branch information
VampireChicken12 committed Mar 29, 2024
1 parent a81c2bf commit 7dfc58c
Show file tree
Hide file tree
Showing 39 changed files with 5,952 additions and 84 deletions.
Binary file added bun.lockb
Binary file not shown.
21 changes: 21 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@
"i18next": "^23.7.3",
"monaco-editor": "^0.47.0",
"react": "^18.2.0",
"react-colorful": "^5.6.1",
"react-dom": "^18.2.0",
"react-icons": "^5.0.1",
"use-debouncy": "^5.0.1",
"vite-plugin-css-injected-by-js": "^3.3.0",
"webextension-polyfill": "^0.10.0"
},
Expand Down Expand Up @@ -78,4 +80,4 @@
"zod": "^3.22.4",
"zod-error": "^1.5.0"
}
}
}
43 changes: 43 additions & 0 deletions public/locales/ca-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,49 @@
}
},
"title": "Volume boost settings"
},
"youtubeDeepDark": {
"author": "Author",
"co-authors": "Co-authors",
"colors": {
"colorShadow": {
"label": "Shadow color",
"title": "Color for shadows"
},
"dimmerText": {
"label": "Secondary text color",
"title": "Color for secondary text"
},
"hoverBackground": {
"label": "Hover background",
"title": "Color for hover background"
},
"mainBackground": {
"label": "Main background color",
"title": "Color for main background"
},
"mainColor": {
"label": "Accent color",
"title": "Color for accent"
},
"mainText": {
"label": "Main text color",
"title": "Color for main text"
},
"secondBackground": {
"label": "Secondary background",
"title": "Color for secondary background"
}
},
"enable": {
"label": "Enable selected theme",
"title": "Activate the selected theme for the page"
},
"select": {
"label": "Select theme",
"title": "Select a theme to be applied to the page"
},
"title": "YouTube Deep Dark Settings"
}
}
}
Expand Down
43 changes: 43 additions & 0 deletions public/locales/cs-CZ.json
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,49 @@
}
},
"title": "Volume boost settings"
},
"youtubeDeepDark": {
"author": "Author",
"co-authors": "Co-authors",
"colors": {
"colorShadow": {
"label": "Shadow color",
"title": "Color for shadows"
},
"dimmerText": {
"label": "Secondary text color",
"title": "Color for secondary text"
},
"hoverBackground": {
"label": "Hover background",
"title": "Color for hover background"
},
"mainBackground": {
"label": "Main background color",
"title": "Color for main background"
},
"mainColor": {
"label": "Accent color",
"title": "Color for accent"
},
"mainText": {
"label": "Main text color",
"title": "Color for main text"
},
"secondBackground": {
"label": "Secondary background",
"title": "Color for secondary background"
}
},
"enable": {
"label": "Enable selected theme",
"title": "Activate the selected theme for the page"
},
"select": {
"label": "Select theme",
"title": "Select a theme to be applied to the page"
},
"title": "YouTube Deep Dark Settings"
}
}
}
Expand Down
43 changes: 43 additions & 0 deletions public/locales/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,49 @@
}
},
"title": "´Lautstärke-Boost Einstellungen"
},
"youtubeDeepDark": {
"author": "Author",
"co-authors": "Co-authors",
"colors": {
"colorShadow": {
"label": "Shadow color",
"title": "Color for shadows"
},
"dimmerText": {
"label": "Secondary text color",
"title": "Color for secondary text"
},
"hoverBackground": {
"label": "Hover background",
"title": "Color for hover background"
},
"mainBackground": {
"label": "Main background color",
"title": "Color for main background"
},
"mainColor": {
"label": "Accent color",
"title": "Color for accent"
},
"mainText": {
"label": "Main text color",
"title": "Color for main text"
},
"secondBackground": {
"label": "Secondary background",
"title": "Color for secondary background"
}
},
"enable": {
"label": "Enable selected theme",
"title": "Activate the selected theme for the page"
},
"select": {
"label": "Select theme",
"title": "Select a theme to be applied to the page"
},
"title": "YouTube Deep Dark Settings"
}
}
}
Expand Down
43 changes: 43 additions & 0 deletions public/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,49 @@
}
},
"title": "Volume boost settings"
},
"youtubeDeepDark": {
"author": "Author",
"co-authors": "Co-authors",
"colors": {
"colorShadow": {
"label": "Shadow color",
"title": "Color for shadows"
},
"dimmerText": {
"label": "Secondary text color",
"title": "Color for secondary text"
},
"hoverBackground": {
"label": "Hover background",
"title": "Color for hover background"
},
"mainBackground": {
"label": "Main background color",
"title": "Color for main background"
},
"mainColor": {
"label": "Accent color",
"title": "Color for accent"
},
"mainText": {
"label": "Main text color",
"title": "Color for main text"
},
"secondBackground": {
"label": "Secondary background",
"title": "Color for secondary background"
}
},
"enable": {
"label": "Enable selected theme",
"title": "Activate the selected theme for the page"
},
"select": {
"label": "Select theme",
"title": "Select a theme to be applied to the page"
},
"title": "YouTube Deep Dark Settings"
}
}
}
Expand Down
23 changes: 19 additions & 4 deletions public/locales/en-US.json.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ interface EnUS {
pages: {
content: {
features: {
decreasePlaybackSpeed: { label: "Decrease playback speed" };
featureMenu: { button: { label: "Feature menu" } };
increasePlaybackSpeed: { label: "Increase playback speed" };
loopButton: { button: { label: "Loop"; toggle: { off: "Loop off"; on: "Loop on" } } };
maximizePlayerButton: { button: { label: "Maximize"; toggle: { off: "Maximize off"; on: "Maximize on" } } };
openTranscriptButton: { button: { label: "Open transcript" } };
Expand Down Expand Up @@ -79,9 +77,7 @@ interface EnUS {
buttonPlacement: {
select: {
buttonNames: {
decreasePlaybackSpeed: "Decrease Playback Speed button";
decreasePlaybackSpeedButton: "Decrease Speed button";
increasePlaybackSpeed: "Increase Playback Speed button";
increasePlaybackSpeedButton: "Increase Speed button";
loopButton: "Loop button";
maximizePlayerButton: "Maximize button";
Expand Down Expand Up @@ -314,6 +310,25 @@ interface EnUS {
};
title: "Volume boost settings";
};
youtubeDeepDark: {
author: "Author";
"co-authors": "Co-authors";
colors: {
colorShadow: { label: "Shadow color"; title: "Color for shadows" };
dimmerText: { label: "Secondary text color"; title: "Color for secondary text" };
hoverBackground: { label: "Hover background"; title: "Color for hover background" };
mainBackground: { label: "Main background color"; title: "Color for main background" };
mainColor: { label: "Accent color"; title: "Color for accent" };
mainText: { label: "Main text color"; title: "Color for main text" };
secondBackground: { label: "Secondary background"; title: "Color for secondary background" };
};
enable: {
label: "Enable selected theme";
title: "Activate the selected theme for the page";
};
select: { label: "Select theme"; title: "Select a theme to be applied to the page" };
title: "YouTube Deep Dark Settings";
};
};
};
}
Expand Down
43 changes: 43 additions & 0 deletions public/locales/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,49 @@
}
},
"title": "Ajustes de potenciado de volumen"
},
"youtubeDeepDark": {
"author": "Author",
"co-authors": "Co-authors",
"colors": {
"colorShadow": {
"label": "Shadow color",
"title": "Color for shadows"
},
"dimmerText": {
"label": "Secondary text color",
"title": "Color for secondary text"
},
"hoverBackground": {
"label": "Hover background",
"title": "Color for hover background"
},
"mainBackground": {
"label": "Main background color",
"title": "Color for main background"
},
"mainColor": {
"label": "Accent color",
"title": "Color for accent"
},
"mainText": {
"label": "Main text color",
"title": "Color for main text"
},
"secondBackground": {
"label": "Secondary background",
"title": "Color for secondary background"
}
},
"enable": {
"label": "Enable selected theme",
"title": "Activate the selected theme for the page"
},
"select": {
"label": "Select theme",
"title": "Select a theme to be applied to the page"
},
"title": "YouTube Deep Dark Settings"
}
}
}
Expand Down
Loading

0 comments on commit 7dfc58c

Please sign in to comment.