diff --git a/src/components/common/KriColorPalette.tsx b/src/components/common/KriColorPalette.tsx
index 9b6c931..90b667c 100644
--- a/src/components/common/KriColorPalette.tsx
+++ b/src/components/common/KriColorPalette.tsx
@@ -153,6 +153,7 @@ export function KriColorPalette({
const parsedColor = parseHexColor(color)
if (!parsedColor) return null
const selected = parsedColor.rgb === parsedValue?.rgb
+ const checkColorClass = isLightHexColor(parsedColor.rgb) ? 'text-black' : 'text-white'
return (
)
})}
diff --git a/src/components/ui/color-picker.tsx b/src/components/ui/color-picker.tsx
index 316d0e0..7cab857 100644
--- a/src/components/ui/color-picker.tsx
+++ b/src/components/ui/color-picker.tsx
@@ -1,5 +1,8 @@
"use client";
+// Adapted from Dice UI color-picker (Radix variant), https://www.diceui.com/docs/components/radix/color-picker (MIT License).
+// 로컬 변경: import 경로, 아이콘(lucide PipetteIcon), 빈 interface lint 수정.
+
import { cva, type VariantProps } from "class-variance-authority";
import { cn } from "@/lib/utils";
import {
diff --git a/src/components/visually-hidden-input.tsx b/src/components/visually-hidden-input.tsx
index 0edcd49..cadd4fb 100644
--- a/src/components/visually-hidden-input.tsx
+++ b/src/components/visually-hidden-input.tsx
@@ -101,11 +101,12 @@ function VisuallyHiddenInput(
const propertyKey = isCheckInput ? "checked" : "value";
const eventType = isCheckInput ? "click" : "input";
- const serializedCurrentValue = isCheckInput
- ? checked
- : typeof value === "object" && value !== null
- ? JSON.stringify(value)
- : value;
+ let serializedCurrentValue: unknown = value;
+ if (isCheckInput) {
+ serializedCurrentValue = checked;
+ } else if (typeof value === "object" && value !== null) {
+ serializedCurrentValue = JSON.stringify(value);
+ }
const descriptor = Object.getOwnPropertyDescriptor(inputProto, propertyKey);