Skip to content

Commit f69045a

Browse files
committed
feat: 텍스트 클래스 이름 수정 및 중복 텍스트 제거
1 parent 840370f commit f69045a

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

src/pages/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ export default function Home() {
1616
<p className='mt-3 text-lg sm:text-2xl text-gray-600'>
1717
Next.js(Page Router) + TS + Tailwind + Axios
1818
</p>
19+
<p className='text-display-md'>
20+
Next.js(Page Router) + TS + Tailwind + Axios
21+
</p>
1922
</main>
2023
</div>
2124
</>

src/shared/lib/utils.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@ const twMerge = extendTailwindMerge({
55
extend: {
66
theme: {
77
text: [
8-
'.text-display-lg',
9-
'.text-display-md',
10-
'.text-display-sm',
11-
'.text-headline-lg',
12-
'.text-headline-md',
13-
'.text-headline-sm',
14-
'.text-title-lg',
15-
'.text-title-md',
16-
'.text-title-sm',
17-
'.text-label-lg',
18-
'.text-label-md',
19-
'.text-label-sm',
20-
'.text-body-lg',
21-
'.text-body-md',
22-
'.text-body-sm',
23-
'.text-display-serif',
24-
'.text-headline-lg-serif',
25-
'.text-headline-md-serif',
26-
'.text-headline-sm-serif',
27-
'.text-label-serif',
8+
'text-display-lg',
9+
'text-display-md',
10+
'text-display-sm',
11+
'text-headline-lg',
12+
'text-headline-md',
13+
'text-headline-sm',
14+
'text-title-lg',
15+
'text-title-md',
16+
'text-title-sm',
17+
'text-label-lg',
18+
'text-label-md',
19+
'text-label-sm',
20+
'text-body-lg',
21+
'text-body-md',
22+
'text-body-sm',
23+
'text-display-serif',
24+
'text-headline-lg-serif',
25+
'text-headline-md-serif',
26+
'text-headline-sm-serif',
27+
'text-label-serif',
2828
],
2929

3030
color: [

0 commit comments

Comments
 (0)