feat: Picker-Tab mit Upload, Paste und Eyedropper

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

No files matched your search

+2
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);