@chekinapp/tokens 0.0.3 → 0.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chekinapp/tokens",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "Chekin design tokens — CSS variables, JSON, and Tailwind preset",
5
5
  "private": false,
6
6
  "license": "UNLICENSED",
@@ -13,6 +13,7 @@
13
13
  --chekin-color-brand-blue-divider: #5f5cf0;
14
14
  --chekin-color-brand-blue-dark: #23235d;
15
15
  --chekin-color-white: #ffffff;
16
+ --chekin-host-sdk-color-brand: #505077;
16
17
  --primary: var(--chekin-color-brand-blue);
17
18
 
18
19
  /* ── Grays ─────────────────────────────────────────────────────────── */
@@ -37,10 +37,10 @@
37
37
  --button-secondary-active-overlay: rgba(0, 0, 0, 0.1);
38
38
 
39
39
  /* Outline variant */
40
- --button-outline-border: var(--chekin-color-brand-red);
40
+ --button-outline-border: hsl(240 19.5% 83.9%);
41
41
  --button-outline-bg: var(--chekin-color-white);
42
- --button-outline-text: var(--chekin-color-brand-red);
43
- --button-outline-hover-bg: #eeeeee;
42
+ --button-outline-text: #152946;
43
+ --button-outline-hover-bg: hsl(210 22.2% 96.5%);
44
44
 
45
45
  /* Destructive variant */
46
46
  --button-destructive-border: var(--chekin-color-brand-red);
@@ -65,4 +65,16 @@
65
65
  --button-link-text: var(--chekin-color-brand-blue);
66
66
  --button-link-bg: transparent;
67
67
  --button-link-font-weight: var(--chekin-font-weight-semibold);
68
+
69
+ /* ── Dialog ───────────────────────────────────────────────────────── */
70
+ --dialog-overlay-bg: rgba(0, 0, 0, 0.5);
71
+ --dialog-content-bg: var(--chekin-color-white);
72
+ --dialog-content-border: var(--chekin-color-gray-3);
73
+ --dialog-content-radius: 16px;
74
+ --dialog-content-text: var(--chekin-color-brand-navy);
75
+ --dialog-description-text: var(--chekin-color-gray-1);
76
+ --dialog-close-radius: var(--chekin-radius-small);
77
+
78
+ /* ── Circular Loader ──────────────────────────────────────────────── */
79
+ --circular-loader-color: var(--chekin-color-brand-blue);
68
80
  }
@@ -5,4 +5,5 @@
5
5
 
6
6
  :root {
7
7
  --chekin-radius-input: 6px;
8
+ --chekin-radius-small: 4px;
8
9
  }
@@ -32,4 +32,6 @@
32
32
  --button-height-default: 40px;
33
33
  --button-height-sm: 36px;
34
34
  --button-height-m: 48px;
35
+
36
+ --circular-loader-color: var(--chekin-color-brand-blue);
35
37
  }
@@ -42,4 +42,6 @@
42
42
  --button-outline-bg: var(--chekin-color-surface-input-empty);
43
43
  --button-outline-text: var(--chekin-color-brand-blue);
44
44
  --button-link-text: var(--chekin-color-brand-blue);
45
+
46
+ --circular-loader-color: var(--chekin-color-brand-blue);
45
47
  }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Dashboard surface tokens
3
+ * Imports base + applies dashboard-specific overrides
4
+ *
5
+ * Usage: import '@chekinapp/tokens/surfaces/dashboard.css' in dashboard app
6
+ */
7
+
8
+ @import '../base/colors.css';
9
+ @import '../base/typography.css';
10
+ @import '../base/spacing.css';
11
+ @import '../base/radii.css';
12
+ @import '../base/shadows.css';
13
+ @import '../base/breakpoints.css';
14
+ @import '../base/components.css';
15
+
16
+ :root {
17
+ /* Dashboard overrides (currently matches base defaults) */
18
+ --primary: var(--chekin-host-sdk-color-brand);
19
+ --background-main: var(--chekin-color-white);
20
+
21
+ /* Typography: Montserrat (already default) */
22
+ --chekin-font-family-primary:
23
+ ProximaNova, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
24
+ 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
25
+
26
+ /* Radii: tighter radius for dashboard density */
27
+ --button-radius: var(--chekin-radius-input);
28
+
29
+ /* Button sizing: compact for dashboard */
30
+ --button-min-width-default: auto;
31
+ --button-min-width-m: 160px;
32
+ --button-height-default: 40px;
33
+ --button-height-sm: 36px;
34
+ --button-height-m: 48px;
35
+
36
+ --circular-loader-color: var(--chekin-host-sdk-color-brand);
37
+ }