@tac-ui/tokens 0.1.0 → 1.0.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/dist/index.mjs CHANGED
@@ -1,87 +1,61 @@
1
- export { breakpoints, chart, component, containers, diaSpring, elevation, elevationLight, grid, motion, ms, px, radius, rem, semanticTokens, spacing, typography, unitless, zIndex } from './chunk-T3JFXTDW.mjs';
1
+ export { ms, px, rem, unitless } from './chunk-GLCF64BD.mjs';
2
+ export { breakpoints, chart, component, containers, elevation, elevationLight, grid, motion, radius, semanticTokens, spacing, springConfigs, tacSpring, typography, zIndex } from './chunk-7I7QJ2NP.mjs';
2
3
 
3
4
  // src/primitive.ts
4
5
  var primitiveColors = {
5
6
  white: "#FFFFFF",
6
- // Pantone 11-0601 TCX
7
7
  black: "#000000",
8
- // Pure Black
9
8
  gray: {
10
- 50: "#F5F5F6",
11
- // Cool Gray 1 U
12
- 100: "#E6E7E8",
13
- // Cool Gray 2 C
14
- 200: "#D1D3D4",
15
- // Cool Gray 3 C
16
- 300: "#BCBEC0",
17
- // Cool Gray 4 C
18
- 400: "#A7A9AC",
19
- // Cool Gray 5 C
20
- 500: "#808285",
21
- // Cool Gray 7 C
22
- 600: "#6D6E71",
23
- // Cool Gray 8 C
24
- 700: "#58595B",
25
- // Cool Gray 9 C
26
- 800: "#414042",
27
- // Cool Gray 11 C
28
- 900: "#2D2A26",
29
- // Pantone Black C
30
- 950: "#101820"
31
- // Pantone Black 6 C
9
+ 50: "#FAFAFA",
10
+ 100: "#F4F4F5",
11
+ 200: "#E4E4E7",
12
+ 300: "#D4D4D8",
13
+ 400: "#A1A1AA",
14
+ 500: "#71717A",
15
+ 600: "#52525B",
16
+ 700: "#3F3F46",
17
+ 800: "#27272A",
18
+ 900: "#18181B",
19
+ 950: "#09090B"
32
20
  },
33
21
  warmGray: {
34
22
  50: "#F6F5F3",
35
23
  100: "#E5E1E0",
36
- // Warm Gray 1 C
37
24
  200: "#D7D2CB",
38
- // Warm Gray 2 C
39
25
  300: "#BFB8AF",
40
- // Warm Gray 3 C
41
26
  400: "#ACA39A",
42
- // Warm Gray 5 C
43
27
  500: "#968C83",
44
- // Warm Gray 7 C
45
28
  600: "#83786F",
46
- // Warm Gray 8 C
47
29
  700: "#6E6259",
48
- // Warm Gray 10 C
49
30
  800: "#5C5146",
50
- // Warm Gray 11 C
51
31
  900: "#4A4138"
52
32
  },
53
33
  status: {
54
- success: "#1A4331",
55
- // Pantone 343 C
56
- successLight: "#EAF1EC",
57
- warning: "#8A6D3B",
58
- // Pantone 117 C
59
- warningLight: "#F7F3EA",
60
- error: "#7C2128",
61
- // Pantone 188 C
62
- errorLight: "#F4EAEB"
34
+ success: "#166534",
35
+ successLight: "#DCFCE7",
36
+ warning: "#854D0E",
37
+ warningLight: "#FEF9C3",
38
+ error: "#991B1B",
39
+ errorLight: "#FEE2E2"
63
40
  },
64
41
  dark: {
65
- bg: "#101820",
66
- // Black 6 C
67
- bgSubtle: "#1A1C20",
68
- surface: "#1A1C20",
69
- surfaceHover: "#22252A",
70
- border: "#2D2A26",
71
- // Black C
72
- muted: "#1A1C20",
73
- mutedFg: "#808285"
74
- // Cool Gray 7 C
42
+ bg: "#09090B",
43
+ bgSubtle: "#18181B",
44
+ surface: "#18181B",
45
+ surfaceHover: "#27272A",
46
+ border: "#27272A",
47
+ muted: "#18181B",
48
+ mutedFg: "#71717A"
75
49
  },
76
50
  glass: {
77
- bg: "rgba(16, 24, 32, 0.8)",
78
- bgHover: "rgba(16, 24, 32, 0.9)",
51
+ bg: "rgba(9, 9, 11, 0.8)",
52
+ bgHover: "rgba(9, 9, 11, 0.9)",
79
53
  border: "rgba(255, 255, 255, 0.05)",
80
54
  borderHover: "rgba(255, 255, 255, 0.1)",
81
55
  lightBg: "rgba(255, 255, 255, 0.8)",
82
56
  lightBgHover: "rgba(255, 255, 255, 0.9)",
83
- lightBorder: "rgba(16, 24, 32, 0.04)",
84
- lightBorderHover: "rgba(16, 24, 32, 0.08)"
57
+ lightBorder: "rgba(24, 24, 27, 0.04)",
58
+ lightBorderHover: "rgba(24, 24, 27, 0.08)"
85
59
  }
86
60
  };
87
61