@@ -4,15 +4,18 @@ import { atom, atomFamily } from 'recoil';
44export const TEXT_WHITE : RGBColor = { r : 251 , g : 251 , b : 251 , a : 1 } ;
55export const TEXT_BLACK : RGBColor = { r : 10 , g : 10 , b : 10 , a : 1 } ;
66
7- export const TEXT_LG = 'text-lg' ;
8- export const TEXT_MD = 'text-md2' ;
9- export const TEXT_SM = 'text-sm' ;
10- export type TextSizeType = 'text-lg' | 'text-md1' | 'text-md2' | 'text-sm' | 'text-xsm' ;
7+ export const TEXT_LG = 'tablet:text-[34px] text-[21px]' ;
8+ export const TEXT_MD = 'tablet:text-[26px] text-[16px]' ;
9+ export const TEXT_SM = 'tablet:text-[22px] text-[14px]' ;
10+ export type TextSizeType =
11+ | 'tablet:text-[34px] text-[21px]'
12+ | 'tablet:text-[26px] text-[16px]'
13+ | 'tablet:text-[22px] text-[14px]' ;
1114
1215export type TextType = {
1316 id : number ;
1417 content : string ;
15- fontSize : TextSizeType ;
18+ fontSize : string ;
1619 fontColor : RGBColor ;
1720} ;
1821
@@ -32,19 +35,19 @@ const texts: TextType[] = [
3235 {
3336 id : 0 ,
3437 content : '์ ๋ชฉ์ ์
๋ ฅํ์ธ์.' ,
35- fontSize : 'text-lg ' ,
38+ fontSize : 'tablet: text-[34px] text-[21px] ' ,
3639 fontColor : TEXT_WHITE ,
3740 } ,
3841 {
3942 id : 1 ,
4043 content : '๋ด์ฉ์ ์
๋ ฅํ์ธ์.' ,
41- fontSize : 'text-md2 ' ,
44+ fontSize : 'tablet: text-[26px] text-[16px] ' ,
4245 fontColor : TEXT_WHITE ,
4346 } ,
4447 {
4548 id : 2 ,
4649 content : '๋ด์ฉ์ ์
๋ ฅํ์ธ์.' ,
47- fontSize : 'text-sm ' ,
50+ fontSize : 'tablet: text-[22px] text-[14px] ' ,
4851 fontColor : TEXT_WHITE ,
4952 } ,
5053] ;
0 commit comments