From 00712be9b66a68062e14c5aae478cbf1d16f20f2 Mon Sep 17 00:00:00 2001 From: Yoo TaeSeung Date: Thu, 17 Oct 2024 13:44:06 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B2=84=ED=8A=BC=20=ED=95=98=EB=8B=A8?= =?UTF-8?q?=20=EA=B3=A0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/Button/Button.style.ts | 10 ++++++++++ src/components/common/Button/Button.tsx | 8 +++++++- .../common/steps/CheckInfo/CheckInfo.tsx | 2 +- .../steps/SelectProduct/SelectProduct.style.ts | 2 ++ .../common/steps/SelectProduct/SelectProduct.tsx | 7 ++----- src/pages/orderInfo/styles/common.style.ts | 15 ++++++++++----- 6 files changed, 32 insertions(+), 12 deletions(-) diff --git a/src/components/common/Button/Button.style.ts b/src/components/common/Button/Button.style.ts index d54d403..b46e3d9 100644 --- a/src/components/common/Button/Button.style.ts +++ b/src/components/common/Button/Button.style.ts @@ -63,6 +63,16 @@ export const buttonVariant = { ${theme.font["pretendard-01"]} color: ${theme.color.orange}; `, + fillLightOrange: (theme: Theme) => css` + width: 100%; + height: 4.8rem; + + border-radius: 5px; + + ${theme.font["pretendard-01"]} + color: ${theme.color.orange}; + background-color: ${theme.color.lightorange}; + `, }; export const disabledStyle = (theme: Theme) => css` diff --git a/src/components/common/Button/Button.tsx b/src/components/common/Button/Button.tsx index 4b4507f..320fff6 100644 --- a/src/components/common/Button/Button.tsx +++ b/src/components/common/Button/Button.tsx @@ -8,7 +8,13 @@ import { import { IcFix } from "@svg"; export interface ButtonProps extends ButtonHTMLAttributes { - variant: "fill" | "stroke" | "smallStroke" | "smallFill"; + variant: + | "fill" + | "stroke" + | "smallStroke" + | "smallFill" + | "delete" + | "fillLightOrange"; disabled?: boolean; isIcon?: boolean; } diff --git a/src/components/common/steps/CheckInfo/CheckInfo.tsx b/src/components/common/steps/CheckInfo/CheckInfo.tsx index 266b63f..44e84d9 100644 --- a/src/components/common/steps/CheckInfo/CheckInfo.tsx +++ b/src/components/common/steps/CheckInfo/CheckInfo.tsx @@ -141,7 +141,7 @@ const CheckInfo = ({ onNext }: StepProps) => { ))}