diff --git a/components/Headers/Headers.tsx b/components/Headers/Headers.tsx index 4612185..5f9c33e 100644 --- a/components/Headers/Headers.tsx +++ b/components/Headers/Headers.tsx @@ -13,7 +13,7 @@ export default function Headers() { const isMobile = useCheckMobile(); return ( -
+
( containerHorizontal: 'flex items-center gap-[10px]', labelVertical: 'text-14 text-gray-500', labelHorizontal: 'text-14 text-gray-400 w-[60px] flex-shrink-0', - base: 'px-[20px] py-[10px] h-[45px] w-full rounded-md text-[14px] text-gray-500 placeholder:text-14 focus:outline-none', - error: 'border border-red-100 bg-red-50', + base: 'px-[20px] py-[10px] h-[45px] w-full rounded-md text-[14px] placeholder:text-14 focus:outline-none', + error: 'bg-red-50 dark:bg-gray-100 dark:border dark:border-red-100', normal: 'bg-gray-100 focus:border-green-200 focus:ring-1 focus:ring-green-200', errorText: 'text-12 text-red-100', diff --git a/components/LinkBar.tsx b/components/LinkBar.tsx index 0602f91..66380e9 100644 --- a/components/LinkBar.tsx +++ b/components/LinkBar.tsx @@ -24,7 +24,7 @@ export default function LinkBar({ className={`flex min-w-20 items-center gap-[5px] rounded-custom bg-green-100 px-[10px] py-[3px] text-green-200 transition-colors hover:bg-green-200 hover:text-green-100 mo:py-1 ${classNames}`} > -

+

{link}

diff --git a/components/SnackBar.tsx b/components/SnackBar.tsx index 9c24544..47c60be 100644 --- a/components/SnackBar.tsx +++ b/components/SnackBar.tsx @@ -13,7 +13,7 @@ export interface SnackBarProps { const severityConfig = { fail: { style: - 'bg-red-50 border-red-100 fixed left-1/2 transform -translate-x-1/2 top-[120px] mx-auto mo:bottom-[80px] mo:top-auto shadow-custom mo:min-w-[280px]', + 'bg-red-50 border-[#d14343] fixed left-1/2 transform -translate-x-1/2 top-[120px] mx-auto mo:bottom-[80px] mo:top-auto shadow-custom mo:min-w-[280px]', icon: '/icon/icon-fail.svg', textStyle: 'text-red-100 text-14sb mo:text-12sb ', }, diff --git a/components/UserProfile.tsx b/components/UserProfile.tsx index 3fe07a7..96ccc63 100644 --- a/components/UserProfile.tsx +++ b/components/UserProfile.tsx @@ -62,7 +62,7 @@ function UserProfile({ return ( // 메인 컨테이너 -
+
{/* 레이아웃 컨테이너: PC에서는 세로, 모바일/태블릿에서는 가로 배치 */}
-
+

{title}

diff --git a/components/boards.page/BoardDetailCard.tsx b/components/boards.page/BoardDetailCard.tsx index 60e8025..e58a8d5 100644 --- a/components/boards.page/BoardDetailCard.tsx +++ b/components/boards.page/BoardDetailCard.tsx @@ -108,7 +108,7 @@ export default function BoardDetailCard({ }; return ( -
+

diff --git a/components/boards.page/BoardList.tsx b/components/boards.page/BoardList.tsx index b88e98b..8474cd9 100644 --- a/components/boards.page/BoardList.tsx +++ b/components/boards.page/BoardList.tsx @@ -28,7 +28,7 @@ export default function BoardList({ data = [] }: BoardListResponse) { name={item.writer.name} likeCount={item.likeCount} createdAt={item.createdAt} - className={`${tableStyles} mo:flex`} + className={`${tableStyles} hover:dark:bg-green-100 mo:flex`} /> ))}

diff --git a/components/boards.page/Comment.tsx b/components/boards.page/Comment.tsx index 6015b53..1c2ce53 100644 --- a/components/boards.page/Comment.tsx +++ b/components/boards.page/Comment.tsx @@ -62,7 +62,7 @@ export default function Comment({ }, [createdAt, updatedAt]); return ( -
+
+
  • {/* NOTE : 배포 시 false로 변경 */} - + diff --git a/styles/globals.css b/styles/globals.css index 79393f2..a392554 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -4,6 +4,7 @@ :root { --background: #ffffff; + --card: #fff; --white: #ffffff; --gray-100: #f7f7fa; --gray-200: #e4e5f0; @@ -28,7 +29,8 @@ } .dark { - --background: #121212; + --background: #191d2d; + --card: #2a2f46; --white: #e4e4e4; --gray-100: #3b415b; --gray-200: #474d66; @@ -41,9 +43,6 @@ --green-200: #4cbfa4; --green-300: #a5e5d1; - --red-50: #8a1c1c; - --red-100: #d14343; - --purple-100: #b095ff; --yellow-100: #e7a832; @@ -52,6 +51,10 @@ --blue-100: #1a1f2e; } +.bgCard { + @apply bg-card; +} + body { color: var(--gray-500); background: var(--background); diff --git a/tailwind.config.ts b/tailwind.config.ts index d5b1719..7e7c3c8 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -21,6 +21,7 @@ export default { colors: { background: 'var(--background)', white: 'var(--white)', + card: 'var(--card)', gray: { 100: 'var(--gray-100)', 200: 'var(--gray-200)',