feat: Modal zum manuellen Erstellen von Farbschemata
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { initEingabe } from './eingabe.js';
|
||||
import { initPicker } from './picker.js';
|
||||
import { initHarmonien } from './harmonien.js';
|
||||
import { addFavorit, addColorToSchema, addToHistory, renderSammlung, exportCollection, importCollection } from './collection.js';
|
||||
import { addFavorit, addColorToSchema, addToHistory, renderSammlung, exportCollection, importCollection, saveSchema } from './collection.js';
|
||||
import { initSchemaModal } from './schema-modal.js';
|
||||
|
||||
// state.color is read-only from outside — always use setColor() to update,
|
||||
// so that the colorChanged event is dispatched to all listening modules.
|
||||
@@ -37,3 +38,4 @@ document.getElementById('sammlung-export-btn').addEventListener('click', exportC
|
||||
document.getElementById('sammlung-import-btn').addEventListener('click', importCollection);
|
||||
|
||||
renderSammlung();
|
||||
initSchemaModal(saveSchema);
|
||||
|
||||
Reference in New Issue
Block a user