From 956940cda7f99fc8f60e843a7c61ae8ee8505224 Mon Sep 17 00:00:00 2001 From: KalpasWang Date: Tue, 26 Dec 2023 18:04:47 +0800 Subject: [PATCH] style: adjust level button, letter spacing, title font size and spacing --- frontend/app/card-picking/page.tsx | 4 ++-- frontend/app/level-setup/page.tsx | 16 +++++++++------- frontend/components/investigator-card2/index.tsx | 2 +- frontend/components/ui/button.tsx | 2 +- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/frontend/app/card-picking/page.tsx b/frontend/app/card-picking/page.tsx index 7e701c8..c20b763 100644 --- a/frontend/app/card-picking/page.tsx +++ b/frontend/app/card-picking/page.tsx @@ -3,9 +3,9 @@ import { investigators } from "@/config/investigators"; export default function RolePickingDemo() { return ( -
+
-

+

Please Select a Character {/* 請選擇角色 */}

diff --git a/frontend/app/level-setup/page.tsx b/frontend/app/level-setup/page.tsx index 9d43209..2108f3d 100644 --- a/frontend/app/level-setup/page.tsx +++ b/frontend/app/level-setup/page.tsx @@ -3,20 +3,22 @@ import { levels } from "@/config/levels"; export default function LevelSelectDemo() { return ( -
+

Please Select the Level of Difficulty {/* 請選擇難度 */}

-
+
{levels.map((level) => { return ( - +
+ +
); })}
diff --git a/frontend/components/investigator-card2/index.tsx b/frontend/components/investigator-card2/index.tsx index 10bc2ee..80c7831 100644 --- a/frontend/components/investigator-card2/index.tsx +++ b/frontend/components/investigator-card2/index.tsx @@ -71,7 +71,7 @@ const InvestigatorCard = React.memo(function ({
- + {investigator}
diff --git a/frontend/components/ui/button.tsx b/frontend/components/ui/button.tsx index 1b842a2..c408c13 100644 --- a/frontend/components/ui/button.tsx +++ b/frontend/components/ui/button.tsx @@ -16,7 +16,7 @@ const buttonVariants = cva( ghost: "hover:bg-accent hover:text-accent-foreground", link: "text-primary underline-offset-4 hover:underline", gradient: - "bg-gradient-to-r from-tertiary to-secondary rounded-3xl shadow-custom hover:scale-99 active:scale-99 transition-all", + "bg-gradient-to-r from-tertiary to-secondary rounded-xl shadow-custom hover:scale-99 active:scale-99 transition-all", }, size: { default: "h-10 px-4 py-2",