diff --git a/src/components/common/button/CompleteBtn.tsx b/src/components/common/button/CompleteBtn.tsx index 79b537b..a7f121c 100644 --- a/src/components/common/button/CompleteBtn.tsx +++ b/src/components/common/button/CompleteBtn.tsx @@ -26,6 +26,8 @@ const Button = styled.button` return 'var(--font-size-sm)'; case 'xs': return 'var(--font-size-xs)'; + case 'xxs': + return 'var(--font-size-xxs)'; default: return 'var(--font-size-md)'; } diff --git a/src/components/common/typography/Text.tsx b/src/components/common/typography/Text.tsx index 50e829d..4a3cd0c 100644 --- a/src/components/common/typography/Text.tsx +++ b/src/components/common/typography/Text.tsx @@ -1,7 +1,7 @@ import styled from '@emotion/styled'; interface IText { - size?: 'xs' | 'sm' | 'md' | 'lg' | 'mxl' | 'xl' | 'xxl'; + size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'mxl' | 'xl' | 'xxl'; color?: 'white' | 'black' | 'placeholder' | string; weight?: 'light' | 'normal' | 'bold' | string; whiteSpace?: 'nowrap' | 'normal' | 'pre-line'; @@ -34,6 +34,8 @@ const Text = styled.span` font-size: ${(props) => { switch (props.size) { + case 'xxs': + return 'var(--font-size-xxs)'; case 'xs': return 'var(--font-size-xs)'; case 'sm': diff --git a/src/pages/main/components/PCRotateCarousel.tsx b/src/pages/main/components/PCRotateCarousel.tsx index d64d6f9..dc9b3a8 100644 --- a/src/pages/main/components/PCRotateCarousel.tsx +++ b/src/pages/main/components/PCRotateCarousel.tsx @@ -60,11 +60,11 @@ const PCRotateCarousel = ({ weight='700' color='black' whiteSpace='normal' - size='lg' + size='md' > {cardData[index].mainText} - + {cardData[index].subText}
{cardData[index].mainText} - + {cardData[index].subText}
@@ -80,7 +80,7 @@ const TabletRotateCarousel = ({ { color: string; backgroundColor: string; hoverColor: string; - size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | undefined; + size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | undefined; type: 'button' | 'submit' | 'reset' | undefined; children: React.ReactNode; }