Skip to content

Commit 3fe5300

Browse files
committed
πŸ’„: λ””μžμΈ μ‹œμŠ€ν…œ μ μš©μ„ μœ„ν•œ index.css 파일 μˆ˜μ • 및 적용, build 성곡
1 parent e6b3b37 commit 3fe5300

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

β€Žtrends/tailwindcss/TextAdventureGame/src/style/index.cssβ€Ž

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
/* κ²°λ‘  @import,@apply문을 μ‚¬μš©ν•˜λ €λ©΄ index.cssμ—μ„œ μ»€μŠ€ν…€ν•˜κ³  μ‚¬μš©ν•˜λŠ” 것을 μΆ”μ²œ*/
55
/* postcss-importκ°€ μ™œ 적용이 μ•ˆλ˜λŠ”μ§€ 이해 λΆˆκ°€. */
66
/* @import "./another.css"; */
7-
7+
@layer base {
8+
body {
9+
@apply bg-primary text-white; /* 여기에 μ›ν•˜λŠ” λ””μžμΈ μ‹œμŠ€ν…œ 색상을 적용 */
10+
}
11+
}
812
.test-padding {
913
@apply p-[30px];
1014
}

β€Žtrends/tailwindcss/tailwind.config.jsβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ module.exports = {
55
],
66
theme: {
77
extend: {
8+
backgroundColor: {
9+
'body-color': '#f3f4f6', // μ›ν•˜λŠ” 색상 κ°’
10+
},
811
spacing: {
912
'padding-01': '18rem',
1013
'padding-02': '21rem',

0 commit comments

Comments
Β (0)