From 814f619cde2d6795ef006c5072423ad22a9030f8 Mon Sep 17 00:00:00 2001 From: lydiacho Date: Fri, 23 Aug 2024 17:22:13 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=ED=85=8D=EC=8A=A4=ED=8A=B8=ED=95=84?= =?UTF-8?q?=EB=93=9C=20=EB=AA=A8=EB=B0=94=EC=9D=BC=EB=B7=B0=20=ED=8F=B0?= =?UTF-8?q?=ED=8A=B8=EC=82=AC=EC=9D=B4=EC=A6=88=2016px=EB=A1=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Input/components/InputLine/index.tsx | 4 +-- .../Input/components/InputLine/style.css.ts | 25 ++++++------------- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/src/common/components/Input/components/InputLine/index.tsx b/src/common/components/Input/components/InputLine/index.tsx index a9c86bd1..4efb873c 100644 --- a/src/common/components/Input/components/InputLine/index.tsx +++ b/src/common/components/Input/components/InputLine/index.tsx @@ -3,7 +3,7 @@ import { useFormContext } from 'react-hook-form'; import { DeviceTypeContext } from '@store/deviceTypeContext'; -import { inputFontVar, inputLineVar, inputVar } from './style.css'; +import { inputFont, inputLineVar, inputVar } from './style.css'; import { formatBirthdate } from './utils/formatBirthdate'; import { formatPhoneNumber } from './utils/formatPhoneNumber'; import { TextBoxProps } from '../../types'; @@ -50,7 +50,7 @@ const InputLine = ({ [ - { - color: theme.color.baseText, - ...font, +export const inputFont = style({ + color: theme.color.baseText, + ...theme.font.BODY_2_16_R, - '::placeholder': { - color: theme.color.placeholder, - ...font, - }, - }, - ], -); + '::placeholder': { + color: theme.color.placeholder, + ...theme.font.BODY_2_16_R, + }, +}); From 6f3a4878aacf06059fe09614a8e79e8a5463496b Mon Sep 17 00:00:00 2001 From: lydiacho Date: Sat, 24 Aug 2024 21:59:49 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C?= =?UTF-8?q?=20=EC=8A=A4=ED=83=80=EC=9D=BC=EB=A7=81=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/components/Input/components/InputLine/style.css.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/common/components/Input/components/InputLine/style.css.ts b/src/common/components/Input/components/InputLine/style.css.ts index b20d3176..2dab0969 100644 --- a/src/common/components/Input/components/InputLine/style.css.ts +++ b/src/common/components/Input/components/InputLine/style.css.ts @@ -70,6 +70,5 @@ export const inputFont = style({ '::placeholder': { color: theme.color.placeholder, - ...theme.font.BODY_2_16_R, }, });