@lamenna/lxp-tokens 0.1.0 → 0.2.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/tokens.d.ts CHANGED
@@ -3,7 +3,13 @@ export declare const tokens: {
3
3
  primary: {
4
4
  50: string;
5
5
  100: string;
6
+ 200: string;
7
+ 300: string;
8
+ 400: string;
6
9
  500: string;
10
+ 600: string;
11
+ 700: string;
12
+ 800: string;
7
13
  900: string;
8
14
  };
9
15
  secondary: {
@@ -12,6 +18,35 @@ export declare const tokens: {
12
18
  accent: {
13
19
  500: string;
14
20
  };
21
+ success: {
22
+ 50: string;
23
+ 500: string;
24
+ 600: string;
25
+ 700: string;
26
+ };
27
+ warning: {
28
+ 50: string;
29
+ 500: string;
30
+ 600: string;
31
+ };
32
+ danger: {
33
+ 50: string;
34
+ 500: string;
35
+ 600: string;
36
+ };
37
+ neutral: {
38
+ 0: string;
39
+ 50: string;
40
+ 100: string;
41
+ 200: string;
42
+ 300: string;
43
+ 400: string;
44
+ 500: string;
45
+ 600: string;
46
+ 700: string;
47
+ 800: string;
48
+ 900: string;
49
+ };
15
50
  };
16
51
  spacing: {
17
52
  xs: string;
@@ -19,11 +54,29 @@ export declare const tokens: {
19
54
  md: string;
20
55
  lg: string;
21
56
  xl: string;
57
+ "2xl": string;
58
+ "3xl": string;
22
59
  };
23
60
  borderRadius: {
24
61
  sm: string;
25
62
  md: string;
26
63
  lg: string;
64
+ xl: string;
27
65
  full: string;
28
66
  };
67
+ fontSize: {
68
+ xs: string;
69
+ sm: string;
70
+ md: string;
71
+ lg: string;
72
+ xl: string;
73
+ "2xl": string;
74
+ "3xl": string;
75
+ };
76
+ fontWeight: {
77
+ regular: number;
78
+ medium: number;
79
+ semibold: number;
80
+ bold: number;
81
+ };
29
82
  };
package/dist/tokens.js CHANGED
@@ -1,10 +1,17 @@
1
1
  export const tokens = {
2
2
  color: {
3
+ // Primary — Trust Blue (LXP brand). 500/600 are the interactive anchors.
3
4
  primary: {
4
- 50: "#e3f2fd",
5
- 100: "#bbdefb",
5
+ 50: "#EFF4FF",
6
+ 100: "#DBE6FE",
7
+ 200: "#BFD3FE",
8
+ 300: "#93B4FD",
9
+ 400: "#6090FA",
6
10
  500: "#2563EB",
7
- 900: "#0d47a1",
11
+ 600: "#1D4ED8",
12
+ 700: "#1E40AF",
13
+ 800: "#1E3A8A",
14
+ 900: "#172554",
8
15
  },
9
16
  secondary: {
10
17
  500: "#7C3AED",
@@ -12,6 +19,37 @@ export const tokens = {
12
19
  accent: {
13
20
  500: "#F59E0B",
14
21
  },
22
+ // Semantic — success / stock, warning / low-stock, danger / errors.
23
+ success: {
24
+ 50: "#ECFDF5",
25
+ 500: "#10B981",
26
+ 600: "#059669",
27
+ 700: "#047857",
28
+ },
29
+ warning: {
30
+ 50: "#FFFBEB",
31
+ 500: "#F59E0B",
32
+ 600: "#D97706",
33
+ },
34
+ danger: {
35
+ 50: "#FEF2F2",
36
+ 500: "#EF4444",
37
+ 600: "#DC2626",
38
+ },
39
+ // Neutral — Slate scale used for surfaces, borders and text.
40
+ neutral: {
41
+ 0: "#FFFFFF",
42
+ 50: "#F8FAFC",
43
+ 100: "#F1F5F9",
44
+ 200: "#E2E8F0",
45
+ 300: "#CBD5E1",
46
+ 400: "#94A3B8",
47
+ 500: "#64748B",
48
+ 600: "#475569",
49
+ 700: "#334155",
50
+ 800: "#1E293B",
51
+ 900: "#0F172A",
52
+ },
15
53
  },
16
54
  spacing: {
17
55
  xs: "4px",
@@ -19,11 +57,29 @@ export const tokens = {
19
57
  md: "16px",
20
58
  lg: "24px",
21
59
  xl: "32px",
60
+ "2xl": "48px",
61
+ "3xl": "64px",
22
62
  },
23
63
  borderRadius: {
24
64
  sm: "4px",
25
65
  md: "8px",
26
66
  lg: "12px",
67
+ xl: "16px",
27
68
  full: "9999px",
28
69
  },
70
+ fontSize: {
71
+ xs: "12px",
72
+ sm: "13px",
73
+ md: "14px",
74
+ lg: "16px",
75
+ xl: "18px",
76
+ "2xl": "22px",
77
+ "3xl": "28px",
78
+ },
79
+ fontWeight: {
80
+ regular: 400,
81
+ medium: 500,
82
+ semibold: 600,
83
+ bold: 700,
84
+ },
29
85
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lamenna/lxp-tokens",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Design tokens for LXP",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",