diff --git a/src/components/common/InfoCard/index.tsx b/src/components/common/InfoCard/index.tsx index 84592939..ef32de83 100644 --- a/src/components/common/InfoCard/index.tsx +++ b/src/components/common/InfoCard/index.tsx @@ -1,4 +1,5 @@ import { cn } from '@/utils/core'; +import { InfoCardTypo } from '../Typography'; import Icon from '@/components/common/Icon'; type InfoCardProps = { @@ -6,20 +7,20 @@ type InfoCardProps = { className?: string; }; -const ICON_SIZE = 16; +const ICON_SIZE = 24; const InfoCard = ({ message, className }: InfoCardProps) => { return (
- +
- {message} + {message}
); }; diff --git a/src/components/common/Typography/Typography.variant.tsx b/src/components/common/Typography/Typography.variant.tsx index b5fc004c..93e9cdce 100644 --- a/src/components/common/Typography/Typography.variant.tsx +++ b/src/components/common/Typography/Typography.variant.tsx @@ -53,6 +53,7 @@ export const typographyVariants = cva('whitespace-pre-line text-wrap', { darken: 'text-dark-200', dark: 'text-dark-100', gray: 'text-gray-500', + black: 'text-black-100', }, }, defaultVariants: { diff --git a/src/components/common/Typography/index.tsx b/src/components/common/Typography/index.tsx index 2b095606..fdbf1f8c 100644 --- a/src/components/common/Typography/index.tsx +++ b/src/components/common/Typography/index.tsx @@ -38,6 +38,11 @@ export const TableBodyTypo = customTypography('span', { color: 'dark', }); +export const InfoCardTypo = customTypography('span', { + type: 'Body2', + color: 'black', +}); + // 리디자인 변경 전 Typography export const HeadPrimary = customTypography('h1', { type: 'heading1',