@@ -22,97 +22,103 @@ val PretendardRegular = FontFamily(Font(R.font.pretendard_regular, FontWeight.No
2222// Todo : 네이밍과 함께 나중에 lineHeight 등 변경 예정
2323@Stable
2424class PawKeyTypography internal constructor(
25- title1B17 : TextStyle ,
26- title2Sb15 : TextStyle ,
27- title3B15 : TextStyle ,
28- body1Sb15 : TextStyle ,
29- body2M15 : TextStyle ,
30- body3R15 : TextStyle ,
31- body4B13 : TextStyle ,
32- body5Sb13 : TextStyle ,
33- body6M13 : TextStyle ,
34- body7R13 : TextStyle ,
35- label1B11 : TextStyle ,
36- label2M11 : TextStyle ,
37- label3R11 : TextStyle ,
38- label4M9 : TextStyle ,
25+ head22B : TextStyle ,
26+ head22Sb : TextStyle ,
27+ head20B1 : TextStyle ,
28+ head20B2 : TextStyle ,
29+ head20Sb : TextStyle ,
30+ head18Sb : TextStyle ,
31+ body16Sb : TextStyle ,
32+ body16M : TextStyle ,
33+ body14Sb : TextStyle ,
34+ body14M : TextStyle ,
35+ body14R : TextStyle ,
36+ caption12Sb1 : TextStyle ,
37+ caption12Sb2 : TextStyle ,
38+ caption12M : TextStyle ,
39+ caption12R : TextStyle
3940) {
40- var title1B17 : TextStyle by mutableStateOf(title1B17 )
41+ var head22B : TextStyle by mutableStateOf(head22B )
4142 private set
42- var title2Sb15 : TextStyle by mutableStateOf(title2Sb15 )
43+ var head22Sb : TextStyle by mutableStateOf(head22Sb )
4344 private set
44- var title3B15 : TextStyle by mutableStateOf(title3B15 )
45+ var head20B1 : TextStyle by mutableStateOf(head20B1 )
4546 private set
46- var body1Sb15 : TextStyle by mutableStateOf(body1Sb15 )
47+ var head20B2 : TextStyle by mutableStateOf(head20B2 )
4748 private set
48- var body2M15 : TextStyle by mutableStateOf(body2M15 )
49+ var head20Sb : TextStyle by mutableStateOf(head20Sb )
4950 private set
50- var body3R15 : TextStyle by mutableStateOf(body3R15 )
51+ var head18Sb : TextStyle by mutableStateOf(head18Sb )
5152 private set
52- var body4B13 : TextStyle by mutableStateOf(body4B13 )
53+ var body16Sb : TextStyle by mutableStateOf(body16Sb )
5354 private set
54- var body5Sb13 : TextStyle by mutableStateOf(body5Sb13 )
55+ var body16M : TextStyle by mutableStateOf(body16M )
5556 private set
56- var body6M13 : TextStyle by mutableStateOf(body6M13 )
57+ var body14Sb : TextStyle by mutableStateOf(body14Sb )
5758 private set
58- var body7R13 : TextStyle by mutableStateOf(body7R13 )
59+ var body14M : TextStyle by mutableStateOf(body14M )
5960 private set
60- var label1B11 : TextStyle by mutableStateOf(label1B11 )
61+ var body14R : TextStyle by mutableStateOf(body14R )
6162 private set
62- var label2M11 : TextStyle by mutableStateOf(label2M11 )
63+ var caption12Sb1 : TextStyle by mutableStateOf(caption12Sb1 )
6364 private set
64- var label3R11 : TextStyle by mutableStateOf(label3R11 )
65+ var caption12Sb2 : TextStyle by mutableStateOf(caption12Sb2 )
6566 private set
66- var label4M9: TextStyle by mutableStateOf(label4M9)
67+ var caption12M: TextStyle by mutableStateOf(caption12M)
68+ private set
69+ var caption12R: TextStyle by mutableStateOf(caption12R)
6770 private set
6871
6972 fun copy (
70- title1B17 : TextStyle = this.title1B17,
71- title2Sb15 : TextStyle = this.title2Sb15,
72- title3B15 : TextStyle = this.title3B15,
73- body1Sb15 : TextStyle = this.body1Sb15,
74- body2M15 : TextStyle = this.body2M15,
75- body3R15 : TextStyle = this.body3R15,
76- body4B13 : TextStyle = this.body4B13,
77- body5Sb13 : TextStyle = this.body5Sb13,
78- body6M13 : TextStyle = this.body6M13,
79- body7R13 : TextStyle = this.body7R13,
80- label1B11 : TextStyle = this.label1B11,
81- label2M11 : TextStyle = this.label2M11,
82- label3R11 : TextStyle = this.label3R11,
83- label4M9 : TextStyle = this.label4M9
73+ head22B : TextStyle = this.head22B,
74+ head22Sb : TextStyle = this.head22Sb,
75+ head20B1 : TextStyle = this.head20B1,
76+ head20B2 : TextStyle = this.head20B2,
77+ head20Sb : TextStyle = this.head20Sb,
78+ head18Sb : TextStyle = this.head18Sb,
79+ body16Sb : TextStyle = this.body16Sb,
80+ body16M : TextStyle = this.body16M,
81+ body14Sb : TextStyle = this.body14Sb,
82+ body14M : TextStyle = this.body14M,
83+ body14R : TextStyle = this.body14R,
84+ caption12Sb1 : TextStyle = this.caption12Sb1,
85+ caption12Sb2 : TextStyle = this.caption12Sb2,
86+ caption12M : TextStyle = this.caption12M,
87+ caption12R : TextStyle = this.caption12R
8488 ): PawKeyTypography = PawKeyTypography (
85- title1B17,
86- title2Sb15,
87- title3B15,
88- body1Sb15,
89- body2M15,
90- body3R15,
91- body4B13,
92- body5Sb13,
93- body6M13,
94- body7R13,
95- label1B11,
96- label2M11,
97- label3R11,
98- label4M9,
89+ head22B,
90+ head22Sb,
91+ head20B1,
92+ head20B2,
93+ head20Sb,
94+ head18Sb,
95+ body16Sb,
96+ body16M,
97+ body14Sb,
98+ body14M,
99+ body14R,
100+ caption12Sb1,
101+ caption12Sb2,
102+ caption12M,
103+ caption12R
99104 )
100105
101106 fun update (other : PawKeyTypography ) {
102- title1B17 = other.title1B17
103- title2Sb15 = other.title2Sb15
104- title3B15 = other.title3B15
105- body1Sb15 = other.body1Sb15
106- body2M15 = other.body2M15
107- body3R15 = other.body3R15
108- body4B13 = other.body4B13
109- body5Sb13 = other.body5Sb13
110- body6M13 = other.body6M13
111- body7R13 = other.body7R13
112- label1B11 = other.label1B11
113- label2M11 = other.label2M11
114- label3R11 = other.label3R11
115- label4M9 = other.label4M9
107+ head22B = other.head22B
108+ head22Sb = other.head22Sb
109+ head20B1 = other.head20B1
110+ head20B2 = other.head20B2
111+ head20Sb = other.head20Sb
112+ head18Sb = other.head18Sb
113+ body16Sb = other.body16Sb
114+ body16M = other.body16M
115+ body14Sb = other.body14Sb
116+ body14M = other.body14M
117+ body14R = other.body14R
118+ caption12Sb1 = other.caption12Sb1
119+ caption12Sb2 = other.caption12Sb2
120+ caption12M = other.caption12M
121+ caption12R = other.caption12R
116122 }
117123}
118124
@@ -137,103 +143,110 @@ fun pawKeyTextStyle(
137143@Composable
138144fun pawKeyTypography (): PawKeyTypography {
139145 return PawKeyTypography (
140- title1B17 = pawKeyTextStyle(
146+ head22B = pawKeyTextStyle(
141147 fontFamily = PretendardBold ,
142148 fontWeight = FontWeight .Bold ,
143- fontSize = 17 .sp,
144- lineHeight = (17 * 1.3 ).sp,
149+ fontSize = 22 .sp,
150+ lineHeight = (22 * 1.6 ).sp,
145151 letterSpacing = TextUnit .Unspecified
146152 ),
147- title2Sb15 = pawKeyTextStyle(
153+ head22Sb = pawKeyTextStyle(
148154 fontFamily = PretendardSemiBold ,
149155 fontWeight = FontWeight .SemiBold ,
150- fontSize = 17 .sp,
151- lineHeight = (17 * 1.3 ).sp,
156+ fontSize = 22 .sp,
157+ lineHeight = (22 * 1.6 ).sp,
152158 letterSpacing = TextUnit .Unspecified
153159 ),
154- title3B15 = pawKeyTextStyle(
160+ head20B1 = pawKeyTextStyle(
155161 fontFamily = PretendardBold ,
156162 fontWeight = FontWeight .Bold ,
157- fontSize = 15 .sp,
158- lineHeight = (15 * 1.4 ).sp,
163+ fontSize = 20 .sp,
164+ lineHeight = (20 * 1.5 ).sp,
159165 letterSpacing = TextUnit .Unspecified
160166 ),
161- body1Sb15 = pawKeyTextStyle(
167+ head20B2 = pawKeyTextStyle(
168+ fontFamily = PretendardBold ,
169+ fontWeight = FontWeight .Bold ,
170+ fontSize = 20 .sp,
171+ lineHeight = (20 * 1.1 ).sp,
172+ letterSpacing = TextUnit .Unspecified
173+ ),
174+ head20Sb = pawKeyTextStyle(
162175 fontFamily = PretendardSemiBold ,
163176 fontWeight = FontWeight .SemiBold ,
164- fontSize = 15 .sp,
165- lineHeight = (15 * 1.4 ).sp,
177+ fontSize = 20 .sp,
178+ lineHeight = (20 * 1.5 ).sp,
166179 letterSpacing = TextUnit .Unspecified
167180 ),
168- body2M15 = pawKeyTextStyle(
181+ head18Sb = pawKeyTextStyle(
169182 fontFamily = PretendardSemiBold ,
170183 fontWeight = FontWeight .SemiBold ,
171- fontSize = 15 .sp,
172- lineHeight = (15 * 1.4 ).sp,
184+ fontSize = 18 .sp,
185+ lineHeight = (18 * 1.6 ).sp,
173186 letterSpacing = TextUnit .Unspecified
174187 ),
175- body3R15 = pawKeyTextStyle(
176- fontFamily = PretendardRegular ,
177- fontWeight = FontWeight .Normal ,
178- fontSize = 15 .sp,
179- lineHeight = (15 * 1.4 ).sp,
188+ body16Sb = pawKeyTextStyle(
189+ fontFamily = PretendardSemiBold ,
190+ fontWeight = FontWeight .SemiBold ,
191+ fontSize = 16 .sp,
192+ lineHeight = (16 * 1.5 ).sp,
180193 letterSpacing = TextUnit .Unspecified
181194 ),
182- body4B13 = pawKeyTextStyle(
183- fontFamily = PretendardBold ,
184- fontWeight = FontWeight .Bold ,
185- fontSize = 13 .sp,
186- lineHeight = (13 * 1.4 ).sp,
195+ body16M = pawKeyTextStyle(
196+ fontFamily = PretendardMedium ,
197+ fontWeight = FontWeight .Medium ,
198+ fontSize = 16 .sp,
199+ lineHeight = (16 * 1.5 ).sp,
187200 letterSpacing = TextUnit .Unspecified
188201 ),
189- body5Sb13 = pawKeyTextStyle(
202+ body14Sb = pawKeyTextStyle(
190203 fontFamily = PretendardSemiBold ,
191204 fontWeight = FontWeight .SemiBold ,
192- fontSize = 13 .sp,
193- lineHeight = (13 * 1.4 ).sp,
205+ fontSize = 14 .sp,
206+ lineHeight = (14 * 1.6 ).sp,
194207 letterSpacing = TextUnit .Unspecified
195208 ),
196- body6M13 = pawKeyTextStyle(
209+ body14M = pawKeyTextStyle(
197210 fontFamily = PretendardMedium ,
198211 fontWeight = FontWeight .Medium ,
199- fontSize = 13 .sp,
200- lineHeight = (13 * 1.4 ).sp,
212+ fontSize = 14 .sp,
213+ lineHeight = (14 * 1.6 ).sp,
201214 letterSpacing = TextUnit .Unspecified
202215 ),
203- body7R13 = pawKeyTextStyle(
216+
217+ body14R = pawKeyTextStyle(
204218 fontFamily = PretendardRegular ,
205219 fontWeight = FontWeight .Normal ,
206- fontSize = 13 .sp,
207- lineHeight = (13 * 1.4 ).sp,
220+ fontSize = 14 .sp,
221+ lineHeight = (14 * 1.5 ).sp,
208222 letterSpacing = TextUnit .Unspecified
209223 ),
210-
211- label1B11 = pawKeyTextStyle(
212- fontFamily = PretendardBold ,
213- fontWeight = FontWeight .Bold ,
214- fontSize = 11 .sp,
215- lineHeight = (11 * 1.4 ).sp,
224+ caption12Sb1 = pawKeyTextStyle(
225+ fontFamily = PretendardSemiBold ,
226+ fontWeight = FontWeight .SemiBold ,
227+ fontSize = 12 .sp,
228+ lineHeight = (12 * 1.5 ).sp,
216229 letterSpacing = TextUnit .Unspecified
217230 ),
218- label2M11 = pawKeyTextStyle(
231+ caption12Sb2 = pawKeyTextStyle(
232+ fontFamily = PretendardSemiBold ,
233+ fontWeight = FontWeight .SemiBold ,
234+ fontSize = 12 .sp,
235+ lineHeight = (12 * 1.2 ).sp,
236+ letterSpacing = TextUnit .Unspecified
237+ ),
238+ caption12M = pawKeyTextStyle(
219239 fontFamily = PretendardMedium ,
220240 fontWeight = FontWeight .Medium ,
221- fontSize = 11 .sp,
222- lineHeight = (11 * 1.4 ).sp,
241+ fontSize = 12 .sp,
242+ lineHeight = (12 * 1.5 ).sp,
223243 letterSpacing = TextUnit .Unspecified
224244 ),
225- label3R11 = pawKeyTextStyle(
245+ caption12R = pawKeyTextStyle(
226246 fontFamily = PretendardRegular ,
227247 fontWeight = FontWeight .Normal ,
228- fontSize = 11 .sp,
229- lineHeight = (11 * 1.4 ).sp,
230- letterSpacing = TextUnit .Unspecified
231- ),
232- label4M9 = pawKeyTextStyle(
233- fontFamily = PretendardMedium ,
234- fontWeight = FontWeight .Medium ,
235- fontSize = 9 .sp,
236- lineHeight = (9 * 1.4 ).sp,
248+ fontSize = 12 .sp,
249+ lineHeight = (12 * 1.2 ).sp,
237250 letterSpacing = TextUnit .Unspecified
238251 ),
239252 )
0 commit comments