mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat: add color-blindness frontend settings component and registry entry
This commit is contained in:
@@ -308,6 +308,11 @@ const TransparencyFixerSettings = lazy(() =>
|
||||
default: m.TransparencyFixerSettings,
|
||||
})),
|
||||
);
|
||||
const ColorBlindnessSettings = lazy(() =>
|
||||
import("@/components/tools/color-blindness-settings").then((m) => ({
|
||||
default: m.ColorBlindnessSettings,
|
||||
})),
|
||||
);
|
||||
|
||||
// ── Color tool wrapper ─────────────────────────────────────────────
|
||||
// Color tools share a single component but differ by toolId.
|
||||
@@ -426,6 +431,7 @@ export const toolRegistry = new Map<string, ToolRegistryEntry>([
|
||||
|
||||
// Adjustments extra
|
||||
["replace-color", { displayMode: "before-after", Settings: ReplaceColorSettings }],
|
||||
["color-blindness", { displayMode: "before-after", Settings: ColorBlindnessSettings }],
|
||||
|
||||
// AI Tools
|
||||
["remove-background", { displayMode: "before-after", Settings: RemoveBgSettings }],
|
||||
|
||||
Reference in New Issue
Block a user