From afac6705d55928f351a1d6f13db6abd2cce6f9f2 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 28 Feb 2026 06:23:06 +0900 Subject: feat(frontend): change brand color for PHPerKaigi 2026 --- frontend/app/components/BorderedContainer.test.tsx | 2 +- frontend/app/components/BorderedContainer.tsx | 2 +- frontend/app/components/Gaming/CodeBlock.tsx | 2 +- .../components/Gaming/ExecStatusIndicatorIcon.tsx | 2 +- frontend/app/components/Gaming/RankingTable.tsx | 2 +- .../components/GolfPlayApps/GolfPlayAppGaming.tsx | 4 ++-- .../components/GolfPlayApps/GolfPlayAppStarting.tsx | 2 +- .../components/GolfPlayApps/GolfPlayAppWaiting.tsx | 2 +- .../GolfWatchApps/GolfWatchAppGaming1v1.tsx | 4 ++-- .../GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx | 2 +- .../GolfWatchApps/GolfWatchAppStarting.tsx | 2 +- .../GolfWatchApps/GolfWatchAppWaiting1v1.tsx | 2 +- .../GolfWatchAppWaitingMultiplayer.tsx | 2 +- frontend/app/components/InputText.test.tsx | 2 +- frontend/app/components/InputText.tsx | 2 +- frontend/app/components/NavigateLink.tsx | 2 +- frontend/app/components/SubmitButton.test.tsx | 4 ++-- frontend/app/components/SubmitButton.tsx | 2 +- frontend/app/pages/DashboardPage.tsx | 2 +- frontend/app/pages/IndexPage.tsx | 2 +- frontend/app/pages/LoginPage.tsx | 2 +- frontend/app/pages/SubmissionsPage.tsx | 2 +- frontend/app/pages/TournamentPage.tsx | 2 +- frontend/app/tailwind.css | 21 ++++++++++----------- 24 files changed, 36 insertions(+), 37 deletions(-) diff --git a/frontend/app/components/BorderedContainer.test.tsx b/frontend/app/components/BorderedContainer.test.tsx index 2d1b663..22a0aec 100644 --- a/frontend/app/components/BorderedContainer.test.tsx +++ b/frontend/app/components/BorderedContainer.test.tsx @@ -27,7 +27,7 @@ describe("BorderedContainer", () => { render(Styled); const container = screen.getByText("Styled").closest("div"); expect(container?.className).toContain("border-2"); - expect(container?.className).toContain("border-blue-600"); + expect(container?.className).toContain("border-brand-600"); expect(container?.className).toContain("rounded-xl"); }); }); diff --git a/frontend/app/components/BorderedContainer.tsx b/frontend/app/components/BorderedContainer.tsx index d9b2fe8..a1bff35 100644 --- a/frontend/app/components/BorderedContainer.tsx +++ b/frontend/app/components/BorderedContainer.tsx @@ -8,7 +8,7 @@ type Props = { export default function BorderedContainer({ children, className }: Props) { return (
{children}
diff --git a/frontend/app/components/Gaming/CodeBlock.tsx b/frontend/app/components/Gaming/CodeBlock.tsx index f1516ed..2b330dd 100644 --- a/frontend/app/components/Gaming/CodeBlock.tsx +++ b/frontend/app/components/Gaming/CodeBlock.tsx @@ -33,7 +33,7 @@ export default function CodeBlock({ code, language }: Props) { > {showCopied && ( - Copied! + Copied! )} )} diff --git a/frontend/app/components/Gaming/ExecStatusIndicatorIcon.tsx b/frontend/app/components/Gaming/ExecStatusIndicatorIcon.tsx index 44d28ad..e4260ec 100644 --- a/frontend/app/components/Gaming/ExecStatusIndicatorIcon.tsx +++ b/frontend/app/components/Gaming/ExecStatusIndicatorIcon.tsx @@ -31,7 +31,7 @@ export default function ExecStatusIndicatorIcon({ status }: Props) { ); default: diff --git a/frontend/app/components/Gaming/RankingTable.tsx b/frontend/app/components/Gaming/RankingTable.tsx index 7359d40..4bfdad3 100644 --- a/frontend/app/components/Gaming/RankingTable.tsx +++ b/frontend/app/components/Gaming/RankingTable.tsx @@ -38,7 +38,7 @@ export default function RankingTable({ problemLanguage }: Props) { const ranking = useAtomValue(rankingAtom); return ( -
+
diff --git a/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx b/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx index 025e676..7d81c82 100644 --- a/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx +++ b/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx @@ -67,7 +67,7 @@ export default function GolfPlayAppGaming({ return (
-
+
{gameDisplayName}
{isFinished ? ( @@ -122,7 +122,7 @@ export default function GolfPlayAppGaming({ -
+
diff --git a/frontend/app/components/GolfPlayApps/GolfPlayAppStarting.tsx b/frontend/app/components/GolfPlayApps/GolfPlayAppStarting.tsx index 07b93d6..b3378fc 100644 --- a/frontend/app/components/GolfPlayApps/GolfPlayAppStarting.tsx +++ b/frontend/app/components/GolfPlayApps/GolfPlayAppStarting.tsx @@ -10,7 +10,7 @@ export default function GolfPlayAppStarting({ gameDisplayName }: Props) { return (
-
+
{gameDisplayName}
diff --git a/frontend/app/components/GolfPlayApps/GolfPlayAppWaiting.tsx b/frontend/app/components/GolfPlayApps/GolfPlayAppWaiting.tsx index 303b4a8..1341073 100644 --- a/frontend/app/components/GolfPlayApps/GolfPlayAppWaiting.tsx +++ b/frontend/app/components/GolfPlayApps/GolfPlayAppWaiting.tsx @@ -12,7 +12,7 @@ export default function GolfPlayAppWaiting({ }: Props) { return (
-
+
{gameDisplayName}
diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx index 4a9cf92..3d2784e 100644 --- a/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx +++ b/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx @@ -64,8 +64,8 @@ export default function GolfWatchAppGaming1v1({ ? "bg-orange-400" : gameResultKind === "winB" ? "bg-purple-400" - : "bg-sky-600" - : "bg-sky-600"; + : "bg-brand-600" + : "bg-brand-600"; return (
diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx index 22c6df2..320709b 100644 --- a/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx +++ b/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx @@ -26,7 +26,7 @@ export default function GolfWatchAppGamingMultiplayer({ return (
-
+
{gameDisplayName}
diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppStarting.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppStarting.tsx index 82e5334..d9e004e 100644 --- a/frontend/app/components/GolfWatchApps/GolfWatchAppStarting.tsx +++ b/frontend/app/components/GolfWatchApps/GolfWatchAppStarting.tsx @@ -10,7 +10,7 @@ export default function GolfWatchAppStarting({ gameDisplayName }: Props) { return (
-
+
{gameDisplayName}
diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppWaiting1v1.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppWaiting1v1.tsx index ae88295..c7db3a7 100644 --- a/frontend/app/components/GolfWatchApps/GolfWatchAppWaiting1v1.tsx +++ b/frontend/app/components/GolfWatchApps/GolfWatchAppWaiting1v1.tsx @@ -14,7 +14,7 @@ export default function GolfWatchAppWaiting1v1({ }: Props) { return (
-
+
{gameDisplayName}
diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppWaitingMultiplayer.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppWaitingMultiplayer.tsx index 13bcc10..72757f3 100644 --- a/frontend/app/components/GolfWatchApps/GolfWatchAppWaitingMultiplayer.tsx +++ b/frontend/app/components/GolfWatchApps/GolfWatchAppWaitingMultiplayer.tsx @@ -7,7 +7,7 @@ export default function GolfWatchAppWaitingMultiplayer({ }: Props) { return (
-
+
{gameDisplayName}
diff --git a/frontend/app/components/InputText.test.tsx b/frontend/app/components/InputText.test.tsx index 2072b37..6fbdd27 100644 --- a/frontend/app/components/InputText.test.tsx +++ b/frontend/app/components/InputText.test.tsx @@ -31,6 +31,6 @@ describe("InputText", () => { test("has border styling", () => { render(); const input = screen.getByTestId("input"); - expect(input.className).toContain("border-sky-600"); + expect(input.className).toContain("border-brand-600"); }); }); diff --git a/frontend/app/components/InputText.tsx b/frontend/app/components/InputText.tsx index 6bcceb7..9b57a74 100644 --- a/frontend/app/components/InputText.tsx +++ b/frontend/app/components/InputText.tsx @@ -6,7 +6,7 @@ export default function InputText(props: InputProps) { return ( ); } diff --git a/frontend/app/components/NavigateLink.tsx b/frontend/app/components/NavigateLink.tsx index 16c7858..8741121 100644 --- a/frontend/app/components/NavigateLink.tsx +++ b/frontend/app/components/NavigateLink.tsx @@ -10,7 +10,7 @@ export default function NavigateLink({ return ( {children} diff --git a/frontend/app/components/SubmitButton.test.tsx b/frontend/app/components/SubmitButton.test.tsx index ebf3416..9a8085e 100644 --- a/frontend/app/components/SubmitButton.test.tsx +++ b/frontend/app/components/SubmitButton.test.tsx @@ -33,9 +33,9 @@ describe("SubmitButton", () => { expect(button.disabled).toBe(false); }); - test("has sky-600 background styling", () => { + test("has brand-600 background styling", () => { render(Submit); const button = screen.getByText("Submit"); - expect(button.className).toContain("bg-sky-600"); + expect(button.className).toContain("bg-brand-600"); }); }); diff --git a/frontend/app/components/SubmitButton.tsx b/frontend/app/components/SubmitButton.tsx index 2d5c9d1..916c20f 100644 --- a/frontend/app/components/SubmitButton.tsx +++ b/frontend/app/components/SubmitButton.tsx @@ -6,7 +6,7 @@ export default function SubmitButton(props: ButtonProps) { return (