@tac-ui/tokens 0.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/dist/index.mjs ADDED
@@ -0,0 +1,88 @@
1
+ export { breakpoints, chart, component, containers, diaSpring, elevation, elevationLight, grid, motion, ms, px, radius, rem, semanticTokens, spacing, typography, unitless, zIndex } from './chunk-T3JFXTDW.mjs';
2
+
3
+ // src/primitive.ts
4
+ var primitiveColors = {
5
+ white: "#FFFFFF",
6
+ // Pantone 11-0601 TCX
7
+ black: "#000000",
8
+ // Pure Black
9
+ 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
32
+ },
33
+ warmGray: {
34
+ 50: "#F6F5F3",
35
+ 100: "#E5E1E0",
36
+ // Warm Gray 1 C
37
+ 200: "#D7D2CB",
38
+ // Warm Gray 2 C
39
+ 300: "#BFB8AF",
40
+ // Warm Gray 3 C
41
+ 400: "#ACA39A",
42
+ // Warm Gray 5 C
43
+ 500: "#968C83",
44
+ // Warm Gray 7 C
45
+ 600: "#83786F",
46
+ // Warm Gray 8 C
47
+ 700: "#6E6259",
48
+ // Warm Gray 10 C
49
+ 800: "#5C5146",
50
+ // Warm Gray 11 C
51
+ 900: "#4A4138"
52
+ },
53
+ 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"
63
+ },
64
+ 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
75
+ },
76
+ glass: {
77
+ bg: "rgba(16, 24, 32, 0.8)",
78
+ bgHover: "rgba(16, 24, 32, 0.9)",
79
+ border: "rgba(255, 255, 255, 0.05)",
80
+ borderHover: "rgba(255, 255, 255, 0.1)",
81
+ lightBg: "rgba(255, 255, 255, 0.8)",
82
+ lightBgHover: "rgba(255, 255, 255, 0.9)",
83
+ lightBorder: "rgba(16, 24, 32, 0.04)",
84
+ lightBorderHover: "rgba(16, 24, 32, 0.08)"
85
+ }
86
+ };
87
+
88
+ export { primitiveColors };
@@ -0,0 +1,7 @@
1
+ type ThemeMode = 'light' | 'dark';
2
+ declare function generateCSSVariables(mode: ThemeMode): Record<string, string>;
3
+ declare function generateCSSBlock(mode: ThemeMode): string;
4
+ /** Generates CSS @keyframes blocks from the motion.keyframes presets. */
5
+ declare function generateKeyframes(): string;
6
+
7
+ export { type ThemeMode, generateCSSBlock, generateCSSVariables, generateKeyframes };
@@ -0,0 +1,7 @@
1
+ type ThemeMode = 'light' | 'dark';
2
+ declare function generateCSSVariables(mode: ThemeMode): Record<string, string>;
3
+ declare function generateCSSBlock(mode: ThemeMode): string;
4
+ /** Generates CSS @keyframes blocks from the motion.keyframes presets. */
5
+ declare function generateKeyframes(): string;
6
+
7
+ export { type ThemeMode, generateCSSBlock, generateCSSVariables, generateKeyframes };