@adam-milo/tokens 1.0.1 → 1.0.6

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.
@@ -14,7 +14,25 @@ var colors = {
14
14
  bgSecondary: "#F3F3F5",
15
15
  border: "#E5E5EA",
16
16
  iconSecondary: "#C9C9CF",
17
- systemText: "#8C8C9C"
17
+ systemText: "#8C8C9C",
18
+ grey07: "#656573",
19
+ // Figma Grey/Grey 07 - for labels
20
+ // Button-specific colors
21
+ buttonOrange: "#F27424",
22
+ buttonOrangeBorder: "#ED6827",
23
+ buttonBlue: "#329CB2",
24
+ // Button state overlays (rgba for transparency)
25
+ overlayDark10: "rgba(25, 26, 57, 0.1)",
26
+ overlayDark12: "rgba(25, 26, 57, 0.12)",
27
+ overlayOrange10: "rgba(242, 116, 36, 0.1)",
28
+ overlayOrange12: "rgba(242, 116, 36, 0.12)",
29
+ overlayOrange15: "rgba(242, 116, 36, 0.15)",
30
+ overlayOrangeBorder12: "rgba(237, 104, 39, 0.12)",
31
+ overlayBlue10: "rgba(50, 156, 178, 0.1)",
32
+ overlayBlue12: "rgba(50, 156, 178, 0.12)",
33
+ overlayBlue15: "rgba(50, 156, 178, 0.15)",
34
+ overlayBlack05: "rgba(0, 0, 0, 0.05)",
35
+ overlayBlack10: "rgba(0, 0, 0, 0.1)"
18
36
  };
