@cere/cere-design-system 0.0.43 → 0.0.45

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.
@@ -0,0 +1,78 @@
1
+ /*
2
+ * @cere/cere-design-system — root CSS tokens.
3
+ *
4
+ * Mirror of `webSurfaceTokens` / `motion` / `borderRadius` / font families.
5
+ * Import once at app root: import '@cere/cere-design-system/tokens.css';
6
+ *
7
+ * The companion test (src/theme/__tests__/webSurfaceTokens.test.ts) locks
8
+ * this file against the JS token modules — if values drift, the build fails.
9
+ */
10
+
11
+ :root {
12
+ /* Brand */
13
+ --c-violet: #aa44f2;
14
+ --c-violet-tint: #a54aff;
15
+ --c-violet-light: #f0e0fb;
16
+ --c-violet-dark: #7c59ac;
17
+ --c-pink: #f941e6;
18
+ --c-pink-light: #fcdff9;
19
+ --c-red: #ff4f59;
20
+ --c-green: #49bf63;
21
+ --c-blue-light: #e7f4fe;
22
+ --c-blue-dark: #598ab8;
23
+
24
+ /* ROB extended */
25
+ --rob-fandango: #BD32A7;
26
+ --rob-electric-violet: #8B00EC;
27
+ --rob-ultra-violet: #6750A4;
28
+ --rob-bright-1: #5311e3;
29
+ --rob-near-black-2: #0d0627;
30
+ --rob-near-black-4: #23194b;
31
+ --rob-periwinkle: #D0BCFF;
32
+
33
+ /* Surfaces */
34
+ --surface-low: #f5f1f7;
35
+ --surface-mid: #f5f1f7;
36
+ --surface-high: #fefcff;
37
+ --surface-contrast: #ffffff;
38
+
39
+ /* Backgrounds */
40
+ --bg-default: #f5f5f5;
41
+ --bg-dim: #e6e0e9;
42
+ --bg-success: #eef5f0;
43
+ --bg-warning: #fef8e8;
44
+ --bg-danger: #f9dedc;
45
+ /* Foreground for content sitting on var(--bg-danger). NOT a surface. */
46
+ --text-on-danger: #8c1d18;
47
+
48
+ /* Text */
49
+ --text-primary: #1d1b20;
50
+ --text-secondary: #5f5c64;
51
+ --text-muted: #938f99;
52
+ --text-link: #aa44f2;
53
+
54
+ /* Strokes */
55
+ --stroke-on-low: #e6e0e9;
56
+ --stroke-on-med: #dad1e0;
57
+
58
+ /* Radius */
59
+ --radius-sm: 8px;
60
+ --radius-md: 12px;
61
+ --radius-lg: 16px;
62
+ --radius-xl: 20px;
63
+ --radius-pill: 999px;
64
+
65
+ /* Elevation */
66
+ --shadow-sm: 0px 2px 8px rgba(0,0,0,0.04);
67
+ --shadow-md: 0px 4px 20px rgba(0,0,0,0.05);
68
+ --shadow-focus: 0 0 0 4px rgba(170,68,242,0.25);
69
+
70
+ /* Motion */
71
+ --ease-standard: cubic-bezier(0.2, 0, 0, 1);
72
+ --dur-fast: 120ms;
73
+
74
+ /* Type */
75
+ --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
76
+ --font-display: 'Inter', sans-serif;
77
+ --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
78
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cere/cere-design-system",
3
- "version": "0.0.43",
3
+ "version": "0.0.45",
4
4
  "description": "Cere Network Design System - UI component library built with Material UI and React",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10,7 +10,8 @@
10
10
  "types": "./dist/index.d.ts",
11
11
  "import": "./dist/index.mjs",
12
12
  "require": "./dist/index.js"
13
- }
13
+ },
14
+ "./tokens.css": "./dist/tokens.css"
14
15
  },
15
16
  "files": [
16
17
  "dist",