Skip to content

Commit fcbc9ac

Browse files
authored
Merge pull request #10 from MBTips/style/tailwind-font-기본-스타일-설정-작업
Style: index.css text theme 추가
2 parents f0ffbf1 + 42c036d commit fcbc9ac

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function App() {
2-
return <></>;
2+
return <div className="text-lg">폰트 크기 설정 테스트</div>
33
}
44

55
export default App;

src/index.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,19 @@
1919
--color-gray-900: #2B2E33;
2020
--color-background: #D0D5DD;
2121
--color-foreground: #000000;
22+
23+
--text-2xl: 20px;
24+
--text-2xl--line-height: 30px;
25+
--text-xl: 18px;
26+
--text-xl--line-height: 27px;
27+
--text-2lg: 16px;
28+
--text-2lg--line-height: 24px;
29+
--text-lg: 14px;
30+
--text-lg--line-height: 21px;
31+
--text-md: 12px;
32+
--text-md--line-height: 18px;
33+
--text-sm: 10px;
34+
--text-sm--line-height: 15px;
2235
}
2336

2437
:root {

0 commit comments

Comments
 (0)