@thebasenet/ui 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.
Files changed (41) hide show
  1. package/dist/brand/index.d.mts +55 -0
  2. package/dist/brand/index.d.ts +55 -0
  3. package/dist/brand/index.js +152 -0
  4. package/dist/brand/index.js.map +1 -0
  5. package/dist/brand/index.mjs +152 -0
  6. package/dist/brand/index.mjs.map +1 -0
  7. package/dist/components/index.d.mts +122 -0
  8. package/dist/components/index.d.ts +122 -0
  9. package/dist/components/index.js +848 -0
  10. package/dist/components/index.js.map +1 -0
  11. package/dist/components/index.mjs +7956 -0
  12. package/dist/components/index.mjs.map +1 -0
  13. package/dist/index.d.mts +32 -0
  14. package/dist/index.d.ts +32 -0
  15. package/dist/index.js +2801 -0
  16. package/dist/index.js.map +1 -0
  17. package/dist/index.mjs +32365 -0
  18. package/dist/index.mjs.map +1 -0
  19. package/dist/tokens/index.d.mts +190 -0
  20. package/dist/tokens/index.d.ts +190 -0
  21. package/dist/tokens/index.js +104 -0
  22. package/dist/tokens/index.js.map +1 -0
  23. package/dist/tokens/index.mjs +104 -0
  24. package/dist/tokens/index.mjs.map +1 -0
  25. package/dist/ui/index.d.mts +302 -0
  26. package/dist/ui/index.d.ts +302 -0
  27. package/dist/ui/index.js +2058 -0
  28. package/dist/ui/index.js.map +1 -0
  29. package/dist/ui/index.mjs +31585 -0
  30. package/dist/ui/index.mjs.map +1 -0
  31. package/dist/utils/cn.d.mts +5 -0
  32. package/dist/utils/cn.d.ts +5 -0
  33. package/dist/utils/cn.js +11 -0
  34. package/dist/utils/cn.js.map +1 -0
  35. package/dist/utils/cn.mjs +3197 -0
  36. package/dist/utils/cn.mjs.map +1 -0
  37. package/package.json +102 -0
  38. package/styles/animations.css +63 -0
  39. package/styles/globals.css +31 -0
  40. package/styles/theme.css +97 -0
  41. package/styles/variables.css +238 -0
