Skip to content

Commit 1303a99

Browse files
committed
feat: migrate tailwind config to v4
1 parent 4a0ff44 commit 1303a99

File tree

5 files changed

+51
-141
lines changed

5 files changed

+51
-141
lines changed

main.css

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
@import "tailwindcss";
2+
3+
@theme {
4+
--color-blue-100: #0086ed;
5+
--color-blue-200: #0076d1;
6+
--color-blue-300: #0067b5;
7+
--color-blue-400: #005799;
8+
--color-blue-500: #00477d;
9+
--color-blue-600: #003760;
10+
--color-blue-700: #002745;
11+
--color-blue-800: #001729;
12+
13+
--color-beige-100: #ebe8ce;
14+
--color-beige-200: #d1cfb8;
15+
--color-beige-300: #b8b5a2;
16+
--color-beige-400: #9e9c8b;
17+
--color-beige-500: #858475;
18+
--color-beige-600: #69675c;
19+
--color-beige-700: #4a4940;
20+
--color-beige-800: #2b2b27;
21+
22+
--color-yellow-100: #f0e800;
23+
--color-yellow-200: #d4cd00;
24+
--color-yellow-300: #b8b100;
25+
--color-yellow-400: #9c9600;
26+
--color-yellow-500: #807b00;
27+
--color-yellow-600: #636000;
28+
--color-yellow-700: #474500;
29+
--color-yellow-800: #2b2a00;
30+
31+
--color-monotone-100: #fafafa;
32+
--color-monotone-200: #d6d6d6;
33+
--color-monotone-300: #bababa;
34+
--color-monotone-400: #9e9e9e;
35+
--color-monotone-500: #828282;
36+
--color-monotone-600: #636363;
37+
--color-monotone-700: #474747;
38+
--color-monotone-800: #1a1a1a;
39+
40+
--color-primary-main: #003760;
41+
--color-primary-sub: #858475;
42+
--color-primary-accent: #d4cd00;
43+
44+
--color-neutral-background: #fafafa;
45+
--color-neutral-text-main: #1a1a1a;
46+
--color-neutral-text-sub: #636363;
47+
--color-neutral-link: #0076d1;
48+
--color-neutral-border: #9e9e9e;
49+
}

package-lock.json

Lines changed: 0 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"publishConfig": {
77
"access": "public"
88
},
9+
"main": "main.css",
910
"files": [
1011
"CHANGELOG.md",
11-
"docs/**/*",
12-
"tailwind.config.js"
12+
"docs/**/*"
1313
],
1414
"scripts": {
1515
"check-typescript": "tsc --noEmit",
@@ -40,7 +40,6 @@
4040
"@tailwindcss/postcss": "4.1.16",
4141
"@types/react": "19.2.2",
4242
"@types/react-dom": "19.2.2",
43-
"autoprefixer": "10.4.21",
4443
"conventional-changelog-conventionalcommits": "9.1.0",
4544
"eslint": "9.39.1",
4645
"eslint-config-prettier": "10.1.8",

postcss.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export default {
22
plugins: {
33
"@tailwindcss/postcss": {},
4-
autoprefixer: {},
54
},
65
};

tailwind.config.js

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)