[K4] Stiftsätze im Kern: Standardpalette, Neu-Backen der Stift-Farben, Stift löschen mit Verweisen (pens.rs)

Wurzel-Abfragen (run_root, doc_query_root, ProjectDocument.queryRoot) liefern Ops; model/penSets.ts ist Fassade,
TS-Rechnung (Palette, rebakePenOps, clearCategoryPenRefs in projectSlice) gelöscht.
This commit is contained in:
Claude committed 2026-10-29 06:42:57 +00:00
1 parent 177ad5d302
commit eba3790fd3
14 files changed
+583 -256

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@
// Manager läuft auch als eigenes natives Fenster ohne gemeinsamen Store.
import { useState } from "react";
import { FREE_COLOR_PALETTE } from "../model/penSets";
import { freeColorPalette } from "../model/penSets";
import { MATERIAL_PALETTE, RAL_CLASSIC, TANGO_PALETTE } from "../model/color";
import type { BuiltinPaletteBanks, CustomPalette } from "../model/types";
import { Swatch } from "./ColorSwatchCell";
@@ -59,7 +59,7 @@ export function FreeColorPicker({
banks.push({
id: "simple",
label: t("pen.paletteSimple"),
entries: FREE_COLOR_PALETTE.map((hex) => ({ hex, title: hex })),
entries: freeColorPalette().map((hex) => ({ hex, title: hex })),
});
}
if (builtinBanks?.tango !== false) {