@@ -0,0 +1,190 @@
1
+ /**
2
+ * TCN Brand Color Tokens
3
+ * These mirror the CSS custom properties defined in styles/theme.css.
4
+ * Use these in JS/TS contexts (e.g. charting libraries, inline styles).
5
+ */
6
+ declare const primary: {
7
+ readonly 50: "#edf8e7";
8
+ readonly 100: "#c8eab6";
9
+ readonly 200: "#ade092";
10
+ readonly 300: "#87d261";
11
+ readonly 400: "#70c942";
12
+ readonly 500: "#4cbc13";
13
+ readonly 600: "#45ab11";
14
+ readonly 700: "#36850d";
15
+ readonly 800: "#2a670a";
16
+ readonly 900: "#204f08";
17
+ };
18
+ /** Admin Blue — oklch values as CSS strings (use in CSS contexts) */
19
+ declare const secondary: {
20
+ readonly 50: "oklch(0.968 0.026 269.8)";
21
+ readonly 100: "oklch(0.913 0.046 266.9)";
22
+ readonly 200: "oklch(0.865 0.071 264.4)";
23
+ readonly 300: "oklch(0.769 0.128 260.8)";
24
+ readonly 400: "oklch(0.720 0.181 258.1)";
25
+ readonly 500: "oklch(0.649 0.235 255.7)";
26
+ readonly 600: "oklch(0.603 0.218 254.4)";
27
+ readonly 700: "oklch(0.538 0.205 253.6)";
28
+ readonly 800: "oklch(0.455 0.168 253.2)";
29
+ readonly 900: "oklch(0.396 0.142 252.8)";
30
+ };
31
+ /** Neutral — warm grey scale */
32
+ declare const neutral: {
33
+ readonly 50: "oklch(0.94 0.005 262)";
34
+ readonly 100: "oklch(0.84 0.004 262)";
35
+ readonly 200: "oklch(0.74 0.004 262)";
36
+ readonly 300: "oklch(0.61 0.003 262)";
37
+ readonly 400: "oklch(0.49 0.002 262)";
38
+ readonly 500: "oklch(0.4 0.001 262)";
39
+ readonly 600: "oklch(0.34 0.001 262)";
40
+ readonly 700: "oklch(0.29 0.001 262)";
41
+ readonly 800: "oklch(0.24 0.001 262)";
42
+ readonly 900: "oklch(0.18 0.001 262)";
43
+ };
44
+ /** Accent — near-white surface scale */
45
+ declare const accent: {
46
+ readonly 50: "oklch(0.99 0.002 262)";
47
+ readonly 100: "oklch(0.975 0.002 262)";
48
+ readonly 200: "oklch(0.93 0.002 262)";
49
+ readonly 300: "oklch(0.9 0.002 262)";
50
+ readonly 400: "oklch(0.87 0.002 262)";
51
+ readonly 500: "oklch(0.84 0.002 262)";
52
+ readonly 600: "oklch(0.76 0.002 262)";
53
+ readonly 700: "oklch(0.66 0.002 262)";
54
+ readonly 800: "oklch(0.52 0.002 262)";
55
+ readonly 900: "oklch(0.4 0.002 262)";
56
+ };
57
+ /** Raw brand identity hex values */
58
+ declare const brand: {
59
+ readonly green: "#4CBC13";
60
+ readonly blue: "#2F61C4";
61
+ readonly greenAlt: "#2ABC13";
62
+ };
63
+ declare const colors: {
64
+ readonly primary: {
65
+ readonly 50: "#edf8e7";
66
+ readonly 100: "#c8eab6";
67
+ readonly 200: "#ade092";
68
+ readonly 300: "#87d261";
69
+ readonly 400: "#70c942";
70
+ readonly 500: "#4cbc13";
71
+ readonly 600: "#45ab11";
72
+ readonly 700: "#36850d";
73
+ readonly 800: "#2a670a";
74
+ readonly 900: "#204f08";
75
+ };
76
+ readonly secondary: {
77
+ readonly 50: "oklch(0.968 0.026 269.8)";
78
+ readonly 100: "oklch(0.913 0.046 266.9)";
79
+ readonly 200: "oklch(0.865 0.071 264.4)";
80
+ readonly 300: "oklch(0.769 0.128 260.8)";
81
+ readonly 400: "oklch(0.720 0.181 258.1)";
82
+ readonly 500: "oklch(0.649 0.235 255.7)";
83
+ readonly 600: "oklch(0.603 0.218 254.4)";
84
+ readonly 700: "oklch(0.538 0.205 253.6)";
85
+ readonly 800: "oklch(0.455 0.168 253.2)";
86
+ readonly 900: "oklch(0.396 0.142 252.8)";
87
+ };
88
+ readonly neutral: {
89
+ readonly 50: "oklch(0.94 0.005 262)";
90
+ readonly 100: "oklch(0.84 0.004 262)";
91
+ readonly 200: "oklch(0.74 0.004 262)";
92
+ readonly 300: "oklch(0.61 0.003 262)";
93
+ readonly 400: "oklch(0.49 0.002 262)";
94
+ readonly 500: "oklch(0.4 0.001 262)";
95
+ readonly 600: "oklch(0.34 0.001 262)";
96
+ readonly 700: "oklch(0.29 0.001 262)";
97
+ readonly 800: "oklch(0.24 0.001 262)";
98
+ readonly 900: "oklch(0.18 0.001 262)";
99
+ };
100
+ readonly accent: {
101
+ readonly 50: "oklch(0.99 0.002 262)";
102
+ readonly 100: "oklch(0.975 0.002 262)";
103
+ readonly 200: "oklch(0.93 0.002 262)";
104
+ readonly 300: "oklch(0.9 0.002 262)";
105
+ readonly 400: "oklch(0.87 0.002 262)";
106
+ readonly 500: "oklch(0.84 0.002 262)";
107
+ readonly 600: "oklch(0.76 0.002 262)";
108
+ readonly 700: "oklch(0.66 0.002 262)";
109
+ readonly 800: "oklch(0.52 0.002 262)";
110
+ readonly 900: "oklch(0.4 0.002 262)";
111
+ };
112
+ readonly brand: {
113
+ readonly green: "#4CBC13";
114
+ readonly blue: "#2F61C4";
115
+ readonly greenAlt: "#2ABC13";
116
+ };
117
+ };
118
+
119
+ /**
120
+ * TCN Typography Tokens
121
+ * Font family names as used in Tailwind classes and CSS variables.
122
+ */
123
+ declare const fontFamily: {
124
+ /** Used for headings and brand text */
125
+ readonly onest: "var(--font-onest), sans-serif";
126
+ /** Used for body text */
127
+ readonly golos: "var(--font-golosText), sans-serif";
128
+ /** Used in the brand wordmark SVG */
129
+ readonly coolvetica: "Coolvetica, sans-serif";
130
+ };
131
+ declare const fontSize: {
132
+ readonly xs: "0.75rem";
133
+ readonly sm: "0.875rem";
134
+ readonly base: "1rem";
135
+ readonly lg: "1.125rem";
136
+ readonly xl: "1.25rem";
137
+ readonly "2xl": "1.5rem";
138
+ readonly "3xl": "1.875rem";
139
+ readonly "4xl": "2.25rem";
140
+ readonly "5xl": "3rem";
141
+ };
142
+ declare const fontWeight: {
143
+ readonly normal: "400";
144
+ readonly medium: "500";
145
+ readonly semibold: "600";
146
+ readonly bold: "700";
147
+ };
148
+ declare const typography: {
149
+ readonly fontFamily: {
150
+ /** Used for headings and brand text */
151
+ readonly onest: "var(--font-onest), sans-serif";
152
+ /** Used for body text */
153
+ readonly golos: "var(--font-golosText), sans-serif";
154
+ /** Used in the brand wordmark SVG */
155
+ readonly coolvetica: "Coolvetica, sans-serif";
156
+ };
157
+ readonly fontSize: {
158
+ readonly xs: "0.75rem";
159
+ readonly sm: "0.875rem";
160
+ readonly base: "1rem";
161
+ readonly lg: "1.125rem";
162
+ readonly xl: "1.25rem";
163
+ readonly "2xl": "1.5rem";
164
+ readonly "3xl": "1.875rem";
165
+ readonly "4xl": "2.25rem";
166
+ readonly "5xl": "3rem";
167
+ };
168
+ readonly fontWeight: {
169
+ readonly normal: "400";
170
+ readonly medium: "500";
171
+ readonly semibold: "600";
172
+ readonly bold: "700";
173
+ };
174
+ };
175
+
176
+ /**
177
+ * TCN Border Radius Tokens
178
+ * These mirror the --tt-radius-* CSS custom properties.
179
+ */
180
+ declare const radius: {
181
+ readonly xxs: "0.125rem";
182
+ readonly xs: "0.25rem";
183
+ readonly sm: "0.375rem";
184
+ readonly md: "0.5rem";
185
+ readonly lg: "0.75rem";
186
+ readonly xl: "1rem";
187
+ readonly full: "9999px";
188
+ };
189
+
190
+ export { accent, brand, colors, fontFamily, fontSize, fontWeight, neutral, primary, radius, secondary, typography };
@@ -0,0 +1,190 @@
1
+ /**
2
+ * TCN Brand Color Tokens
3
+ * These mirror the CSS custom properties defined in styles/theme.css.
4
+ * Use these in JS/TS contexts (e.g. charting libraries, inline styles).
5
+ */
6
+ declare const primary: {
7
+ readonly 50: "#edf8e7";
8
+ readonly 100: "#c8eab6";
9
+ readonly 200: "#ade092";
10
+ readonly 300: "#87d261";
11
+ readonly 400: "#70c942";
12
+ readonly 500: "#4cbc13";
13
+ readonly 600: "#45ab11";
14
+ readonly 700: "#36850d";
15
+ readonly 800: "#2a670a";
16
+ readonly 900: "#204f08";
17
+ };
18
+ /** Admin Blue — oklch values as CSS strings (use in CSS contexts) */
19
+ declare const secondary: {
20
+ readonly 50: "oklch(0.968 0.026 269.8)";
21
+ readonly 100: "oklch(0.913 0.046 266.9)";
22
+ readonly 200: "oklch(0.865 0.071 264.4)";
23
+ readonly 300: "oklch(0.769 0.128 260.8)";
24
+ readonly 400: "oklch(0.720 0.181 258.1)";
25
+ readonly 500: "oklch(0.649 0.235 255.7)";
26
+ readonly 600: "oklch(0.603 0.218 254.4)";
27
+ readonly 700: "oklch(0.538 0.205 253.6)";
28
+ readonly 800: "oklch(0.455 0.168 253.2)";
29
+ readonly 900: "oklch(0.396 0.142 252.8)";
30
+ };
31
+ /** Neutral — warm grey scale */
32
+ declare const neutral: {
33
+ readonly 50: "oklch(0.94 0.005 262)";
34
+ readonly 100: "oklch(0.84 0.004 262)";
35
+ readonly 200: "oklch(0.74 0.004 262)";
36
+ readonly 300: "oklch(0.61 0.003 262)";
37
+ readonly 400: "oklch(0.49 0.002 262)";
38
+ readonly 500: "oklch(0.4 0.001 262)";
39
+ readonly 600: "oklch(0.34 0.001 262)";
40
+ readonly 700: "oklch(0.29 0.001 262)";
41
+ readonly 800: "oklch(0.24 0.001 262)";
42
+ readonly 900: "oklch(0.18 0.001 262)";
43
+ };
44
+ /** Accent — near-white surface scale */
45
+ declare const accent: {
46
+ readonly 50: "oklch(0.99 0.002 262)";
47
+ readonly 100: "oklch(0.975 0.002 262)";
48
+ readonly 200: "oklch(0.93 0.002 262)";
49
+ readonly 300: "oklch(0.9 0.002 262)";
50
+ readonly 400: "oklch(0.87 0.002 262)";
51
+ readonly 500: "oklch(0.84 0.002 262)";
52
+ readonly 600: "oklch(0.76 0.002 262)";
53
+ readonly 700: "oklch(0.66 0.002 262)";
54
+ readonly 800: "oklch(0.52 0.002 262)";
55
+ readonly 900: "oklch(0.4 0.002 262)";
56
+ };
57
+ /** Raw brand identity hex values */
58
+ declare const brand: {
59
+ readonly green: "#4CBC13";
60
+ readonly blue: "#2F61C4";
61
+ readonly greenAlt: "#2ABC13";
62
+ };
63
+ declare const colors: {
64
+ readonly primary: {
65
+ readonly 50: "#edf8e7";
66
+ readonly 100: "#c8eab6";
67
+ readonly 200: "#ade092";
68
+ readonly 300: "#87d261";
69
+ readonly 400: "#70c942";
70
+ readonly 500: "#4cbc13";
71
+ readonly 600: "#45ab11";
72
+ readonly 700: "#36850d";
73
+ readonly 800: "#2a670a";
74
+ readonly 900: "#204f08";
75
+ };
76
+ readonly secondary: {
77
+ readonly 50: "oklch(0.968 0.026 269.8)";
78
+ readonly 100: "oklch(0.913 0.046 266.9)";
79
+ readonly 200: "oklch(0.865 0.071 264.4)";
80
+ readonly 300: "oklch(0.769 0.128 260.8)";
81
+ readonly 400: "oklch(0.720 0.181 258.1)";
82
+ readonly 500: "oklch(0.649 0.235 255.7)";
83
+ readonly 600: "oklch(0.603 0.218 254.4)";
84
+ readonly 700: "oklch(0.538 0.205 253.6)";
85
+ readonly 800: "oklch(0.455 0.168 253.2)";
86
+ readonly 900: "oklch(0.396 0.142 252.8)";
87
+ };
88
+ readonly neutral: {
89
+ readonly 50: "oklch(0.94 0.005 262)";
90
+ readonly 100: "oklch(0.84 0.004 262)";
91
+ readonly 200: "oklch(0.74 0.004 262)";
92
+ readonly 300: "oklch(0.61 0.003 262)";
93
+ readonly 400: "oklch(0.49 0.002 262)";
94
+ readonly 500: "oklch(0.4 0.001 262)";
95
+ readonly 600: "oklch(0.34 0.001 262)";
96
+ readonly 700: "oklch(0.29 0.001 262)";
97
+ readonly 800: "oklch(0.24 0.001 262)";
98
+ readonly 900: "oklch(0.18 0.001 262)";
99
+ };
100
+ readonly accent: {
101
+ readonly 50: "oklch(0.99 0.002 262)";
102
+ readonly 100: "oklch(0.975 0.002 262)";
103
+ readonly 200: "oklch(0.93 0.002 262)";
104
+ readonly 300: "oklch(0.9 0.002 262)";
105
+ readonly 400: "oklch(0.87 0.002 262)";
106
+ readonly 500: "oklch(0.84 0.002 262)";
107
+ readonly 600: "oklch(0.76 0.002 262)";
108
+ readonly 700: "oklch(0.66 0.002 262)";
109
+ readonly 800: "oklch(0.52 0.002 262)";
110
+ readonly 900: "oklch(0.4 0.002 262)";
111
+ };
112
+ readonly brand: {
113
+ readonly green: "#4CBC13";
114
+ readonly blue: "#2F61C4";
115
+ readonly greenAlt: "#2ABC13";
116
+ };
117
+ };
118
+
119
+ /**
120
+ * TCN Typography Tokens
121
+ * Font family names as used in Tailwind classes and CSS variables.
122
+ */
123
+ declare const fontFamily: {
124
+ /** Used for headings and brand text */
125
+ readonly onest: "var(--font-onest), sans-serif";
126
+ /** Used for body text */
127
+ readonly golos: "var(--font-golosText), sans-serif";
128
+ /** Used in the brand wordmark SVG */
129
+ readonly coolvetica: "Coolvetica, sans-serif";
130
+ };
131
+ declare const fontSize: {
132
+ readonly xs: "0.75rem";
133
+ readonly sm: "0.875rem";
134
+ readonly base: "1rem";
135
+ readonly lg: "1.125rem";
136
+ readonly xl: "1.25rem";
137
+ readonly "2xl": "1.5rem";
138
+ readonly "3xl": "1.875rem";
139
+ readonly "4xl": "2.25rem";
140
+ readonly "5xl": "3rem";
141
+ };
142
+ declare const fontWeight: {
143
+ readonly normal: "400";
144
+ readonly medium: "500";
145
+ readonly semibold: "600";
146
+ readonly bold: "700";
147
+ };
148
+ declare const typography: {
149
+ readonly fontFamily: {
150
+ /** Used for headings and brand text */
151
+ readonly onest: "var(--font-onest), sans-serif";
152
+ /** Used for body text */
153
+ readonly golos: "var(--font-golosText), sans-serif";
154
+ /** Used in the brand wordmark SVG */
155
+ readonly coolvetica: "Coolvetica, sans-serif";
156
+ };
157
+ readonly fontSize: {
158
+ readonly xs: "0.75rem";
159
+ readonly sm: "0.875rem";
160
+ readonly base: "1rem";
161
+ readonly lg: "1.125rem";
162
+ readonly xl: "1.25rem";
163
+ readonly "2xl": "1.5rem";
164
+ readonly "3xl": "1.875rem";
165
+ readonly "4xl": "2.25rem";
166
+ readonly "5xl": "3rem";
167
+ };
168
+ readonly fontWeight: {
169
+ readonly normal: "400";
170
+ readonly medium: "500";
171
+ readonly semibold: "600";
172
+ readonly bold: "700";
173
+ };
174
+ };
175
+
176
+ /**
177
+ * TCN Border Radius Tokens
178
+ * These mirror the --tt-radius-* CSS custom properties.
179
+ */
180
+ declare const radius: {
181
+ readonly xxs: "0.125rem";
182
+ readonly xs: "0.25rem";
183
+ readonly sm: "0.375rem";
184
+ readonly md: "0.5rem";
185
+ readonly lg: "0.75rem";
186
+ readonly xl: "1rem";
187
+ readonly full: "9999px";
188
+ };
189
+
190
+ export { accent, brand, colors, fontFamily, fontSize, fontWeight, neutral, primary, radius, secondary, typography };
@@ -0,0 +1,104 @@
1
+ // src/tokens/colors.ts
2
+ var primary = {
3
+ 50: "#edf8e7",
4
+ 100: "#c8eab6",
5
+ 200: "#ade092",
6
+ 300: "#87d261",
7
+ 400: "#70c942",
8
+ 500: "#4cbc13",
9
+ 600: "#45ab11",
10
+ 700: "#36850d",
11
+ 800: "#2a670a",
12
+ 900: "#204f08"
13
+ };
14
+ var secondary = {
15
+ 50: "oklch(0.968 0.026 269.8)",
16
+ 100: "oklch(0.913 0.046 266.9)",
17
+ 200: "oklch(0.865 0.071 264.4)",
18
+ 300: "oklch(0.769 0.128 260.8)",
19
+ 400: "oklch(0.720 0.181 258.1)",
20
+ 500: "oklch(0.649 0.235 255.7)",
21
+ 600: "oklch(0.603 0.218 254.4)",
22
+ 700: "oklch(0.538 0.205 253.6)",
23
+ 800: "oklch(0.455 0.168 253.2)",
24
+ 900: "oklch(0.396 0.142 252.8)"
25
+ };
26
+ var neutral = {
27
+ 50: "oklch(0.94 0.005 262)",
28
+ 100: "oklch(0.84 0.004 262)",
29
+ 200: "oklch(0.74 0.004 262)",
30
+ 300: "oklch(0.61 0.003 262)",
31
+ 400: "oklch(0.49 0.002 262)",
32
+ 500: "oklch(0.4 0.001 262)",
33
+ 600: "oklch(0.34 0.001 262)",
34
+ 700: "oklch(0.29 0.001 262)",
35
+ 800: "oklch(0.24 0.001 262)",
36
+ 900: "oklch(0.18 0.001 262)"
37
+ };
38
+ var accent = {
39
+ 50: "oklch(0.99 0.002 262)",
40
+ 100: "oklch(0.975 0.002 262)",
41
+ 200: "oklch(0.93 0.002 262)",
42
+ 300: "oklch(0.9 0.002 262)",
43
+ 400: "oklch(0.87 0.002 262)",
44
+ 500: "oklch(0.84 0.002 262)",
45
+ 600: "oklch(0.76 0.002 262)",
46
+ 700: "oklch(0.66 0.002 262)",
47
+ 800: "oklch(0.52 0.002 262)",
48
+ 900: "oklch(0.4 0.002 262)"
49
+ };
50
+ var brand = {
51
+ green: "#4CBC13",
52
+ blue: "#2F61C4",
53
+ greenAlt: "#2ABC13"
54
+ };
55
+ var colors = { primary, secondary, neutral, accent, brand };
56
+
57
+ // src/tokens/typography.ts
58
+ var fontFamily = {
59
+ /** Used for headings and brand text */
60
+ onest: "var(--font-onest), sans-serif",
61
+ /** Used for body text */
62
+ golos: "var(--font-golosText), sans-serif",
63
+ /** Used in the brand wordmark SVG */
64
+ coolvetica: "Coolvetica, sans-serif"
65
+ };
66
+ var fontSize = {
67
+ xs: "0.75rem",
68
+ sm: "0.875rem",
69
+ base: "1rem",
70
+ lg: "1.125rem",
71
+ xl: "1.25rem",
72
+ "2xl": "1.5rem",
73
+ "3xl": "1.875rem",
74
+ "4xl": "2.25rem",
75
+ "5xl": "3rem"
76
+ };
77
+ var fontWeight = {
78
+ normal: "400",
79
+ medium: "500",
80
+ semibold: "600",
81
+ bold: "700"
82
+ };
83
+ var typography = { fontFamily, fontSize, fontWeight };
84
+
85
+ // src/tokens/radius.ts
86
+ var radius = {
87
+ xxs: "0.125rem",
88
+ /* 2px */
89
+ xs: "0.25rem",
90
+ /* 4px */
91
+ sm: "0.375rem",
92
+ /* 6px */
93
+ md: "0.5rem",
94
+ /* 8px */
95
+ lg: "0.75rem",
96
+ /* 12px */
97
+ xl: "1rem",
98
+ /* 16px */
99
+ full: "9999px"
100
+ };
101
+
102
+ export { accent, brand, colors, fontFamily, fontSize, fontWeight, neutral, primary, radius, secondary, typography };
103
+ //# sourceMappingURL=index.js.map
104
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../mnt/GitHub/tcn-ui/src/tokens/colors.ts","../../mnt/Git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ourcesContent":["/**\n * TCN Brand Color Tokens\n * These mirror the CSS custom properties defined in styles/theme.css.\n * Use these in JS/TS contexts (e.g. charting libraries, inline styles).\n */\n\nexport const primary = {\n 50: \"#edf8e7\",\n 100: \"#c8eab6\",\n 200: \"#ade092\",\n 300: \"#87d261\",\n 400: \"#70c942\",\n 500: \"#4cbc13\",\n 600: \"#45ab11\",\n 700: \"#36850d\",\n 800: \"#2a670a\",\n 900: \"#204f08\",\n} as const;\n\n/** Admin Blue — oklch values as CSS strings (use in CSS contexts) */\nexport const secondary = {\n 50: \"oklch(0.968 0.026 269.8)\",\n 100: \"oklch(0.913 0.046 266.9)\",\n 200: \"oklch(0.865 0.071 264.4)\",\n 300: \"oklch(0.769 0.128 260.8)\",\n 400: \"oklch(0.720 0.181 258.1)\",\n 500: \"oklch(0.649 0.235 255.7)\",\n 600: \"oklch(0.603 0.218 254.4)\",\n 700: \"oklch(0.538 0.205 253.6)\",\n 800: \"oklch(0.455 0.168 253.2)\",\n 900: \"oklch(0.396 0.142 252.8)\",\n} as const;\n\n/** Neutral — warm grey scale */\nexport const neutral = {\n 50: \"oklch(0.94 0.005 262)\",\n 100: \"oklch(0.84 0.004 262)\",\n 200: \"oklch(0.74 0.004 262)\",\n 300: \"oklch(0.61 0.003 262)\",\n 400: \"oklch(0.49 0.002 262)\",\n 500: \"oklch(0.4 0.001 262)\",\n 600: \"oklch(0.34 0.001 262)\",\n 700: \"oklch(0.29 0.001 262)\",\n 800: \"oklch(0.24 0.001 262)\",\n 900: \"oklch(0.18 0.001 262)\",\n} as const;\n\n/** Accent — near-white surface scale */\nexport const accent = {\n 50: \"oklch(0.99 0.002 262)\",\n 100: \"oklch(0.975 0.002 262)\",\n 200: \"oklch(0.93 0.002 262)\",\n 300: \"oklch(0.9 0.002 262)\",\n 400: \"oklch(0.87 0.002 262)\",\n 500: \"oklch(0.84 0.002 262)\",\n 600: \"oklch(0.76 0.002 262)\",\n 700: \"oklch(0.66 0.002 262)\",\n 800: \"oklch(0.52 0.002 262)\",\n 900: \"oklch(0.4 0.002 262)\",\n} as const;\n\n/** Raw brand identity hex values */\nexport const brand = {\n green: \"#4CBC13\",\n blue: \"#2F61C4\",\n greenAlt: \"#2ABC13\",\n} as const;\n\nexport const colors = { primary, secondary, neutral, accent, brand } as const;\n","/**\n * TCN Typography Tokens\n * Font family names as used in Tailwind classes and CSS variables.\n */\n\nexport const fontFamily = {\n /** Used for headings and brand text */\n onest: \"var(--font-onest), sans-serif\",\n /** Used for body text */\n golos: \"var(--font-golosText), sans-serif\",\n /** Used in the brand wordmark SVG */\n coolvetica: \"Coolvetica, sans-serif\",\n} as const;\n\nexport const fontSize = {\n xs: \"0.75rem\",\n sm: \"0.875rem\",\n base: \"1rem\",\n lg: \"1.125rem\",\n xl: \"1.25rem\",\n \"2xl\": \"1.5rem\",\n \"3xl\": \"1.875rem\",\n \"4xl\": \"2.25rem\",\n \"5xl\": \"3rem\",\n} as const;\n\nexport const fontWeight = {\n normal: \"400\",\n medium: \"500\",\n semibold: \"600\",\n bold: \"700\",\n} as const;\n\nexport const typography = { fontFamily, fontSize, fontWeight } as const;\n","/**\n * TCN Border Radius Tokens\n * These mirror the --tt-radius-* CSS custom properties.\n */\n\nexport const radius = {\n xxs: \"0.125rem\", /* 2px */\n xs: \"0.25rem\", /* 4px */\n sm: \"0.375rem\", /* 6px */\n md: \"0.5rem\", /* 8px */\n lg: \"0.75rem\", /* 12px */\n xl: \"1rem\", /* 16px */\n full: \"9999px\",\n} as const;\n"]}
@@ -0,0 +1,104 @@
1
+ // mnt/GitHub/tcn-ui/src/tokens/colors.ts
2
+ var primary = {
3
+ 50: "#edf8e7",
4
+ 100: "#c8eab6",
5
+ 200: "#ade092",
6
+ 300: "#87d261",
7
+ 400: "#70c942",
8
+ 500: "#4cbc13",
9
+ 600: "#45ab11",
10
+ 700: "#36850d",
11
+ 800: "#2a670a",
12
+ 900: "#204f08"
13
+ };
14
+ var secondary = {
15
+ 50: "oklch(0.968 0.026 269.8)",
16
+ 100: "oklch(0.913 0.046 266.9)",
17
+ 200: "oklch(0.865 0.071 264.4)",
18
+ 300: "oklch(0.769 0.128 260.8)",
19
+ 400: "oklch(0.720 0.181 258.1)",
20
+ 500: "oklch(0.649 0.235 255.7)",
21
+ 600: "oklch(0.603 0.218 254.4)",
22
+ 700: "oklch(0.538 0.205 253.6)",
23
+ 800: "oklch(0.455 0.168 253.2)",
24
+ 900: "oklch(0.396 0.142 252.8)"
25
+ };
26
+ var neutral = {
27
+ 50: "oklch(0.94 0.005 262)",
28
+ 100: "oklch(0.84 0.004 262)",
29
+ 200: "oklch(0.74 0.004 262)",
30
+ 300: "oklch(0.61 0.003 262)",
31
+ 400: "oklch(0.49 0.002 262)",
32
+ 500: "oklch(0.4 0.001 262)",
33
+ 600: "oklch(0.34 0.001 262)",
34
+ 700: "oklch(0.29 0.001 262)",
35
+ 800: "oklch(0.24 0.001 262)",
36
+ 900: "oklch(0.18 0.001 262)"
37
+ };
38
+ var accent = {
39
+ 50: "oklch(0.99 0.002 262)",
40
+ 100: "oklch(0.975 0.002 262)",
41
+ 200: "oklch(0.93 0.002 262)",
42
+ 300: "oklch(0.9 0.002 262)",
43
+ 400: "oklch(0.87 0.002 262)",
44
+ 500: "oklch(0.84 0.002 262)",
45
+ 600: "oklch(0.76 0.002 262)",
46
+ 700: "oklch(0.66 0.002 262)",
47
+ 800: "oklch(0.52 0.002 262)",
48
+ 900: "oklch(0.4 0.002 262)"
49
+ };
50
+ var brand = {
51
+ green: "#4CBC13",
52
+ blue: "#2F61C4",
53
+ greenAlt: "#2ABC13"
54
+ };
55
+ var colors = { primary, secondary, neutral, accent, brand };
56
+
57
+ // mnt/GitHub/tcn-ui/src/tokens/typography.ts
58
+ var fontFamily = {
59
+ /** Used for headings and brand text */
60
+ onest: "var(--font-onest), sans-serif",
61
+ /** Used for body text */
62
+ golos: "var(--font-golosText), sans-serif",
63
+ /** Used in the brand wordmark SVG */
64
+ coolvetica: "Coolvetica, sans-serif"
65
+ };
66
+ var fontSize = {
67
+ xs: "0.75rem",
68
+ sm: "0.875rem",
69
+ base: "1rem",
70
+ lg: "1.125rem",
71
+ xl: "1.25rem",
72
+ "2xl": "1.5rem",
73
+ "3xl": "1.875rem",
74
+ "4xl": "2.25rem",
75
+ "5xl": "3rem"
76
+ };
77
+ var fontWeight = {
78
+ normal: "400",
79
+ medium: "500",
80
+ semibold: "600",
81
+ bold: "700"
82
+ };
83
+ var typography = { fontFamily, fontSize, fontWeight };
84
+
85
+ // mnt/GitHub/tcn-ui/src/tokens/radius.ts
86
+ var radius = {
87
+ xxs: "0.125rem",
88
+ /* 2px */
89
+ xs: "0.25rem",
90
+ /* 4px */
91
+ sm: "0.375rem",
92
+ /* 6px */
93
+ md: "0.5rem",
94
+ /* 8px */
95
+ lg: "0.75rem",
96
+ /* 12px */
97
+ xl: "1rem",
98
+ /* 16px */
99
+ full: "9999px"
100
+ };
101
+
102
+ export { accent, brand, colors, fontFamily, fontSize, fontWeight, neutral, primary, radius, secondary, typography };
103
+ //# sourceMappingURL=index.mjs.map
104
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../mnt/GitHub/tcn-ui/src/tokens/colors.ts","../../mnt/GitHub/tcn-ui/src/tokens/typography.ts","../../mnt/GitHub/tcn-ui/src/tokens/radius.ts"],"names":[],"mappings":";AAMO,IAAM,OAAA,GAAU;AAAA,EACrB,EAAA,EAAI,SAAA;AAAA,EACJ,GAAA,EAAK,SAAA;AAAA,EACL,GAAA,EAAK,SAAA;AAAA,EACL,GAAA,EAAK,SAAA;AAAA,EACL,GAAA,EAAK,SAAA;AAAA,EACL,GAAA,EAAK,SAAA;AAAA,EACL,GAAA,EAAK,SAAA;AAAA,EACL,GAAA,EAAK,SAAA;AAAA,EACL,GAAA,EAAK,SAAA;AAAA,EACL,GAAA,EAAK;AACP;AAGO,IAAM,SAAA,GAAY;AAAA,EACvB,EAAA,EAAI,0BAAA;AAAA,EACJ,GAAA,EAA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M,QAAA,GAAW;AAAA,EACtB,EAAA,EAAI,SAAA;AAAA,EACJ,EAAA,EAAI,UAAA;AAAA,EACJ,IAAA,EAAM,MAAA;AAAA,EACN,EAAA,EAAI,UAAA;AAAA,EACJ,EAAA,EAAI,SAAA;AAAA,EACJ,KAAA,EAAO,QAAA;AAAA,EACP,KAAA,EAAO,UAAA;AAAA,EACP,KAAA,EAAO,SAAA;AAAA,EACP,KAAA,EAAO;AACT;AAEO,IAAM,UAAA,GAAa;AAAA,EACxB,MAAA,EAAQ,KAAA;AAAA,EACR,MAAA,EAAQ,KAAA;AAAA,EACR,QAAA,EAAU,KAAA;AAAA,EACV,IAAA,EAAM;AACR;AAEO,IAAM,UAAA,GAAa,EAAE,UAAA,EAAY,QAAA,EAAU,UAAA;;;AC5B3C,IAAM,MAAA,GAAS;AAAA,EACpB,GAAA,EAAK,UAAA;AAAA;AAAA,EACL,EAAA,EAAI,SAAA;AAAA;AAAA,EACJ,EAAA,EAAI,UAAA;AAAA;AAAA,EACJ,EAAA,EAAI,QAAA;AAAA;AAAA,EACJ,EAAA,EAAI,SAAA;AAAA;AAAA,EACJ,EAAA,EAAI,MAAA;AAAA;AAAA,EACJ,IAAA,EAAM;AACR","file":"index.mjs","sourcesContent":["/**\n * TCN Brand Color Tokens\n * These mirror the CSS custom properties defined in styles/theme.css.\n * Use these in JS/TS contexts (e.g. charting libraries, inline styles).\n */\n\nexport const primary = {\n 50: \"#edf8e7\",\n 100: \"#c8eab6\",\n 200: \"#ade092\",\n 300: \"#87d261\",\n 400: \"#70c942\",\n 500: \"#4cbc13\",\n 600: \"#45ab11\",\n 700: \"#36850d\",\n 800: \"#2a670a\",\n 900: \"#204f08\",\n} as const;\n\n/** Admin Blue — oklch values as CSS strings (use in CSS contexts) */\nexport const secondary = {\n 50: \"oklch(0.968 0.026 269.8)\",\n 100: \"oklch(0.913 0.046 266.9)\",\n 200: \"oklch(0.865 0.071 264.4)\",\n 300: \"oklch(0.769 0.128 260.8)\",\n 400: \"oklch(0.720 0.181 258.1)\",\n 500: \"oklch(0.649 0.235 255.7)\",\n 600: \"oklch(0.603 0.218 254.4)\",\n 700: \"oklch(0.538 0.205 253.6)\",\n 800: \"oklch(0.455 0.168 253.2)\",\n 900: \"oklch(0.396 0.142 252.8)\",\n} as const;\n\n/** Neutral — warm grey scale */\nexport const neutral = {\n 50: \"oklch(0.94 0.005 262)\",\n 100: \"oklch(0.84 0.004 262)\",\n 200: \"oklch(0.74 0.004 262)\",\n 300: \"oklch(0.61 0.003 262)\",\n 400: \"oklch(0.49 0.002 262)\",\n 500: \"oklch(0.4 0.001 262)\",\n 600: \"oklch(0.34 0.001 262)\",\n 700: \"oklch(0.29 0.001 262)\",\n 800: \"oklch(0.24 0.001 262)\",\n 900: \"oklch(0.18 0.001 262)\",\n} as const;\n\n/** Accent — near-white surface scale */\nexport const accent = {\n 50: \"oklch(0.99 0.002 262)\",\n 100: \"oklch(0.975 0.002 262)\",\n 200: \"oklch(0.93 0.002 262)\",\n 300: \"oklch(0.9 0.002 262)\",\n 400: \"oklch(0.87 0.002 262)\",\n 500: \"oklch(0.84 0.002 262)\",\n 600: \"oklch(0.76 0.002 262)\",\n 700: \"oklch(0.66 0.002 262)\",\n 800: \"oklch(0.52 0.002 262)\",\n 900: \"oklch(0.4 0.002 262)\",\n} as const;\n\n/** Raw brand identity hex values */\nexport const brand = {\n green: \"#4CBC13\",\n blue: \"#2F61C4\",\n greenAlt: \"#2ABC13\",\n} as const;\n\nexport const colors = { primary, secondary, neutral, accent, brand } as const;\n","/**\n * TCN Typography Tokens\n * Font family names as used in Tailwind classes and CSS variables.\n */\n\nexport const fontFamily = {\n /** Used for headings and brand text */\n onest: \"var(--font-onest), sans-serif\",\n /** Used for body text */\n golos: \"var(--font-golosText), sans-serif\",\n /** Used in the brand wordmark SVG */\n coolvetica: \"Coolvetica, sans-serif\",\n} as const;\n\nexport const fontSize = {\n xs: \"0.75rem\",\n sm: \"0.875rem\",\n base: \"1rem\",\n lg: \"1.125rem\",\n xl: \"1.25rem\",\n \"2xl\": \"1.5rem\",\n \"3xl\": \"1.875rem\",\n \"4xl\": \"2.25rem\",\n \"5xl\": \"3rem\",\n} as const;\n\nexport const fontWeight = {\n normal: \"400\",\n medium: \"500\",\n semibold: \"600\",\n bold: \"700\",\n} as const;\n\nexport const typography = { fontFamily, fontSize, fontWeight } as const;\n","/**\n * TCN Border Radius Tokens\n * These mirror the --tt-radius-* CSS custom properties.\n */\n\nexport const radius = {\n xxs: \"0.125rem\", /* 2px */\n xs: \"0.25rem\", /* 4px */\n sm: \"0.375rem\", /* 6px */\n md: \"0.5rem\", /* 8px */\n lg: \"0.75rem\", /* 12px */\n xl: \"1rem\", /* 16px */\n full: \"9999px\",\n} as const;\n"]}