From af1fd49664eeb834e77891031fd4994d72d3d79b Mon Sep 17 00:00:00 2001 From: Mahyar Khanbolooki Date: Wed, 2 Jul 2025 19:56:38 +0330 Subject: [PATCH] chore: sync first auth step styles with new design --- src/app/globals.css | 11 ++++++++--- src/components/input/InputField.tsx | 4 ++-- src/features/auth/components/StepEnterNumber.tsx | 9 ++++----- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index cb0e629..68cdee5 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -4,12 +4,17 @@ @theme { --font-irancell: "Irancell"; - --color-background: #FFFFFF; - --color-primary: #C39854; + --color-background: #F4F5F9; + --color-container: #FFFFFF; + --color-primary: #000000; + --color-border: #E5E5E5; + --color-invalid: red; + --color-valid: #439C46; --color-foreground: #333333; - --color-disabled: #999999; + --color-disabled: #FFFFFF61; --radius-normal: 10px; --text-sm2: 13px; + --radius-container: 30px; } * { diff --git a/src/components/input/InputField.tsx b/src/components/input/InputField.tsx index 8174f9b..42431b6 100644 --- a/src/components/input/InputField.tsx +++ b/src/components/input/InputField.tsx @@ -11,9 +11,9 @@ type Props = { function InputField({ onChange, htmlFor, labelText, children, valid = true, className, ...inputProps }: Props) { return ( -
+
diff --git a/src/features/auth/components/StepEnterNumber.tsx b/src/features/auth/components/StepEnterNumber.tsx index 80fee24..a0292a5 100644 --- a/src/features/auth/components/StepEnterNumber.tsx +++ b/src/features/auth/components/StepEnterNumber.tsx @@ -12,18 +12,17 @@ type Props = { function StepEnterNumber({ onSubmit, onChange, value }: Props) { return ( -
-
+ +
login banner -
+
ورود به سیستم