@o2project/design-system 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [1.1.0](https://github.com/o2project/design-system/compare/v1.0.2...v1.1.0) (2025-11-09)
2
+
3
+ ### ✨ Features
4
+
5
+ * migrate tailwind config to v4 ([1303a99](https://github.com/o2project/design-system/commit/1303a9912a7c9eaf14b29a879764c6da67b5cf83))
6
+
1
7
  ## [1.0.2](https://github.com/o2project/design-system/compare/v1.0.1...v1.0.2) (2025-11-09)
2
8
 
3
9
  ### 🐛 Bug Fixes
package/main.css ADDED
@@ -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/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@o2project/design-system",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "description": "Design system for O2 Project",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
+ "main": "main.css",
9
10
  "files": [
10
11
  "CHANGELOG.md",
11
- "docs/**/*",
12
- "tailwind.config.js"
12
+ "docs/**/*"
13
13
  ],
14
14
  "scripts": {
15
15
  "check-typescript": "tsc --noEmit",
@@ -40,7 +40,6 @@
40
40
  "@tailwindcss/postcss": "4.1.16",
41
41
  "@types/react": "19.2.2",
42
42
  "@types/react-dom": "19.2.2",
43
- "autoprefixer": "10.4.21",
44
43
  "conventional-changelog-conventionalcommits": "9.1.0",
45
44
  "eslint": "9.39.1",
46
45
  "eslint-config-prettier": "10.1.8",
@@ -1,66 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
-
3
- export default {
4
- content: ["./stories/**/*.{js,jsx,ts,tsx,mdx}", "./src/**/*.{js,jsx,ts,tsx}"],
5
- theme: {
6
- extend: {
7
- colors: {
8
- // Base color palette
9
- blue: {
10
- 100: "#0086ed",
11
- 200: "#0076d1",
12
- 300: "#0067b5",
13
- 400: "#005799",
14
- 500: "#00477d",
15
- 600: "#003760",
16
- 700: "#002745",
17
- 800: "#001729",
18
- },
19
- beige: {
20
- 100: "#ebe8ce",
21
- 200: "#d1cfb8",
22
- 300: "#b8b5a2",
23
- 400: "#9e9c8b",
24
- 500: "#858475",
25
- 600: "#69675c",
26
- 700: "#4a4940",
27
- 800: "#2b2b27",
28
- },
29
- yellow: {
30
- 100: "#f0e800",
31
- 200: "#d4cd00",
32
- 300: "#b8b100",
33
- 400: "#9c9600",
34
- 500: "#807b00",
35
- 600: "#636000",
36
- 700: "#474500",
37
- 800: "#2b2a00",
38
- },
39
- monotone: {
40
- 100: "#fafafa",
41
- 200: "#d6d6d6",
42
- 300: "#bababa",
43
- 400: "#9e9e9e",
44
- 500: "#828282",
45
- 600: "#636363",
46
- 700: "#474747",
47
- 800: "#1a1a1a",
48
- },
49
- // Semantic color tokens
50
- primary: {
51
- main: "#003760", // blue-600
52
- sub: "#858475", // beige-500
53
- accent: "#d4cd00", // yellow-200
54
- },
55
- neutral: {
56
- background: "#fafafa", // monotone-100
57
- "text-main": "#1a1a1a", // monotone-800
58
- "text-sub": "#636363", // monotone-600
59
- link: "#0076d1", // blue-200
60
- border: "#9e9e9e", // monotone-400
61
- },
62
- },
63
- },
64
- },
65
- plugins: [],
66
- };