Skip to content

Commit e6b3b37

Browse files
committed
๐Ÿšฉ: import ์‚ฌ์šฉ์— ๋ฌธ์ œ๊ฐ€ ๋˜์–ด tailwild.config์—์„œ ์ „์—ญ์ ์œผ๋กœ ์Šคํƒ€์ผ๋ง ์ •์˜ํ•˜๋Š” ๋ฐฉ์‹์œผ๋กœ ์ปค์Šคํ…€ ํ›„ ์ ์šฉ ๋ฐ ํ™•์ธ ์„ฑ๊ณต
1 parent bd11934 commit e6b3b37

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

โ€Žtrends/tailwindcss/TextAdventureGame/src/index.htmlโ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<body>
1212
<div class="bg-blue-500 text-blue-50 test-padding">test</div>
1313
<div class="bg-blue-500 text-blue-50 w-[50px]">test</div>
14+
<div class="bg-status2 text-success w-[20px] p-padding-02">test</div>
1415
</body>
1516

1617
</html>

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,22 @@ module.exports = {
44
'./TextAdventureGame/src/**/*.{html,js,ts,css,scss}',
55
],
66
theme: {
7-
extend: {},
7+
extend: {
8+
spacing: {
9+
'padding-01': '18rem',
10+
'padding-02': '21rem',
11+
'padding-03': '24rem',
12+
},
13+
colors: {
14+
primary: "#000000",
15+
sub: "#D9D9D9",
16+
status1: "#000000",
17+
status2: "#222222",
18+
errorCancel: "#FF0000",
19+
success: "#0038FF",
20+
safety: "#32BF00",
21+
}
22+
},
823
},
924
plugins: [],
1025
}

0 commit comments

Comments
ย (0)