Skip to content

Commit b3ff392

Browse files
feat: Add tailwind build scripts into package,json
1 parent 39d8881 commit b3ff392

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,9 @@
77
},
88
"devDependencies": {
99
"tailwindcss": "^3.4.17"
10+
},
11+
"scripts": {
12+
"build": "tailwindcss -i ./src/input.css -o ./src/output.css",
13+
"watch": "tailwindcss -i ./src/input.css -o ./src/output.css --watch"
1014
}
1115
}

src/output.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2007,6 +2007,21 @@ body::-webkit-scrollbar-thumb {
20072007
background-color: rgb(234 179 8 / var(--tw-bg-opacity, 1));
20082008
}
20092009

2010+
.bg-amber-300 {
2011+
--tw-bg-opacity: 1;
2012+
background-color: rgb(252 211 77 / var(--tw-bg-opacity, 1));
2013+
}
2014+
2015+
.bg-red-800 {
2016+
--tw-bg-opacity: 1;
2017+
background-color: rgb(153 27 27 / var(--tw-bg-opacity, 1));
2018+
}
2019+
2020+
.bg-orange-400 {
2021+
--tw-bg-opacity: 1;
2022+
background-color: rgb(251 146 60 / var(--tw-bg-opacity, 1));
2023+
}
2024+
20102025
.bg-gradient-to-b {
20112026
background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
20122027
}

0 commit comments

Comments
 (0)