diff --git a/apps/admin/src/components/features/bruno/BrunoApiPageContent.tsx b/apps/admin/src/components/features/bruno/BrunoApiPageContent.tsx index 7cf45cfa..77c1b54e 100644 --- a/apps/admin/src/components/features/bruno/BrunoApiPageContent.tsx +++ b/apps/admin/src/components/features/bruno/BrunoApiPageContent.tsx @@ -147,11 +147,11 @@ const getEndpointKey = (endpoint: EndpointItem) => `${endpoint.domain}:${endpoin const getMethodClassName = (method: DefinitionMethod) => cn( "rounded px-1.5 py-0.5 typo-regular-4", - method === "GET" && "bg-[#E8F3FF] text-[#1D4ED8]", - method === "POST" && "bg-[#ECFDF3] text-[#047857]", - method === "PUT" && "bg-[#FFF7ED] text-[#C2410C]", - method === "PATCH" && "bg-[#FEF3C7] text-[#B45309]", - method === "DELETE" && "bg-[#FEE2E2] text-[#B91C1C]", + method === "GET" && "bg-magic-http-get-surface text-magic-http-get-text", + method === "POST" && "bg-magic-http-post-surface text-magic-http-post-text", + method === "PUT" && "bg-magic-http-put-surface text-magic-http-put-text", + method === "PATCH" && "bg-magic-http-patch-surface text-magic-http-patch-text", + method === "DELETE" && "bg-magic-http-delete-surface text-magic-http-delete-text", (method === "HEAD" || method === "OPTIONS") && "bg-k-100 text-k-700", ); @@ -385,7 +385,7 @@ export function BrunoApiPageContent() {
{showRemoteWarning ? ( -
+

원격 API 서버에 연결되어 있습니다.

@@ -437,7 +437,7 @@ export function BrunoApiPageContent() {
) : null} {editorError ? ( -
+
{editorError}
) : null} @@ -501,8 +501,8 @@ export function BrunoApiPageContent() { className={cn( "rounded px-2 py-1", requestResult.status >= 200 && requestResult.status < 300 - ? "bg-[#ECFDF3] text-[#047857]" - : "bg-[#FEF2F2] text-[#B91C1C]", + ? "bg-magic-api-success-surface text-magic-api-success-text" + : "bg-magic-error-surface text-magic-error", )} > HTTP {requestResult.status} diff --git a/apps/admin/src/components/features/mentor-applications/MentorApplicationsPageContent.tsx b/apps/admin/src/components/features/mentor-applications/MentorApplicationsPageContent.tsx index c9615163..429f019a 100644 --- a/apps/admin/src/components/features/mentor-applications/MentorApplicationsPageContent.tsx +++ b/apps/admin/src/components/features/mentor-applications/MentorApplicationsPageContent.tsx @@ -28,8 +28,8 @@ const STATUS_OPTIONS: { value: MentorApplicationStatus; label: string }[] = [ const statusStyles: Record = { PENDING: "bg-primary-100 text-primary", - APPROVED: "bg-[#E9F7EC] text-[#15A861]", - REJECTED: "bg-[#FFD9D9] text-[#E22A2D]", + APPROVED: "bg-magic-success-surface text-magic-success", + REJECTED: "bg-magic-danger-surface text-magic-danger", }; const statusLabels: Record = { @@ -254,7 +254,7 @@ function MentorApplicationHistoryRow({ colSpan, siteUserId }: { colSpan: number; 이력을 불러오는 중...
) : isError ? ( -

신청 이력을 불러오지 못했습니다.

+

신청 이력을 불러오지 못했습니다.

) : historyItems.length === 0 ? (

신청 이력이 없습니다.

) : ( @@ -595,7 +595,7 @@ export function MentorApplicationsPageContent() { ) : isError ? ( - + 멘토 승격 요청을 불러오지 못했습니다. diff --git a/apps/admin/src/components/features/regions-countries/RegionsCountriesPageContent.tsx b/apps/admin/src/components/features/regions-countries/RegionsCountriesPageContent.tsx index c011b1db..41b9d752 100644 --- a/apps/admin/src/components/features/regions-countries/RegionsCountriesPageContent.tsx +++ b/apps/admin/src/components/features/regions-countries/RegionsCountriesPageContent.tsx @@ -300,7 +300,7 @@ export function RegionsCountriesPageContent() { ) : regionsQuery.isError ? ( - + 권역을 불러오지 못했습니다. @@ -431,7 +431,7 @@ export function RegionsCountriesPageContent() { ) : countriesQuery.isError ? ( - + 지역을 불러오지 못했습니다. diff --git a/apps/admin/src/components/features/scores/ScoreVerifyButton.tsx b/apps/admin/src/components/features/scores/ScoreVerifyButton.tsx index 3a12e780..e19321c6 100644 --- a/apps/admin/src/components/features/scores/ScoreVerifyButton.tsx +++ b/apps/admin/src/components/features/scores/ScoreVerifyButton.tsx @@ -33,7 +33,7 @@ export function ScoreVerifyButton({ currentStatus, onVerifyChange }: Props) { @@ -50,7 +50,7 @@ export function ScoreVerifyButton({ currentStatus, onVerifyChange }: Props) { @@ -59,7 +59,7 @@ export function ScoreVerifyButton({ currentStatus, onVerifyChange }: Props) { diff --git a/apps/admin/src/components/features/scores/StatusBadge.tsx b/apps/admin/src/components/features/scores/StatusBadge.tsx index 2949e357..e8a23618 100644 --- a/apps/admin/src/components/features/scores/StatusBadge.tsx +++ b/apps/admin/src/components/features/scores/StatusBadge.tsx @@ -2,8 +2,8 @@ import type { VerifyStatus } from "@/types/scores"; const statusStyles = { PENDING: "bg-primary-100 text-primary", - APPROVED: "bg-[#E9F7EC] text-[#15A861]", - REJECTED: "bg-[#FFD9D9] text-[#E22A2D]", + APPROVED: "bg-magic-success-surface text-magic-success", + REJECTED: "bg-magic-danger-surface text-magic-danger", }; const statusLabels = { diff --git a/apps/admin/src/components/layout/AdminLayout.tsx b/apps/admin/src/components/layout/AdminLayout.tsx index 1bf3a8c3..f4ceb538 100644 --- a/apps/admin/src/components/layout/AdminLayout.tsx +++ b/apps/admin/src/components/layout/AdminLayout.tsx @@ -38,9 +38,9 @@ export function AdminLayout({ children, activeMenu, title, description }: AdminL }; return ( -
+
-
+
SC @@ -67,7 +67,7 @@ export function AdminLayout({ children, activeMenu, title, description }: AdminL
-
+

{title}

{description ?

{description}

: null} {children} diff --git a/apps/admin/src/styles.css b/apps/admin/src/styles.css index b03d0319..a5ab4f86 100644 --- a/apps/admin/src/styles.css +++ b/apps/admin/src/styles.css @@ -1,6 +1,37 @@ @import "tailwindcss"; @source "../../../packages/ui/src"; +@theme { + --color-magic-success: #15a861; + --color-magic-success-hover: #10814a; + --color-magic-success-surface: #e9f7ec; + --color-magic-danger: #e22a2d; + --color-magic-danger-hover: #ba1e21; + --color-magic-danger-surface: #ffd9d9; + --color-magic-error: #b91c1c; + --color-magic-error-border: #fca5a5; + --color-magic-error-surface: #fef2f2; + --color-magic-warning: #854d0e; + --color-magic-warning-border: #facc15; + --color-magic-warning-surface: #fefce8; + --color-magic-api-success-surface: #ecfdf3; + --color-magic-api-success-text: #047857; + --color-magic-http-get-surface: #e8f3ff; + --color-magic-http-get-text: #1d4ed8; + --color-magic-http-post-surface: #ecfdf3; + --color-magic-http-post-text: #047857; + --color-magic-http-put-surface: #fff7ed; + --color-magic-http-put-text: #c2410c; + --color-magic-http-patch-surface: #fef3c7; + --color-magic-http-patch-text: #b45309; + --color-magic-http-delete-surface: #fee2e2; + --color-magic-http-delete-text: #b91c1c; + --color-magic-admin-shell-spotlight: #eef2ff; + --color-magic-admin-shell-mid: #fafafa; + --color-magic-admin-shell-base: #f5f5f5; + --color-magic-admin-panel-shadow: rgba(26, 31, 39, 0.45); +} + body { @apply m-0; font-family: "Pretendard", system-ui, -apple-system, sans-serif; @@ -101,6 +132,23 @@ code { box-shadow: 0 4px 40px 0 rgba(26, 31, 39, 0.12); } + .bg-magic-admin-shell { + background-image: radial-gradient( + circle at top, + var(--color-magic-admin-shell-spotlight) 0%, + var(--color-magic-admin-shell-mid) 48%, + var(--color-magic-admin-shell-base) 100% + ); + } + + .shadow-magic-admin-header { + box-shadow: 0 10px 30px -24px var(--color-magic-admin-panel-shadow); + } + + .shadow-magic-admin-panel { + box-shadow: 0 8px 24px -22px var(--color-magic-admin-panel-shadow); + } + .typo-bold-1 { font-size: 24px; line-height: 140%; diff --git a/apps/web/src/app/community/[boardCode]/PostWriteButton.tsx b/apps/web/src/app/community/[boardCode]/PostWriteButton.tsx index 43a243a2..bd0478ac 100644 --- a/apps/web/src/app/community/[boardCode]/PostWriteButton.tsx +++ b/apps/web/src/app/community/[boardCode]/PostWriteButton.tsx @@ -32,7 +32,7 @@ const PostWriteButton = ({ onClick }: PostWriteButtonProps) => { className={`fixed bottom-16 flex w-full max-w-app flex-col items-center transition-transform duration-300 ease-in-out ${isVisible ? "translate-y-0" : "translate-y-[calc(100%+66px)]"} `} > diff --git a/apps/web/src/app/university/score/example/gpa-cert/page.tsx b/apps/web/src/app/university/score/example/gpa-cert/page.tsx index afa10381..bfb74691 100644 --- a/apps/web/src/app/university/score/example/gpa-cert/page.tsx +++ b/apps/web/src/app/university/score/example/gpa-cert/page.tsx @@ -12,7 +12,6 @@ const GpaCertExamplePage = () => { const divStyle = { padding: "33px 20px 36px 20px", - borderBottom: "1px solid rgb(236, 236, 236)", fontFamily: "Pretendard", fontSize: "14px", lineHeight: "150%", @@ -48,7 +47,7 @@ const GpaCertExamplePage = () => { return (
-
+
학번과 직전학기가 표시된 증명서만 승인됩니다.

diff --git a/apps/web/src/components/layout/GlobalLayout/ui/BottomNavigation/index.tsx b/apps/web/src/components/layout/GlobalLayout/ui/BottomNavigation/index.tsx index 8a43277e..139664e0 100644 --- a/apps/web/src/components/layout/GlobalLayout/ui/BottomNavigation/index.tsx +++ b/apps/web/src/components/layout/GlobalLayout/ui/BottomNavigation/index.tsx @@ -27,7 +27,7 @@ const BottomNavigation = () => { } return ( -