@chekinapp/tokens 0.0.15 → 0.0.17
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 +1 -1
- package/src/base/colors.css +1 -1
- package/src/base/components.css +67 -57
- package/src/surfaces/dashboard.css +5 -10
- package/src/surfaces/host-sdk.css +2 -9
package/package.json
CHANGED
package/src/base/colors.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
/* ── Brand ─────────────────────────────────────────────────────────── */
|
|
8
8
|
--chekin-color-brand-blue: #385bf8;
|
|
9
9
|
--chekin-color-brand-navy: #161643;
|
|
10
|
-
--chekin-color-brand-red: #
|
|
10
|
+
--chekin-color-brand-red: #df0044;
|
|
11
11
|
--chekin-color-brand-blue-hover: #5975f5;
|
|
12
12
|
--chekin-color-brand-blue-animation: #294df1;
|
|
13
13
|
--chekin-color-brand-blue-divider: #5f5cf0;
|
package/src/base/components.css
CHANGED
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
--accordion-item-bg: transparent;
|
|
86
86
|
--accordion-item-open-bg: transparent;
|
|
87
87
|
--accordion-item-hover-bg: rgba(245, 245, 245, 0.5);
|
|
88
|
+
--accordion-item-shadow: 0 0 10px 0 rgba(143, 143, 143, 0.2);
|
|
88
89
|
|
|
89
90
|
--accordion-trigger-gap: 16px;
|
|
90
91
|
--accordion-trigger-font-family: var(--chekin-font-family-primary);
|
|
@@ -118,13 +119,13 @@
|
|
|
118
119
|
--audio-player-button-hover-bg: var(--chekin-color-brand-blue-hover);
|
|
119
120
|
--audio-player-button-radius: 8px;
|
|
120
121
|
--audio-player-icon-color: var(--chekin-color-white);
|
|
121
|
-
--audio-player-track-bg:
|
|
122
|
+
--audio-player-track-bg: #d1d5db;
|
|
122
123
|
--audio-player-progress-bg: var(--chekin-color-brand-blue);
|
|
123
|
-
--audio-player-time-color:
|
|
124
|
+
--audio-player-time-color: #4b5563;
|
|
124
125
|
|
|
125
126
|
/* ── Avatar (dashboard-only, minimal tokens) ─────────────────────────── */
|
|
126
|
-
--avatar-fallback-bg:
|
|
127
|
-
--avatar-fallback-text:
|
|
127
|
+
--avatar-fallback-bg: #e5e7eb;
|
|
128
|
+
--avatar-fallback-text: #4b5563;
|
|
128
129
|
|
|
129
130
|
/* ── BetaBadge (dashboard-only, minimal tokens) ──────────────────────── */
|
|
130
131
|
--beta-badge-bg: color-mix(in srgb, var(--chekin-color-gray-1) 15%, transparent);
|
|
@@ -137,25 +138,17 @@
|
|
|
137
138
|
--beta-badge-readonly-text: var(--chekin-color-brand-blue);
|
|
138
139
|
|
|
139
140
|
/* ── BoxOptionSelector (dashboard-only, minimal tokens) ──────────────── */
|
|
140
|
-
--box-option-border:
|
|
141
|
+
--box-option-border: #e5e6ee;
|
|
141
142
|
--box-option-bg: var(--chekin-color-white);
|
|
142
143
|
--box-option-hover-bg: var(--chekin-color-surface-input-empty);
|
|
143
144
|
--box-option-selected-border: var(--chekin-color-brand-blue);
|
|
144
145
|
--box-option-selected-bg: var(--chekin-color-surface-pressed);
|
|
145
146
|
|
|
146
147
|
/* ── Breadcrumbs (dashboard-only, minimal tokens) ───────────────────── */
|
|
147
|
-
--breadcrumbs-link-color: var(--chekin-color-
|
|
148
|
+
--breadcrumbs-link-color: var(--chekin-host-sdk-color-brand);
|
|
148
149
|
--breadcrumbs-current-color: var(--chekin-color-brand-navy);
|
|
149
150
|
--breadcrumbs-separator-color: var(--chekin-color-brand-navy);
|
|
150
151
|
|
|
151
|
-
/* ── ButtonGroup (dashboard-only, minimal tokens) ───────────────────── */
|
|
152
|
-
--button-group-text-bg: var(--chekin-color-surface-input-empty);
|
|
153
|
-
--button-group-text-border: var(--chekin-color-gray-3);
|
|
154
|
-
--button-group-text-color: var(--chekin-color-brand-navy);
|
|
155
|
-
|
|
156
|
-
/* ── ButtonsGroupLabel (dashboard-only, minimal tokens) ─────────────── */
|
|
157
|
-
--buttons-group-label-color: var(--chekin-color-gray-1);
|
|
158
|
-
|
|
159
152
|
/* ── Checkbox ──────────────────────────────────────────────────────── */
|
|
160
153
|
--checkbox-border: var(--chekin-color-brand-blue);
|
|
161
154
|
--checkbox-bg: transparent;
|
|
@@ -167,8 +160,33 @@
|
|
|
167
160
|
/* ── CopyIcon (dashboard-only, minimal tokens) ───────────────────────── */
|
|
168
161
|
--copy-icon-success-color: #10b981;
|
|
169
162
|
|
|
170
|
-
/* ──
|
|
171
|
-
--
|
|
163
|
+
/* ── CheckList (dashboard-only, migrated from ui-kit-2) ─────────────── */
|
|
164
|
+
--check-list-icon-color: var(--list-icon-color, currentColor);
|
|
165
|
+
--check-list-icon-mark-color: var(--list-icon-check-color, var(--chekin-color-white));
|
|
166
|
+
|
|
167
|
+
/* ── NumberedList (dashboard-only, migrated from ui-kit-2) ───────────── */
|
|
168
|
+
--numbered-list-marker-bg: var(--chekin-color-brand-blue);
|
|
169
|
+
--numbered-list-marker-text: var(--chekin-color-white);
|
|
170
|
+
|
|
171
|
+
/* ── RotateArrow (dashboard-only, migrated from ui-kit-2) ───────────── */
|
|
172
|
+
--rotate-arrow-color: var(--brand-color, var(--chekin-color-brand-blue));
|
|
173
|
+
|
|
174
|
+
/* ── SectionGroup (dashboard-only, migrated from ui-kit-2) ──────────── */
|
|
175
|
+
--section-group-bg: var(--chekin-color-white);
|
|
176
|
+
--section-group-border: #e5e6ee;
|
|
177
|
+
--section-group-divider-bg: #e5e6ee;
|
|
178
|
+
--section-group-title-color: var(--chekin-color-brand-navy);
|
|
179
|
+
--section-group-muted-text: var(--chekin-color-gray-1);
|
|
180
|
+
|
|
181
|
+
/* ── SignatureCanvas (dashboard-only, migrated from ui-kit-2) ───────── */
|
|
182
|
+
--signature-canvas-border: var(--chekin-color-brand-blue);
|
|
183
|
+
--signature-canvas-placeholder-bg: #c4e6ff;
|
|
184
|
+
--signature-canvas-placeholder-text: var(--chekin-color-brand-blue);
|
|
185
|
+
--signature-canvas-shadow: 0 16px 16px #2699fb12;
|
|
186
|
+
|
|
187
|
+
/* ── Slider (dashboard-only, migrated from ui-kit-2) ───────────────── */
|
|
188
|
+
--slider-control-bg: #e9f5ff;
|
|
189
|
+
--slider-control-color: var(--chekin-color-brand-blue);
|
|
172
190
|
|
|
173
191
|
/* ── Table (dashboard-only, minimal tokens) ──────────────────────────── */
|
|
174
192
|
--table-border: var(--chekin-color-gray-3);
|
|
@@ -180,31 +198,39 @@
|
|
|
180
198
|
--table-caption-text: var(--chekin-color-gray-1);
|
|
181
199
|
--table-loading-overlay-bg: var(--chekin-color-white);
|
|
182
200
|
|
|
183
|
-
/* ──
|
|
184
|
-
--
|
|
185
|
-
--
|
|
186
|
-
--
|
|
187
|
-
--
|
|
188
|
-
--
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
--
|
|
193
|
-
--
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
);
|
|
198
|
-
--
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
);
|
|
204
|
-
--
|
|
205
|
-
--
|
|
206
|
-
--
|
|
207
|
-
|
|
201
|
+
/* ── TableFilter (dashboard-only, migrated from ui-kit-2) ───────────── */
|
|
202
|
+
--table-filter-bg: var(--chekin-color-white);
|
|
203
|
+
--table-filter-text: var(--chekin-color-brand-navy);
|
|
204
|
+
--table-filter-remove-bg: #9696b9;
|
|
205
|
+
--table-filter-remove-color: #f8f8f8;
|
|
206
|
+
--table-filter-remove-hover-shadow: 0 3px 3px #0f477734;
|
|
207
|
+
|
|
208
|
+
/* ── TableLoader (dashboard-only, migrated from ui-kit-2) ───────────── */
|
|
209
|
+
--table-loader-border: #f0f0f3;
|
|
210
|
+
--table-loader-color: var(--chekin-color-brand-blue);
|
|
211
|
+
--table-loader-label-color: #9696b9;
|
|
212
|
+
--table-loader-row-hover-bg: var(--chekin-color-white);
|
|
213
|
+
|
|
214
|
+
/* ── Timeline (dashboard-only, migrated from ui-kit-2) ──────────────── */
|
|
215
|
+
--timeline-connector-bg: var(--chekin-color-gray-3);
|
|
216
|
+
--timeline-description-color: var(--chekin-color-gray-1);
|
|
217
|
+
|
|
218
|
+
/* ── VerticalTabs (dashboard-only, migrated from ui-kit-2) ──────────── */
|
|
219
|
+
--vertical-tabs-step-bg: var(--chekin-color-surface-input-empty);
|
|
220
|
+
--vertical-tabs-step-border: var(--chekin-color-gray-3);
|
|
221
|
+
--vertical-tabs-active-border: var(--chekin-color-brand-blue);
|
|
222
|
+
--vertical-tabs-step-label: var(--chekin-color-brand-blue);
|
|
223
|
+
--vertical-tabs-title: var(--chekin-color-brand-navy);
|
|
224
|
+
--vertical-tabs-text: var(--chekin-color-gray-1);
|
|
225
|
+
|
|
226
|
+
/* ── VideoModal (dashboard-only, migrated from ui-kit-2) ────────────── */
|
|
227
|
+
--video-modal-overlay-bg: rgb(0 0 0 / 0.7);
|
|
228
|
+
--video-modal-close-bg: var(--chekin-color-white);
|
|
229
|
+
--video-modal-close-color: var(--chekin-color-brand-blue);
|
|
230
|
+
|
|
231
|
+
/* ── Webcam (dashboard-only, migrated from ui-kit-2) ───────────────── */
|
|
232
|
+
--webcam-bg: #c4e6ff;
|
|
233
|
+
--webcam-permission-text: var(--chekin-color-gray-1);
|
|
208
234
|
|
|
209
235
|
/* ── DefaultSelectTrigger (dashboard-only, minimal tokens) ──────────────── */
|
|
210
236
|
--default-select-trigger-height: 40px;
|
|
@@ -215,22 +241,6 @@
|
|
|
215
241
|
--default-select-trigger-empty-text: var(--chekin-color-gray-1);
|
|
216
242
|
--default-select-trigger-width: 100%;
|
|
217
243
|
|
|
218
|
-
/* ── DropdownMenu (dashboard-only, migrated from ui-kit-2) ─────────────── */
|
|
219
|
-
--dropdown-menu-content-bg: var(--chekin-color-white);
|
|
220
|
-
--dropdown-menu-content-text: var(--chekin-color-brand-navy);
|
|
221
|
-
--dropdown-menu-content-border: #e5e7eb;
|
|
222
|
-
--dropdown-menu-content-radius: 8px;
|
|
223
|
-
--dropdown-menu-content-shadow:
|
|
224
|
-
0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
225
|
-
--dropdown-menu-item-focus-bg: #f9fafb;
|
|
226
|
-
--dropdown-menu-item-focus-text: var(--chekin-color-brand-navy);
|
|
227
|
-
--dropdown-menu-item-active-bg: #f9fafb;
|
|
228
|
-
--dropdown-menu-item-hover-bg: #f9fafb;
|
|
229
|
-
--dropdown-menu-label-text: #9ca3af;
|
|
230
|
-
--dropdown-menu-separator-bg: #f3f4f6;
|
|
231
|
-
--dropdown-menu-item-content-icon: #acacd5;
|
|
232
|
-
--dropdown-menu-item-content-description: #666;
|
|
233
|
-
|
|
234
244
|
/* ── ErrorMessage ───────────────────────────────────────────────────── */
|
|
235
245
|
--error-message-color: var(--chekin-color-brand-red);
|
|
236
246
|
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
:root {
|
|
17
17
|
/* Dashboard overrides (currently matches base defaults) */
|
|
18
18
|
--primary: var(--chekin-color-brand-blue);
|
|
19
|
+
--brand-color: var(--chekin-color-brand-blue);
|
|
19
20
|
--background-main: var(--chekin-color-white);
|
|
20
21
|
|
|
21
22
|
/* Typography: Montserrat (already default) */
|
|
@@ -23,15 +24,9 @@
|
|
|
23
24
|
ProximaNova, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
24
25
|
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
25
26
|
|
|
26
|
-
/* Radii: tighter radius for dashboard density */
|
|
27
|
-
--button-radius: var(--chekin-radius-input); /* 6px for dashboard */
|
|
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
27
|
--circular-loader-color: var(--chekin-color-brand-blue);
|
|
28
|
+
--check-list-icon-color: var(--list-icon-color, currentColor);
|
|
29
|
+
--check-list-icon-mark-color: var(--list-icon-check-color, var(--chekin-color-white));
|
|
30
|
+
--numbered-list-marker-bg: var(--brand-color, var(--chekin-color-brand-blue));
|
|
31
|
+
--numbered-list-marker-text: var(--chekin-color-white);
|
|
37
32
|
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
:root {
|
|
17
17
|
/* Dashboard overrides (currently matches base defaults) */
|
|
18
18
|
--primary: var(--chekin-host-sdk-color-brand);
|
|
19
|
+
--brand-color: var(--chekin-host-sdk-color-brand);
|
|
19
20
|
--background-main: #fdfdff;
|
|
20
21
|
--button-primary-bg: var(--chekin-host-sdk-color-brand);
|
|
21
22
|
|
|
@@ -24,15 +25,7 @@
|
|
|
24
25
|
ProximaNova, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
25
26
|
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
--button-radius: var(--chekin-radius-input);
|
|
29
|
-
|
|
30
|
-
/* Button sizing: compact for dashboard */
|
|
31
|
-
--button-min-width-default: auto;
|
|
32
|
-
--button-min-width-m: 160px;
|
|
33
|
-
--button-height-default: 40px;
|
|
34
|
-
--button-height-sm: 36px;
|
|
35
|
-
--button-height-m: 48px;
|
|
28
|
+
--numbered-list-marker-bg: var(--chekin-host-sdk-color-brand);
|
|
36
29
|
|
|
37
30
|
--circular-loader-color: var(--chekin-host-sdk-color-brand);
|
|
38
31
|
}
|