19
37
  var legacyColors = {
20
38
  primary: {
@@ -8,7 +8,7 @@ var spacing = {
8
8
  1.5: "0.375rem",
9
9
  // 6px
10
10
  2: "0.5rem",
11
- // 8px
11
+ // 8px - Base unit
12
12
  3: "0.75rem",
13
13
  // 12px
14
14
  4: "1rem",
@@ -27,8 +27,10 @@ var spacing = {
27
27
  // 48px
28
28
  14: "3.5rem",
29
29
  // 56px
30
- 16: "4rem"
30
+ 16: "4rem",
31
31
  // 64px
32
+ 20: "5rem"
33
+ // 80px - New: For large layouts
32
34
  };
33
35
  var borderRadius = {
34
36
  none: "0",
@@ -41,6 +41,10 @@ var fontSize = {
41
41
  // 12px - Bold
42
42
  "text-10": ["0.75rem", { lineHeight: "1.2", fontWeight: "400" }],
43
43
  // 12px - Regular
44
+ "title-11": ["0.625rem", { lineHeight: "1.2", fontWeight: "700" }],
45
+ // 10px - Bold (Error text)
46
+ "text-11": ["0.625rem", { lineHeight: "1.2", fontWeight: "400" }],
47
+ // 10px - Regular (Error text)
44
48
  // Legacy names (keeping for backward compatibility)
45
49
  h1: ["2.5rem", { lineHeight: "3rem", fontWeight: "700" }],
46
50
  h2: ["2rem", { lineHeight: "2.5rem", fontWeight: "700" }],
package/dist/colors.d.mts CHANGED
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * Smart V2 Design System - Color Tokens
3
3
  * @package @adam-milo/tokens
4
+ *
5
+ * Test change: CI/CD pipeline validation
4
6
  */
5
7
  declare const colors: {
6
8
  readonly text: "#191A39";
@@ -16,6 +18,21 @@ declare const colors: {
16
18
  readonly border: "#E5E5EA";
17
19
  readonly iconSecondary: "#C9C9CF";
18
20
  readonly systemText: "#8C8C9C";
21
+ readonly grey07: "#656573";
22
+ readonly buttonOrange: "#F27424";
23
+ readonly buttonOrangeBorder: "#ED6827";
24
+ readonly buttonBlue: "#329CB2";
25
+ readonly overlayDark10: "rgba(25, 26, 57, 0.1)";
26
+ readonly overlayDark12: "rgba(25, 26, 57, 0.12)";
27
+ readonly overlayOrange10: "rgba(242, 116, 36, 0.1)";
28
+ readonly overlayOrange12: "rgba(242, 116, 36, 0.12)";
29
+ readonly overlayOrange15: "rgba(242, 116, 36, 0.15)";
30
+ readonly overlayOrangeBorder12: "rgba(237, 104, 39, 0.12)";
31
+ readonly overlayBlue10: "rgba(50, 156, 178, 0.1)";
32
+ readonly overlayBlue12: "rgba(50, 156, 178, 0.12)";
33
+ readonly overlayBlue15: "rgba(50, 156, 178, 0.15)";
34
+ readonly overlayBlack05: "rgba(0, 0, 0, 0.05)";
35
+ readonly overlayBlack10: "rgba(0, 0, 0, 0.1)";
19
36
  };
20
37
  declare const legacyColors: {
21
38
  readonly primary: {
package/dist/colors.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * Smart V2 Design System - Color Tokens
3
3
  * @package @adam-milo/tokens
4
+ *
5
+ * Test change: CI/CD pipeline validation
4
6
  */
5
7
  declare const colors: {
6
8
  readonly text: "#191A39";
@@ -16,6 +18,21 @@ declare const colors: {
16
18
  readonly border: "#E5E5EA";
17
19
  readonly iconSecondary: "#C9C9CF";
18
20
  readonly systemText: "#8C8C9C";
21
+ readonly grey07: "#656573";
22
+ readonly buttonOrange: "#F27424";
23
+ readonly buttonOrangeBorder: "#ED6827";
24
+ readonly buttonBlue: "#329CB2";
25
+ readonly overlayDark10: "rgba(25, 26, 57, 0.1)";
26
+ readonly overlayDark12: "rgba(25, 26, 57, 0.12)";
27
+ readonly overlayOrange10: "rgba(242, 116, 36, 0.1)";
28
+ readonly overlayOrange12: "rgba(242, 116, 36, 0.12)";
29
+ readonly overlayOrange15: "rgba(242, 116, 36, 0.15)";
30
+ readonly overlayOrangeBorder12: "rgba(237, 104, 39, 0.12)";
31
+ readonly overlayBlue10: "rgba(50, 156, 178, 0.1)";
32
+ readonly overlayBlue12: "rgba(50, 156, 178, 0.12)";
33
+ readonly overlayBlue15: "rgba(50, 156, 178, 0.15)";
34
+ readonly overlayBlack05: "rgba(0, 0, 0, 0.05)";
35
+ readonly overlayBlack10: "rgba(0, 0, 0, 0.1)";
19
36
  };
20
37
  declare const legacyColors: {
21
38
  readonly primary: {
package/dist/colors.js CHANGED
@@ -40,7 +40,25 @@ var colors = {
40
40
  bgSecondary: "#F3F3F5",
41
41
  border: "#E5E5EA",
42
42
  iconSecondary: "#C9C9CF",
43
- systemText: "#8C8C9C"
43
+ systemText: "#8C8C9C",
44
+ grey07: "#656573",
45
+ // Figma Grey/Grey 07 - for labels
46
+ // Button-specific colors
47
+ buttonOrange: "#F27424",
48
+ buttonOrangeBorder: "#ED6827",
49
+ buttonBlue: "#329CB2",
50
+ // Button state overlays (rgba for transparency)
51
+ overlayDark10: "rgba(25, 26, 57, 0.1)",
52
+ overlayDark12: "rgba(25, 26, 57, 0.12)",
53
+ overlayOrange10: "rgba(242, 116, 36, 0.1)",
54
+ overlayOrange12: "rgba(242, 116, 36, 0.12)",
55
+ overlayOrange15: "rgba(242, 116, 36, 0.15)",
56
+ overlayOrangeBorder12: "rgba(237, 104, 39, 0.12)",
57
+ overlayBlue10: "rgba(50, 156, 178, 0.1)",
58
+ overlayBlue12: "rgba(50, 156, 178, 0.12)",
59
+ overlayBlue15: "rgba(50, 156, 178, 0.15)",
60
+ overlayBlack05: "rgba(0, 0, 0, 0.05)",
61
+ overlayBlack10: "rgba(0, 0, 0, 0.1)"
44
62
  };
45
63
  var legacyColors = {
46
64
  primary: {
package/dist/colors.mjs CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  colors,
3
3
  gradients,
4
4
  legacyColors
5
- } from "./chunk-NFXHCTG6.mjs";
5
+ } from "./chunk-KL3TH4QD.mjs";
6
6
  export {
7
7
  colors,
8
8
  gradients,
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { Colors, Gradients, LegacyColors, colors, gradients, legacyColors } from './colors.mjs';
2
- export { BorderRadius, Spacing, borderRadius, spacing } from './spacing.mjs';
2
+ export { BorderRadius, BorderWidth, Spacing, borderRadius, borderWidth, spacing } from './spacing.mjs';
3
3
  export { FontFamily, FontSize, fontFamily, fontSize } from './typography.mjs';
4
4
 
5
5
  /**
@@ -25,6 +25,21 @@ declare const tokens: {
25
25
  readonly border: "#E5E5EA";
26
26
  readonly iconSecondary: "#C9C9CF";
27
27
  readonly systemText: "#8C8C9C";
28
+ readonly grey07: "#656573";
29
+ readonly buttonOrange: "#F27424";
30
+ readonly buttonOrangeBorder: "#ED6827";
31
+ readonly buttonBlue: "#329CB2";
32
+ readonly overlayDark10: "rgba(25, 26, 57, 0.1)";
33
+ readonly overlayDark12: "rgba(25, 26, 57, 0.12)";
34
+ readonly overlayOrange10: "rgba(242, 116, 36, 0.1)";
35
+ readonly overlayOrange12: "rgba(242, 116, 36, 0.12)";
36
+ readonly overlayOrange15: "rgba(242, 116, 36, 0.15)";
37
+ readonly overlayOrangeBorder12: "rgba(237, 104, 39, 0.12)";
38
+ readonly overlayBlue10: "rgba(50, 156, 178, 0.1)";
39
+ readonly overlayBlue12: "rgba(50, 156, 178, 0.12)";
40
+ readonly overlayBlue15: "rgba(50, 156, 178, 0.15)";
41
+ readonly overlayBlack05: "rgba(0, 0, 0, 0.05)";
42
+ readonly overlayBlack10: "rgba(0, 0, 0, 0.1)";
28
43
  };
29
44
  readonly legacyColors: {
30
45
  readonly primary: {
@@ -112,6 +127,7 @@ declare const tokens: {
112
127
  readonly 12: "3rem";
113
128
  readonly 14: "3.5rem";
114
129
  readonly 16: "4rem";
130
+ readonly 20: "5rem";
115
131
  };
116
132
  readonly borderRadius: {
117
133
  readonly none: "0";
@@ -125,6 +141,13 @@ declare const tokens: {
125
141
  readonly '4xl': "2rem";
126
142
  readonly full: "9999px";
127
143
  };
144
+ readonly borderWidth: {
145
+ readonly none: "0";
146
+ readonly default: "0.0625rem";
147
+ readonly md: "0.125rem";
148
+ readonly lg: "0.1875rem";
149
+ readonly xl: "0.25rem";
150
+ };
128
151
  readonly fontSize: {
129
152
  readonly 'title-1': readonly ["3rem", {
130
153
  readonly lineHeight: "1.2";
@@ -206,6 +229,14 @@ declare const tokens: {
206
229
  readonly lineHeight: "1.2";
207
230
  readonly fontWeight: "400";
208
231
  }];
232
+ readonly 'title-11': readonly ["0.625rem", {
233
+ readonly lineHeight: "1.2";
234
+ readonly fontWeight: "700";
235
+ }];
236
+ readonly 'text-11': readonly ["0.625rem", {
237
+ readonly lineHeight: "1.2";
238
+ readonly fontWeight: "400";
239
+ }];
209
240
  readonly h1: readonly ["2.5rem", {
210
241
  readonly lineHeight: "3rem";
211
242
  readonly fontWeight: "700";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { Colors, Gradients, LegacyColors, colors, gradients, legacyColors } from './colors.js';
2
- export { BorderRadius, Spacing, borderRadius, spacing } from './spacing.js';
2
+ export { BorderRadius, BorderWidth, Spacing, borderRadius, borderWidth, spacing } from './spacing.js';
3
3
  export { FontFamily, FontSize, fontFamily, fontSize } from './typography.js';
4
4
 
5
5
  /**
@@ -25,6 +25,21 @@ declare const tokens: {
25
25
  readonly border: "#E5E5EA";
26
26
  readonly iconSecondary: "#C9C9CF";
27
27
  readonly systemText: "#8C8C9C";
28
+ readonly grey07: "#656573";
29
+ readonly buttonOrange: "#F27424";
30
+ readonly buttonOrangeBorder: "#ED6827";
31
+ readonly buttonBlue: "#329CB2";
32
+ readonly overlayDark10: "rgba(25, 26, 57, 0.1)";
33
+ readonly overlayDark12: "rgba(25, 26, 57, 0.12)";
34
+ readonly overlayOrange10: "rgba(242, 116, 36, 0.1)";
35
+ readonly overlayOrange12: "rgba(242, 116, 36, 0.12)";
36
+ readonly overlayOrange15: "rgba(242, 116, 36, 0.15)";
37
+ readonly overlayOrangeBorder12: "rgba(237, 104, 39, 0.12)";
38
+ readonly overlayBlue10: "rgba(50, 156, 178, 0.1)";
39
+ readonly overlayBlue12: "rgba(50, 156, 178, 0.12)";
40
+ readonly overlayBlue15: "rgba(50, 156, 178, 0.15)";
41
+ readonly overlayBlack05: "rgba(0, 0, 0, 0.05)";
42
+ readonly overlayBlack10: "rgba(0, 0, 0, 0.1)";
28
43
  };
29
44
  readonly legacyColors: {
30
45
  readonly primary: {
@@ -112,6 +127,7 @@ declare const tokens: {
112
127
  readonly 12: "3rem";
113
128
  readonly 14: "3.5rem";
114
129
  readonly 16: "4rem";
130
+ readonly 20: "5rem";
115
131
  };
116
132
  readonly borderRadius: {
117
133
  readonly none: "0";
@@ -125,6 +141,13 @@ declare const tokens: {
125
141
  readonly '4xl': "2rem";
126
142
  readonly full: "9999px";
127
143
  };
144
+ readonly borderWidth: {
145
+ readonly none: "0";
146
+ readonly default: "0.0625rem";
147
+ readonly md: "0.125rem";
148
+ readonly lg: "0.1875rem";
149
+ readonly xl: "0.25rem";
150
+ };
128
151
  readonly fontSize: {
129
152
  readonly 'title-1': readonly ["3rem", {
130
153
  readonly lineHeight: "1.2";
@@ -206,6 +229,14 @@ declare const tokens: {
206
229
  readonly lineHeight: "1.2";
207
230
  readonly fontWeight: "400";
208
231
  }];
232
+ readonly 'title-11': readonly ["0.625rem", {
233
+ readonly lineHeight: "1.2";
234
+ readonly fontWeight: "700";
235
+ }];
236
+ readonly 'text-11': readonly ["0.625rem", {
237
+ readonly lineHeight: "1.2";
238
+ readonly fontWeight: "400";
239
+ }];
209
240
  readonly h1: readonly ["2.5rem", {
210
241
  readonly lineHeight: "3rem";
211
242
  readonly fontWeight: "700";
package/dist/index.js CHANGED
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
23
  borderRadius: () => borderRadius,
24
+ borderWidth: () => borderWidth,
24
25
  colors: () => colors,
25
26
  default: () => index_default,
26
27
  fontFamily: () => fontFamily,
@@ -48,7 +49,25 @@ var colors = {
48
49
  bgSecondary: "#F3F3F5",
49
50
  border: "#E5E5EA",
50
51
  iconSecondary: "#C9C9CF",
51
- systemText: "#8C8C9C"
52
+ systemText: "#8C8C9C",
53
+ grey07: "#656573",
54
+ // Figma Grey/Grey 07 - for labels
55
+ // Button-specific colors
56
+ buttonOrange: "#F27424",
57
+ buttonOrangeBorder: "#ED6827",
58
+ buttonBlue: "#329CB2",
59
+ // Button state overlays (rgba for transparency)
60
+ overlayDark10: "rgba(25, 26, 57, 0.1)",
61
+ overlayDark12: "rgba(25, 26, 57, 0.12)",
62
+ overlayOrange10: "rgba(242, 116, 36, 0.1)",
63
+ overlayOrange12: "rgba(242, 116, 36, 0.12)",
64
+ overlayOrange15: "rgba(242, 116, 36, 0.15)",
65
+ overlayOrangeBorder12: "rgba(237, 104, 39, 0.12)",
66
+ overlayBlue10: "rgba(50, 156, 178, 0.1)",
67
+ overlayBlue12: "rgba(50, 156, 178, 0.12)",
68
+ overlayBlue15: "rgba(50, 156, 178, 0.15)",
69
+ overlayBlack05: "rgba(0, 0, 0, 0.05)",
70
+ overlayBlack10: "rgba(0, 0, 0, 0.1)"
52
71
  };
53
72
  var legacyColors = {
54
73
  primary: {
@@ -131,7 +150,7 @@ var spacing = {
131
150
  1.5: "0.375rem",
132
151
  // 6px
133
152
  2: "0.5rem",
134
- // 8px
153
+ // 8px - Base unit
135
154
  3: "0.75rem",
136
155
  // 12px
137
156
  4: "1rem",
@@ -150,8 +169,10 @@ var spacing = {
150
169
  // 48px
151
170
  14: "3.5rem",
152
171
  // 56px
153
- 16: "4rem"
172
+ 16: "4rem",
154
173
  // 64px
174
+ 20: "5rem"
175
+ // 80px - New: For large layouts
155
176
  };
156
177
  var borderRadius = {
157
178
  none: "0",
@@ -173,6 +194,17 @@ var borderRadius = {
173
194
  // 32px
174
195
  full: "9999px"
175
196
  };
197
+ var borderWidth = {
198
+ none: "0",
199
+ default: "0.0625rem",
200
+ // 1px
201
+ md: "0.125rem",
202
+ // 2px
203
+ lg: "0.1875rem",
204
+ // 3px
205
+ xl: "0.25rem"
206
+ // 4px
207
+ };
176
208
 
177
209
  // src/typography.ts
178
210
  var fontSize = {
@@ -217,6 +249,10 @@ var fontSize = {
217
249
  // 12px - Bold
218
250
  "text-10": ["0.75rem", { lineHeight: "1.2", fontWeight: "400" }],
219
251
  // 12px - Regular
252
+ "title-11": ["0.625rem", { lineHeight: "1.2", fontWeight: "700" }],
253
+ // 10px - Bold (Error text)
254
+ "text-11": ["0.625rem", { lineHeight: "1.2", fontWeight: "400" }],
255
+ // 10px - Regular (Error text)
220
256
  // Legacy names (keeping for backward compatibility)
221
257
  h1: ["2.5rem", { lineHeight: "3rem", fontWeight: "700" }],
222
258
  h2: ["2rem", { lineHeight: "2.5rem", fontWeight: "700" }],
@@ -239,6 +275,7 @@ var tokens = {
239
275
  gradients,
240
276
  spacing,
241
277
  borderRadius,
278
+ borderWidth,
242
279
  fontSize,
243
280
  fontFamily
244
281
  };
@@ -246,6 +283,7 @@ var index_default = tokens;
246
283
  // Annotate the CommonJS export names for ESM import in node:
247
284
  0 && (module.exports = {
248
285
  borderRadius,
286
+ borderWidth,
249
287
  colors,
250
288
  fontFamily,
251
289
  fontSize,
package/dist/index.mjs CHANGED
@@ -2,15 +2,16 @@ import {
2
2
  colors,
3
3
  gradients,
4
4
  legacyColors
5
- } from "./chunk-NFXHCTG6.mjs";
5
+ } from "./chunk-KL3TH4QD.mjs";
6
6
  import {
7
7
  borderRadius,
8
+ borderWidth,
8
9
  spacing
9
- } from "./chunk-JMMDK5QW.mjs";
10
+ } from "./chunk-MMLOVDIN.mjs";
10
11
  import {
11
12
  fontFamily,
12
13
  fontSize
13
- } from "./chunk-7VTNCMPG.mjs";
14
+ } from "./chunk-YYVYANL4.mjs";
14
15
 
15
16
  // src/index.ts
16
17
  var tokens = {
@@ -19,12 +20,14 @@ var tokens = {
19
20
  gradients,
20
21
  spacing,
21
22
  borderRadius,
23
+ borderWidth,
22
24
  fontSize,
23
25
  fontFamily
24
26
  };
25
27
  var index_default = tokens;
26
28
  export {
27
29
  borderRadius,
30
+ borderWidth,
28
31
  colors,
29
32
  index_default as default,
30
33
  fontFamily,
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * Smart V2 Design System - Spacing Tokens
3
3
  * @package @adam-milo/tokens
4
+ *
5
+ * Provides consistent spacing values following 8px baseline grid
4
6
  */
5
7
  declare const spacing: {
6
8
  readonly 0: "0";
@@ -18,6 +20,7 @@ declare const spacing: {
18
20
  readonly 12: "3rem";
19
21
  readonly 14: "3.5rem";
20
22
  readonly 16: "4rem";
23
+ readonly 20: "5rem";
21
24
  };
22
25
  declare const borderRadius: {
23
26
  readonly none: "0";
@@ -31,7 +34,15 @@ declare const borderRadius: {
31
34
  readonly '4xl': "2rem";
32
35
  readonly full: "9999px";
33
36
  };
37
+ declare const borderWidth: {
38
+ readonly none: "0";
39
+ readonly default: "0.0625rem";
40
+ readonly md: "0.125rem";
41
+ readonly lg: "0.1875rem";
42
+ readonly xl: "0.25rem";
43
+ };
34
44
  type Spacing = typeof spacing;
35
45
  type BorderRadius = typeof borderRadius;
46
+ type BorderWidth = typeof borderWidth;
36
47
 
37
- export { type BorderRadius, type Spacing, borderRadius, spacing };
48
+ export { type BorderRadius, type BorderWidth, type Spacing, borderRadius, borderWidth, spacing };
package/dist/spacing.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * Smart V2 Design System - Spacing Tokens
3
3
  * @package @adam-milo/tokens
4
+ *
5
+ * Provides consistent spacing values following 8px baseline grid
4
6
  */
5
7
  declare const spacing: {
6
8
  readonly 0: "0";
@@ -18,6 +20,7 @@ declare const spacing: {
18
20
  readonly 12: "3rem";
19
21
  readonly 14: "3.5rem";
20
22
  readonly 16: "4rem";
23
+ readonly 20: "5rem";
21
24
  };
22
25
  declare const borderRadius: {
23
26
  readonly none: "0";
@@ -31,7 +34,15 @@ declare const borderRadius: {
31
34
  readonly '4xl': "2rem";
32
35
  readonly full: "9999px";
33
36
  };
37
+ declare const borderWidth: {
38
+ readonly none: "0";
39
+ readonly default: "0.0625rem";
40
+ readonly md: "0.125rem";
41
+ readonly lg: "0.1875rem";
42
+ readonly xl: "0.25rem";
43
+ };
34
44
  type Spacing = typeof spacing;
35
45
  type BorderRadius = typeof borderRadius;
46
+ type BorderWidth = typeof borderWidth;
36
47
 
37
- export { type BorderRadius, type Spacing, borderRadius, spacing };
48
+ export { type BorderRadius, type BorderWidth, type Spacing, borderRadius, borderWidth, spacing };
package/dist/spacing.js CHANGED
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var spacing_exports = {};
22
22
  __export(spacing_exports, {
23
23
  borderRadius: () => borderRadius,
24
+ borderWidth: () => borderWidth,
24
25
  spacing: () => spacing
25
26
  });
26
27
  module.exports = __toCommonJS(spacing_exports);
@@ -33,7 +34,7 @@ var spacing = {
33
34
  1.5: "0.375rem",
34
35
  // 6px
35
36
  2: "0.5rem",
36
- // 8px
37
+ // 8px - Base unit
37
38
  3: "0.75rem",
38
39
  // 12px
39
40
  4: "1rem",
@@ -52,8 +53,10 @@ var spacing = {
52
53
  // 48px
53
54
  14: "3.5rem",
54
55
  // 56px
55
- 16: "4rem"
56
+ 16: "4rem",
56
57
  // 64px
58
+ 20: "5rem"
59
+ // 80px - New: For large layouts
57
60
  };
58
61
  var borderRadius = {
59
62
  none: "0",
@@ -75,8 +78,20 @@ var borderRadius = {
75
78
  // 32px
76
79
  full: "9999px"
77
80
  };
81
+ var borderWidth = {
82
+ none: "0",
83
+ default: "0.0625rem",
84
+ // 1px
85
+ md: "0.125rem",
86
+ // 2px
87
+ lg: "0.1875rem",
88
+ // 3px
89
+ xl: "0.25rem"
90
+ // 4px
91
+ };
78
92
  // Annotate the CommonJS export names for ESM import in node:
79
93
  0 && (module.exports = {
80
94
  borderRadius,
95
+ borderWidth,
81
96
  spacing
82
97
  });
package/dist/spacing.mjs CHANGED
@@ -1,8 +1,10 @@
1
1
  import {
2
2
  borderRadius,
3
+ borderWidth,
3
4
  spacing
4
- } from "./chunk-JMMDK5QW.mjs";
5
+ } from "./chunk-MMLOVDIN.mjs";
5
6
  export {
6
7
  borderRadius,
8
+ borderWidth,
7
9
  spacing
8
10
  };
package/dist/tokens.css CHANGED
@@ -10,7 +10,8 @@
10
10
  /* ========================================================================
11
11
  * Colors - Main
12
12
  * ======================================================================== */
13
- --color-text: #191a39;
13
+ --Path-Colors-Black-01: #191a39; /* Figma Path Colors / Black 01 – primary text, "Create your account" */
14
+ --color-text: var(--Path-Colors-Black-01, #191a39);
14
15
  --color-action: #272643;
15
16
  --color-clickable: #2f9db2;
16
17
  --color-popup: #ed6726;
@@ -19,14 +20,37 @@
19
20
  --color-secondary: #1d56ec;
20
21
  --color-card: #ffffff;
21
22
 
23
+ /* Button-specific colors from Figma */
24
+ --color-button-orange: #f27424; /* Light orange - Main button orange */
25
+ --color-button-orange-border: #ed6827; /* Path Colors/Pro - Secondary button orange */
26
+ --Path-Colors-Advanced: #329cb2; /* Figma Path Colors/Advanced – verified icon ring, teal */
27
+ --color-button-blue: var(--Path-Colors-Advanced, #329cb2); /* Main/Secondary button blue */
28
+ --color-dialog-icon-teal: #42b8c6; /* Figma Verify Your Account envelope icon - teal/cyan */
29
+ --color-success: #42b8c6; /* Success/verified state – teal checkmark in dialogs */
30
+
31
+ /* Button state overlays - using rgba for transparency */
32
+ --color-overlay-dark-10: rgba(25, 26, 57, 0.1); /* Dark overlay for hover */
33
+ --color-overlay-dark-12: rgba(25, 26, 57, 0.12); /* Dark overlay for active */
34
+ --color-overlay-orange-10: rgba(242, 116, 36, 0.1); /* Orange 10% - hover */
35
+ --color-overlay-orange-12: rgba(242, 116, 36, 0.12); /* Orange 12% - active */
36
+ --color-overlay-orange-15: rgba(242, 116, 36, 0.15); /* Orange 15% - active secondary */
37
+ --color-overlay-orange-border-12: rgba(237, 104, 39, 0.12); /* Orange border 12% - ellipse */
38
+ --color-overlay-blue-10: rgba(50, 156, 178, 0.1); /* Blue 10% - hover */
39
+ --color-overlay-blue-12: rgba(50, 156, 178, 0.12); /* Blue 12% - active/ellipse */
40
+ --color-overlay-blue-15: rgba(50, 156, 178, 0.15); /* Blue 15% - active secondary */
41
+ --color-overlay-black-05: rgba(0, 0, 0, 0.05); /* Generic hover */
42
+ --color-overlay-black-10: rgba(0, 0, 0, 0.1); /* Generic active */
43
+
22
44
  /* ========================================================================
23
45
  * Colors - Greys
24
46
  * ======================================================================== */
25
47
  --color-bg: #fafafa;
26
48
  --color-bg-secondary: #f3f3f5;
49
+ --color-bg-auth: #f2f4f6; /* Auth layout background - Figma spec */
27
50
  --color-border: #e5e5ea;
28
51
  --color-icon-secondary: #c9c9cf;
29
- --color-system-text: #8c8c9c;
52
+ --Grey-Grey-06: #8c8c9c; /* Figma Grey/Grey 06 - terms, footers */
53
+ --color-system-text: var(--Grey-Grey-06, #8c8c9c);
30
54
  --color-grey-07: #656573; /* Figma Grey/Grey 07 - for labels */
31
55
 
32
56
  /* ========================================================================
@@ -63,11 +87,36 @@
63
87
  --radius-3xl: 1.5rem; /* 24px */
64
88
  --radius-4xl: 2rem; /* 32px */
65
89
 
90
+ /* ========================================================================
91
+ * Border Width (rem)
92
+ * ======================================================================== */
93
+ --border-width-none: 0;
94
+ --border-width-default: 0.0625rem; /* 1px */
95
+ --border-width-md: 0.125rem; /* 2px */
96
+ --border-width-lg: 0.1875rem; /* 3px */
97
+ --border-width-xl: 0.25rem; /* 4px */
98
+
99
+ /* ========================================================================
100
+ * Component layout (dynamic – change here to update Button/Input everywhere)
101
+ * Figma: Button = 48px height, 10px 32px padding, 10px gap
102
+ * Input = 44px height, 14px padding, 16px gap, 8px radius
103
+ * ======================================================================== */
104
+ --button-height: 3rem; /* 48px */
105
+ --button-padding-y: 0.625rem; /* 10px */
106
+ --button-padding-x: 2rem; /* 32px */
107
+ --button-gap: 0.625rem; /* 10px */
108
+
109
+ --input-height: 2.75rem; /* 44px */
110
+ --input-padding: 0.875rem; /* 14px */
111
+ --input-inner-gap: 1rem; /* 16px */
112
+ --input-radius: 0.5rem; /* 8px */
113
+
66
114
  /* ========================================================================
67
115
  * Typography Scale (rem)
68
116
  * ======================================================================== */
69
117
  --font-size-1: 3rem; /* 48px */
70
118
  --font-size-2: 2.5rem; /* 40px */
119
+ --font-size-2-5: 2.375rem; /* 38px - Figma desktop title */
71
120
  --font-size-3: 2rem; /* 32px */
72
121
  --font-size-4: 1.75rem; /* 28px */
73
122
  --font-size-5: 1.5rem; /* 24px */
@@ -76,6 +125,13 @@
76
125
  --font-size-8: 1rem; /* 16px */
77
126
  --font-size-9: 0.875rem; /* 14px */
78
127
  --font-size-10: 0.75rem; /* 12px */
128
+ --font-size-11: 0.625rem; /* 10px - Figma error text spec */
129
+
130
+ /* ========================================================================
131
+ * Font Families
132
+ * ======================================================================== */
133
+ --font-family-default: 'Almoni DL AAA', sans-serif;
134
+ --font-family-sans: 'Almoni DL AAA', ui-sans-serif, system-ui, sans-serif;
79
135
 
80
136
  /* ========================================================================
81
137
  * Gradients
@@ -87,4 +143,26 @@
87
143
  #3ea6b0 49.57%,
88
144
  #3c91a0 91.6%
89
145
  );
146
+ --gradient-radial-accent: radial-gradient(
147
+ 167.92% 105.02% at 44.61% 21.55%,
148
+ rgba(50, 156, 178, 0) 40.39%,
149
+ rgba(50, 156, 178, 0.18) 100%
150
+ );
151
+
152
+ /* Auth layout background – soft teal at left/right edges, lighter toward center */
153
+ --gradient-auth-bg:
154
+ linear-gradient(
155
+ to right,
156
+ rgba(50, 156, 178, 0.09) 0%,
157
+ rgba(50, 156, 178, 0.06) 25%,
158
+ rgba(50, 156, 178, 0.03) 45%,
159
+ rgba(50, 156, 178, 0) 50%
160
+ ),
161
+ linear-gradient(
162
+ to left,
163
+ rgba(50, 156, 178, 0.09) 0%,
164
+ rgba(50, 156, 178, 0.06) 25%,
165
+ rgba(50, 156, 178, 0.03) 45%,
166
+ rgba(50, 156, 178, 0) 50%
167
+ );
90
168
  }
@@ -84,6 +84,14 @@ declare const fontSize: {
84
84
  readonly lineHeight: "1.2";
85
85
  readonly fontWeight: "400";
86
86
  }];
87
+ readonly 'title-11': readonly ["0.625rem", {
88
+ readonly lineHeight: "1.2";
89
+ readonly fontWeight: "700";
90
+ }];
91
+ readonly 'text-11': readonly ["0.625rem", {
92
+ readonly lineHeight: "1.2";
93
+ readonly fontWeight: "400";
94
+ }];
87
95
  readonly h1: readonly ["2.5rem", {
88
96
  readonly lineHeight: "3rem";
89
97
  readonly fontWeight: "700";
@@ -84,6 +84,14 @@ declare const fontSize: {
84
84
  readonly lineHeight: "1.2";
85
85
  readonly fontWeight: "400";
86
86
  }];
87
+ readonly 'title-11': readonly ["0.625rem", {
88
+ readonly lineHeight: "1.2";
89
+ readonly fontWeight: "700";
90
+ }];
91
+ readonly 'text-11': readonly ["0.625rem", {
92
+ readonly lineHeight: "1.2";
93
+ readonly fontWeight: "400";
94
+ }];
87
95
  readonly h1: readonly ["2.5rem", {
88
96
  readonly lineHeight: "3rem";
89
97
  readonly fontWeight: "700";
@@ -66,6 +66,10 @@ var fontSize = {
66
66
  // 12px - Bold
67
67
  "text-10": ["0.75rem", { lineHeight: "1.2", fontWeight: "400" }],
68
68
  // 12px - Regular
69
+ "title-11": ["0.625rem", { lineHeight: "1.2", fontWeight: "700" }],
70
+ // 10px - Bold (Error text)
71
+ "text-11": ["0.625rem", { lineHeight: "1.2", fontWeight: "400" }],
72
+ // 10px - Regular (Error text)
69
73
  // Legacy names (keeping for backward compatibility)
70
74
  h1: ["2.5rem", { lineHeight: "3rem", fontWeight: "700" }],
71
75
  h2: ["2rem", { lineHeight: "2.5rem", fontWeight: "700" }],
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  fontFamily,
3
3
  fontSize
4
- } from "./chunk-7VTNCMPG.mjs";
4
+ } from "./chunk-YYVYANL4.mjs";
5
5
  export {
6
6
  fontFamily,
7
7
  fontSize
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adam-milo/tokens",
3
- "version": "1.0.1",
3
+ "version": "1.0.6",
4
4
  "description": "Design tokens for the Adam Milo Design System",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -51,12 +51,12 @@
51
51
  "license": "MIT",
52
52
  "repository": {
53
53
  "type": "git",
54
- "url": "git+https://github.com/adam-milo-smart/adam-milo-design-system.git",
54
+ "url": "git+https://github.com/adam-milo/adam-milo-design-system.git",
55
55
  "directory": "packages/tokens"
56
56
  },
57
- "homepage": "https://github.com/adam-milo-smart/adam-milo-design-system#readme",
57
+ "homepage": "https://github.com/adam-milo/adam-milo-design-system#readme",
58
58
  "bugs": {
59
- "url": "https://github.com/adam-milo-smart/adam-milo-design-system/issues"
59
+ "url": "https://github.com/adam-milo/adam-milo-design-system/issues"
60
60
  },
61
61
  "publishConfig": {
62
62
  "access": "public"
@@ -1,57 +0,0 @@
1
- // src/spacing.ts
2
- var spacing = {
3
- 0: "0",
4
- 0.5: "0.125rem",
5
- // 2px
6
- 1: "0.25rem",
7
- // 4px
8
- 1.5: "0.375rem",
9
- // 6px
10
- 2: "0.5rem",
11
- // 8px
12
- 3: "0.75rem",
13
- // 12px
14
- 4: "1rem",
15
- // 16px
16
- 5: "1.25rem",
17
- // 20px
18
- 6: "1.5rem",
19
- // 24px
20
- 7: "1.75rem",
21
- // 28px
22
- 8: "2rem",
23
- // 32px
24
- 10: "2.5rem",
25
- // 40px
26
- 12: "3rem",
27
- // 48px
28
- 14: "3.5rem",
29
- // 56px
30
- 16: "4rem"
31
- // 64px
32
- };
33
- var borderRadius = {
34
- none: "0",
35
- sm: "0.125rem",
36
- // 2px
37
- default: "0.25rem",
38
- // 4px
39
- md: "0.5rem",
40
- // 8px
41
- lg: "0.75rem",
42
- // 12px
43
- xl: "1rem",
44
- // 16px
45
- "2xl": "1.25rem",
46
- // 20px
47
- "3xl": "1.5rem",
48
- // 24px
49
- "4xl": "2rem",
50
- // 32px
51
- full: "9999px"
52
- };
53
-
54
- export {
55
- spacing,
56
- borderRadius
57
- };