샤드시옌으로 쫙 수정

This commit is contained in:
leeheejin
2025-10-29 17:53:03 +09:00
parent 2517261db9
commit 437e0c331c
87 changed files with 1493 additions and 1491 deletions

View File

@@ -67,11 +67,11 @@ export function MonthView({ days, config, isCompact = false, selectedDate, onDat
const sizeClass = isCompact ? "text-xs" : "text-sm";
const cursorClass = day.isCurrentMonth ? "cursor-pointer" : "cursor-default";
let colorClass = "text-gray-700";
let colorClass = "text-foreground";
// 현재 월이 아닌 날짜
if (!day.isCurrentMonth) {
colorClass = "text-gray-300";
colorClass = "text-muted-foreground";
}
// 선택된 날짜
else if (isSelected(day)) {
@@ -87,7 +87,7 @@ export function MonthView({ days, config, isCompact = false, selectedDate, onDat
}
// 주말
else if (config.highlightWeekends && day.isWeekend) {
colorClass = "text-red-600";
colorClass = "text-destructive";
}
let bgClass = "";
@@ -96,7 +96,7 @@ export function MonthView({ days, config, isCompact = false, selectedDate, onDat
} else if (config.highlightToday && day.isToday) {
bgClass = "";
} else {
bgClass = "hover:bg-gray-100";
bgClass = "hover:bg-muted";
}
return `${baseClass} ${sizeClass} ${colorClass} ${bgClass} ${cursorClass}`;
@@ -112,7 +112,7 @@ export function MonthView({ days, config, isCompact = false, selectedDate, onDat
return (
<div
key={name}
className={`text-center text-xs font-semibold ${isWeekend && config.highlightWeekends ? "text-red-600" : "text-gray-600"}`}
className={`text-center text-xs font-semibold ${isWeekend && config.highlightWeekends ? "text-destructive" : "text-foreground"}`}
>
{name}
</div>