feat: Playtube Stream Dock Plugin 1.0.0 (Ajazz AKP153E) mit Icon-Pack

This commit is contained in:
2026-09-26 21:00:36 +02:00
commit 179a785adb
221 changed files with 10254 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
// Playtube-Marke (siehe Playtube tools/generate_icon.py): Verlauf violett -> pink, weisses Symbol.
export const BRAND_FROM = [124, 58, 237];
export const BRAND_TO = [236, 72, 153];
export const WHITE = '#ffffff';
export const DIM_BG = '#2b2540';
export const DIM_GLYPH = '#9b93b8';
export const DARK_BG = '#171b24';
/** Diagonaler Verlauf ueber eine Leinwand der Kantenlaenge `size` (Farbfunktion fuer Canvas.fill). */
export function brandGradient(size) {
return (x, y) => {
const t = Math.max(0, Math.min(1, (x + y) / (2 * size)));
return BRAND_FROM.map((from, i) => Math.round(from + (BRAND_TO[i] - from) * t));
};
}