feat: Picker-Tab mit Upload, Paste und Eyedropper

This commit is contained in:
Ferdinand
2026-04-01 16:24:30 +02:00
parent 36d0253668
commit 9cf34b03f0
4 changed files with 130 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
import { initEingabe } from './eingabe.js';
import { initPicker } from './picker.js';
// Globaler State — aktive Farbe als { h, s, l } (HSL, 0-360, 0-100, 0-100)
// state.color is read-only from outside — always use setColor() to update,
@@ -28,3 +29,4 @@ function addFavorit(hsl) { console.log('addFavorit', hsl); }
function addColorToSchema(hsl) { console.log('addColorToSchema', hsl); }
initEingabe(addFavorit, addColorToSchema);
initPicker(addFavorit, addColorToSchema);