design: 블랙 테마 스타일 작업

This commit is contained in:
2025-05-13 15:09:56 +09:00
parent 7f70811c88
commit c3fc0eb96b
13 changed files with 135 additions and 37 deletions
@@ -125,7 +125,7 @@ function PostComment({ bbsId, pstNo }: { bbsId: number; pstNo: number }) {
<FormControl>
<Textarea
maxLength={1000}
className="h-[10rem] bg-background p-4 !text-[1.3rem] !leading-6"
className="h-[10rem] bg-background p-4 !text-[1.3rem] !leading-6 text-foreground"
placeholder="댓글을 입력해주세요."
{...field}
/>
@@ -145,7 +145,7 @@ function PostComment({ bbsId, pstNo }: { bbsId: number; pstNo: number }) {
<Input
{...field}
value={field.value ?? ""}
className="w-[16rem] bg-background !text-[1.3rem]"
className="w-[16rem] bg-background !text-[1.3rem] text-foreground"
placeholder="작성자"
/>
</FormControl>
@@ -164,7 +164,7 @@ function PostComment({ bbsId, pstNo }: { bbsId: number; pstNo: number }) {
{...field}
type="password"
value={field.value ?? ""}
className="w-[12rem] bg-background !text-[1.3rem]"
className="w-[12rem] bg-background !text-[1.3rem] text-foreground"
placeholder="비밀번호"
/>
</FormControl>
@@ -187,10 +187,10 @@ function PostComment({ bbsId, pstNo }: { bbsId: number; pstNo: number }) {
>
<div className="flex w-full gap-10">
<div className="flex w-[10rem] shrink-0 flex-col">
<span className="text-[1.4rem] font-bold">
<span className="text-[1.4rem] font-bold text-label">
{comment.wrtrNm}
</span>
<span className="text-[1.2rem] text-gray-500">
<span className="text-[1.2rem] text-label">
{dayjs(comment.regDt).format("YYYY.MM.DD")}
</span>
</div>
@@ -200,7 +200,7 @@ function PostComment({ bbsId, pstNo }: { bbsId: number; pstNo: number }) {
value={editValue}
onChange={(e) => setEditValue(e.target.value)}
maxLength={1000}
className="h-[10rem] bg-background p-4 !text-[1.3rem] !leading-6"
className="h-[10rem] bg-background p-4 !text-[1.3rem] !leading-6 text-foreground"
/>
<div className="flex gap-2">
<Button
@@ -224,7 +224,9 @@ function PostComment({ bbsId, pstNo }: { bbsId: number; pstNo: number }) {
</div>
</div>
) : (
<p className="break-all text-[1.4rem]">{comment.cmntCn}</p>
<p className="break-all text-[1.4rem] text-foreground">
{comment.cmntCn}
</p>
)}
</div>
<div className="flex gap-2 whitespace-nowrap">