@syscore/ui-library 1.1.10 → 1.1.12

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.
Files changed (100) hide show
  1. package/client/App.tsx +47 -0
  2. package/client/components/icons/ConceptIcons.tsx +667 -0
  3. package/client/components/icons/NavAccount.tsx +31 -0
  4. package/client/components/icons/NavBullet.tsx +19 -0
  5. package/client/components/icons/NavLogo.tsx +36 -0
  6. package/client/components/icons/ProviderBadges.tsx +295 -0
  7. package/client/components/icons/ProviderSeals.tsx +319 -0
  8. package/client/components/icons/SealHealthSafetyRating.tsx +65 -0
  9. package/client/components/icons/SealIwbiMember.tsx +86 -0
  10. package/client/components/icons/SealWell.tsx +84 -0
  11. package/client/components/icons/SealWellCertification.tsx +138 -0
  12. package/client/components/icons/SealWellCommunity.tsx +122 -0
  13. package/client/components/icons/SealWellResidence.tsx +122 -0
  14. package/client/components/icons/SealWorksWithWell.tsx +140 -0
  15. package/client/components/icons/UtilityAccordion.tsx +21 -0
  16. package/client/components/icons/UtilityChevronDown.tsx +36 -0
  17. package/client/components/icons/UtilityClassification.tsx +45 -0
  18. package/client/components/icons/UtilityClose.tsx +41 -0
  19. package/client/components/icons/UtilityDrag.tsx +69 -0
  20. package/client/components/icons/UtilityEdit.tsx +42 -0
  21. package/client/components/icons/UtilityOptions.tsx +45 -0
  22. package/client/components/icons/UtilityPortfolio.tsx +87 -0
  23. package/client/components/icons/UtilityReset.tsx +41 -0
  24. package/client/components/icons/UtilityScoring.tsx +43 -0
  25. package/client/components/icons/UtilitySearch.tsx +38 -0
  26. package/client/components/icons/UtilitySort.tsx +52 -0
  27. package/client/components/icons/UtilityText.tsx +34 -0
  28. package/client/components/icons/WaterMarkWWWProducts.tsx +26 -0
  29. package/client/components/icons/WaterMarkWellProjects.tsx +30 -0
  30. package/client/components/icons/WatermarkMemberOrg.tsx +59 -0
  31. package/client/components/icons/WellSeal.tsx +79 -0
  32. package/client/components/icons/X.tsx +35 -0
  33. package/client/hooks/UseTabs.tsx +35 -0
  34. package/client/hooks/use-mobile.tsx +21 -0
  35. package/client/hooks/use-segmented-control.ts +42 -0
  36. package/client/hooks/use-toast.ts +188 -0
  37. package/client/pages/Index.tsx +88 -0
  38. package/client/pages/NotFound.tsx +29 -0
  39. package/client/ui/Accordion/Accordion.stories.tsx +74 -0
  40. package/client/ui/Alert/Alert.stories.tsx +82 -0
  41. package/client/ui/AlertDialog/AlertDialog.stories.tsx +106 -0
  42. package/client/ui/AspectRatio.stories.tsx +78 -0
  43. package/client/ui/Avatar/Avatar.stories.tsx +94 -0
  44. package/client/ui/Badge/Badge.stories.tsx +60 -0
  45. package/client/ui/Breadcrumb/Breadcrumb.stories.tsx +97 -0
  46. package/client/ui/Button.stories.tsx +429 -0
  47. package/client/ui/Calendar/Calendar.stories.tsx +99 -0
  48. package/client/ui/Card.stories.tsx +84 -0
  49. package/client/ui/Carousel/Carousel.stories.tsx +85 -0
  50. package/client/ui/Chart/Chart.stories.tsx +58 -0
  51. package/client/ui/Checkbox/Checkbox.stories.tsx +112 -0
  52. package/client/ui/Collapsible/Collapsible.stories.tsx +101 -0
  53. package/client/ui/Colors.stories.tsx +1041 -0
  54. package/client/ui/Command/Command.stories.tsx +97 -0
  55. package/client/ui/ContextMenu/ContextMenu.stories.tsx +74 -0
  56. package/client/ui/Dialog.stories.tsx +69 -0
  57. package/client/ui/Drawer/Drawer.stories.tsx +87 -0
  58. package/client/ui/DropdownMenu/DropdownMenu.stories.tsx +139 -0
  59. package/client/ui/Form/Form.stories.tsx +74 -0
  60. package/client/ui/HoverCard/HoverCard.stories.tsx +94 -0
  61. package/client/ui/Icons.stories.tsx +328 -0
  62. package/client/ui/Input/Input.stories.tsx +69 -0
  63. package/client/ui/InputOTP/InputOTP.stories.tsx +85 -0
  64. package/client/ui/Label.stories.tsx +66 -0
  65. package/client/ui/Menubar/Menubar.stories.tsx +88 -0
  66. package/client/ui/Navigation.stories.tsx +57 -0
  67. package/client/ui/NavigationMenu/NavigationMenu.stories.tsx +106 -0
  68. package/client/ui/Pagination/Pagination.stories.tsx +115 -0
  69. package/client/ui/Popover/Popover.stories.tsx +99 -0
  70. package/client/ui/Progress/Progress.stories.tsx +63 -0
  71. package/client/ui/RadioGroup/RadioGroup.stories.tsx +110 -0
  72. package/client/ui/Resizable/Resizable.stories.tsx +88 -0
  73. package/client/ui/ScrollArea/ScrollArea.stories.tsx +64 -0
  74. package/client/ui/SearchField.stories.tsx +63 -0
  75. package/client/ui/Select/Select.stories.tsx +111 -0
  76. package/client/ui/Separator/Separator.stories.tsx +67 -0
  77. package/client/ui/Sheet/Sheet.stories.tsx +138 -0
  78. package/client/ui/Sidebar/Sidebar.stories.tsx +92 -0
  79. package/client/ui/Skeleton/Skeleton.stories.tsx +65 -0
  80. package/client/ui/Slider/Slider.stories.tsx +101 -0
  81. package/client/ui/Sonner/Sonner.stories.tsx +48 -0
  82. package/client/ui/StrategyTable.stories.tsx +138 -0
  83. package/client/ui/Switch/Switch.stories.tsx +96 -0
  84. package/client/ui/Table/Table.stories.tsx +135 -0
  85. package/client/ui/Tabs.stories.tsx +33 -0
  86. package/client/ui/Tag.stories.tsx +190 -0
  87. package/client/ui/Textarea/Textarea.stories.tsx +56 -0
  88. package/client/ui/Toast/Toast.stories.tsx +76 -0
  89. package/client/ui/Toaster/Toaster.stories.tsx +52 -0
  90. package/client/ui/Toggle.stories.tsx +248 -0
  91. package/client/ui/ToggleGroup/ToggleGroup.stories.tsx +88 -0
  92. package/client/ui/Tooltip.stories.tsx +72 -0
  93. package/client/ui/Typography.stories.tsx +421 -0
  94. package/client/ui/WELLDashboard/WELLDashboard.stories.tsx +115 -0
  95. package/client/ui/WELLDashboard/index.tsx +317 -0
  96. package/client/vite-env.d.ts +1 -0
  97. package/dist/ui/index.cjs.js +1 -1
  98. package/dist/ui/index.d.ts +10 -1
  99. package/dist/ui/index.es.js +2233 -447
  100. package/package.json +2 -1
@@ -0,0 +1,1041 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+
3
+ const meta = {
4
+ title: "Review/Colors",
5
+ tags: ["autodocs"],
6
+ parameters: {
7
+ layout: "fullscreen",
8
+ },
9
+ } satisfies Meta;
10
+
11
+ export default meta;
12
+
13
+ type Story = StoryObj<typeof meta>;
14
+
15
+ // Color swatch component
16
+ const ColorSwatch = ({
17
+ name,
18
+ color,
19
+ shade,
20
+ className,
21
+ width = "62px",
22
+ }: {
23
+ name: string;
24
+ color: string;
25
+ shade?: string;
26
+ className?: string;
27
+ width?: string;
28
+ }) => {
29
+ return (
30
+ <div className="flex flex-col" style={{ width }}>
31
+ <div
32
+ className={`w-[62px] h-[62px] rounded-md border border-gray-200 ${className || ""}`}
33
+ style={{ backgroundColor: color }}
34
+ />
35
+ <div className="min-h-[20px] px-1 flex flex-col items-center justify-center">
36
+ <span className="text-xs text-gray-600 text-center">
37
+ {shade || name}
38
+ </span>
39
+ </div>
40
+ </div>
41
+ );
42
+ };
43
+
44
+ // Color row component
45
+ const ColorRow = ({
46
+ label,
47
+ colors,
48
+ swatchWidth,
49
+ }: {
50
+ label: string;
51
+ colors: Array<{
52
+ name: string;
53
+ color: string;
54
+ shade?: string;
55
+ className?: string;
56
+ }>;
57
+ swatchWidth?: string;
58
+ }) => {
59
+ return (
60
+ <div className="flex gap-4 mb-6">
61
+ <div className="w-[200px] flex items-start pt-1">
62
+ <span className="text-sm font-medium text-gray-900">{label}</span>
63
+ </div>
64
+ <div className="flex gap-4 flex-1">
65
+ {colors.map((color) => (
66
+ <ColorSwatch
67
+ key={color.name}
68
+ name={color.name}
69
+ color={color.color}
70
+ shade={color.shade}
71
+ className={color.className}
72
+ width={swatchWidth}
73
+ />
74
+ ))}
75
+ </div>
76
+ </div>
77
+ );
78
+ };
79
+
80
+ // Section header component
81
+ const SectionHeader = ({ title }: { title: string }) => {
82
+ return (
83
+ <div className="mb-8">
84
+ <h2 className="text-2xl font-semibold mb-1">{title}</h2>
85
+ <div className="h-px bg-gray-200" />
86
+ </div>
87
+ );
88
+ };
89
+
90
+ export const Default: Story = {
91
+ render: () => {
92
+ // Color definitions from CSS (matching global.css)
93
+ const paletteColors = [
94
+ {
95
+ label: "Generic",
96
+ colors: [
97
+ {
98
+ name: "white",
99
+ color: "#FFFFFF",
100
+ shade: "00",
101
+ className: "bg-white",
102
+ },
103
+ {
104
+ name: "black",
105
+ color: "#000000",
106
+ shade: "100",
107
+ className: "bg-black",
108
+ },
109
+ ],
110
+ },
111
+ {
112
+ label: "Gray",
113
+ colors: [
114
+ {
115
+ name: "gray-50",
116
+ color: "#f9f9fa",
117
+ shade: "50",
118
+ className: "bg-gray-50",
119
+ },
120
+ {
121
+ name: "gray-100",
122
+ color: "#eff1f2",
123
+ shade: "100",
124
+ className: "bg-gray-100",
125
+ },
126
+ {
127
+ name: "gray-200",
128
+ color: "#dedfe3",
129
+ shade: "200",
130
+ className: "bg-gray-200",
131
+ },
132
+ {
133
+ name: "gray-300",
134
+ color: "#cbcdd2",
135
+ shade: "300",
136
+ className: "bg-gray-300",
137
+ },
138
+ {
139
+ name: "gray-400",
140
+ color: "#9fa2ab",
141
+ shade: "400",
142
+ className: "bg-gray-400",
143
+ },
144
+ {
145
+ name: "gray-500",
146
+ color: "#71747d",
147
+ shade: "500",
148
+ className: "bg-gray-500",
149
+ },
150
+ {
151
+ name: "gray-600",
152
+ color: "#52545d",
153
+ shade: "600",
154
+ className: "bg-gray-600",
155
+ },
156
+ {
157
+ name: "gray-700",
158
+ color: "#3e4049",
159
+ shade: "700",
160
+ className: "bg-gray-700",
161
+ },
162
+ {
163
+ name: "gray-800",
164
+ color: "#282a31",
165
+ shade: "800",
166
+ className: "bg-gray-800",
167
+ },
168
+ {
169
+ name: "gray-900",
170
+ color: "#171820",
171
+ shade: "900",
172
+ className: "bg-gray-900",
173
+ },
174
+ ],
175
+ },
176
+ {
177
+ label: "Blue",
178
+ colors: [
179
+ {
180
+ name: "blue-50",
181
+ color: "#fbfdfe",
182
+ shade: "50",
183
+ className: "bg-blue-50",
184
+ },
185
+ {
186
+ name: "blue-100",
187
+ color: "#eff5fb",
188
+ shade: "100",
189
+ className: "bg-blue-100",
190
+ },
191
+ {
192
+ name: "blue-200",
193
+ color: "#cbe0f1",
194
+ shade: "200",
195
+ className: "bg-blue-200",
196
+ },
197
+ {
198
+ name: "blue-300",
199
+ color: "#a3c8e6",
200
+ shade: "300",
201
+ className: "bg-blue-300",
202
+ },
203
+ {
204
+ name: "blue-400",
205
+ color: "#72abd9",
206
+ shade: "400",
207
+ className: "bg-blue-400",
208
+ },
209
+ {
210
+ name: "blue-500",
211
+ color: "#3481c1",
212
+ shade: "500",
213
+ className: "bg-blue-500",
214
+ },
215
+ {
216
+ name: "blue-600",
217
+ color: "#2e74ad",
218
+ shade: "600",
219
+ className: "bg-blue-600",
220
+ },
221
+ {
222
+ name: "blue-700",
223
+ color: "#286495",
224
+ shade: "700",
225
+ className: "bg-blue-700",
226
+ },
227
+ {
228
+ name: "blue-800",
229
+ color: "#22547d",
230
+ shade: "800",
231
+ className: "bg-blue-800",
232
+ },
233
+ {
234
+ name: "blue-900",
235
+ color: "#183b58",
236
+ shade: "900",
237
+ className: "bg-blue-900",
238
+ },
239
+ ],
240
+ },
241
+ {
242
+ label: "Cyan",
243
+ colors: [
244
+ {
245
+ name: "cyan-50",
246
+ color: "#fafeff",
247
+ shade: "50",
248
+ className: "bg-cyan-50",
249
+ },
250
+ {
251
+ name: "cyan-100",
252
+ color: "#d6f4fb",
253
+ shade: "100",
254
+ className: "bg-cyan-100",
255
+ },
256
+ {
257
+ name: "cyan-200",
258
+ color: "#95e2f4",
259
+ shade: "200",
260
+ className: "bg-cyan-200",
261
+ },
262
+ {
263
+ name: "cyan-300",
264
+ color: "#39c9ea",
265
+ shade: "300",
266
+ className: "bg-cyan-300",
267
+ },
268
+ {
269
+ name: "cyan-400",
270
+ color: "#18bde2",
271
+ shade: "400",
272
+ className: "bg-cyan-400",
273
+ },
274
+ {
275
+ name: "cyan-500",
276
+ color: "#16adcf",
277
+ shade: "500",
278
+ className: "bg-cyan-500",
279
+ },
280
+ {
281
+ name: "cyan-600",
282
+ color: "#149ebd",
283
+ shade: "600",
284
+ className: "bg-cyan-600",
285
+ },
286
+ {
287
+ name: "cyan-700",
288
+ color: "#128ba6",
289
+ shade: "700",
290
+ className: "bg-cyan-700",
291
+ },
292
+ {
293
+ name: "cyan-800",
294
+ color: "#0f748a",
295
+ shade: "800",
296
+ className: "bg-cyan-800",
297
+ },
298
+ {
299
+ name: "cyan-900",
300
+ color: "#0a5161",
301
+ shade: "900",
302
+ className: "bg-cyan-900",
303
+ },
304
+ ],
305
+ },
306
+ {
307
+ label: "Emerald",
308
+ colors: [
309
+ {
310
+ name: "emerald-50",
311
+ color: "#fbfefe",
312
+ shade: "50",
313
+ className: "bg-emerald-50",
314
+ },
315
+ {
316
+ name: "emerald-100",
317
+ color: "#e0fbf5",
318
+ shade: "100",
319
+ className: "bg-emerald-100",
320
+ },
321
+ {
322
+ name: "emerald-200",
323
+ color: "#bcf6ea",
324
+ shade: "200",
325
+ className: "bg-emerald-200",
326
+ },
327
+ {
328
+ name: "emerald-300",
329
+ color: "#8aefdb",
330
+ shade: "300",
331
+ className: "bg-emerald-300",
332
+ },
333
+ {
334
+ name: "emerald-400",
335
+ color: "#50e7ca",
336
+ shade: "400",
337
+ className: "bg-emerald-400",
338
+ },
339
+ {
340
+ name: "emerald-500",
341
+ color: "#1dd7b2",
342
+ shade: "500",
343
+ className: "bg-emerald-500",
344
+ },
345
+ {
346
+ name: "emerald-600",
347
+ color: "#1bc5a3",
348
+ shade: "600",
349
+ className: "bg-emerald-600",
350
+ },
351
+ {
352
+ name: "emerald-700",
353
+ color: "#17aa8d",
354
+ shade: "700",
355
+ className: "bg-emerald-700",
356
+ },
357
+ {
358
+ name: "emerald-800",
359
+ color: "#138b73",
360
+ shade: "800",
361
+ className: "bg-emerald-800",
362
+ },
363
+ {
364
+ name: "emerald-900",
365
+ color: "#0e6352",
366
+ shade: "900",
367
+ className: "bg-emerald-900",
368
+ },
369
+ ],
370
+ },
371
+ {
372
+ label: "Plum",
373
+ colors: [
374
+ {
375
+ name: "plum-50",
376
+ color: "#fdfcfd",
377
+ shade: "50",
378
+ className: "bg-plum-50",
379
+ },
380
+ {
381
+ name: "plum-100",
382
+ color: "#f7f2f6",
383
+ shade: "100",
384
+ className: "bg-plum-100",
385
+ },
386
+ {
387
+ name: "plum-200",
388
+ color: "#f0e1ed",
389
+ shade: "200",
390
+ className: "bg-plum-200",
391
+ },
392
+ {
393
+ name: "plum-300",
394
+ color: "#e8cae1",
395
+ shade: "300",
396
+ className: "bg-plum-300",
397
+ },
398
+ {
399
+ name: "plum-400",
400
+ color: "#dcadd2",
401
+ shade: "400",
402
+ className: "bg-plum-400",
403
+ },
404
+ {
405
+ name: "plum-500",
406
+ color: "#bf78ae",
407
+ shade: "500",
408
+ className: "bg-plum-500",
409
+ },
410
+ {
411
+ name: "plum-600",
412
+ color: "#aa6a9b",
413
+ shade: "600",
414
+ className: "bg-plum-600",
415
+ },
416
+ {
417
+ name: "plum-700",
418
+ color: "#905c84",
419
+ shade: "700",
420
+ className: "bg-plum-700",
421
+ },
422
+ {
423
+ name: "plum-800",
424
+ color: "#7f5075",
425
+ shade: "800",
426
+ className: "bg-plum-800",
427
+ },
428
+ {
429
+ name: "plum-900",
430
+ color: "#633e5a",
431
+ shade: "900",
432
+ className: "bg-plum-900",
433
+ },
434
+ ],
435
+ },
436
+ {
437
+ label: "Coral",
438
+ colors: [
439
+ {
440
+ name: "coral-50",
441
+ color: "#fefcfb",
442
+ shade: "50",
443
+ className: "bg-coral-50",
444
+ },
445
+ {
446
+ name: "coral-100",
447
+ color: "#fcf4f2",
448
+ shade: "100",
449
+ className: "bg-coral-100",
450
+ },
451
+ {
452
+ name: "coral-200",
453
+ color: "#f8dfd8",
454
+ shade: "200",
455
+ className: "bg-coral-200",
456
+ },
457
+ {
458
+ name: "coral-300",
459
+ color: "#f4c9be",
460
+ shade: "300",
461
+ className: "bg-coral-300",
462
+ },
463
+ {
464
+ name: "coral-400",
465
+ color: "#f0aa99",
466
+ shade: "400",
467
+ className: "bg-coral-400",
468
+ },
469
+ {
470
+ name: "coral-500",
471
+ color: "#ed896f",
472
+ shade: "500",
473
+ className: "bg-coral-500",
474
+ },
475
+ {
476
+ name: "coral-600",
477
+ color: "#e67357",
478
+ shade: "600",
479
+ className: "bg-coral-600",
480
+ },
481
+ {
482
+ name: "coral-700",
483
+ color: "#dc5432",
484
+ shade: "700",
485
+ className: "bg-coral-700",
486
+ },
487
+ {
488
+ name: "coral-800",
489
+ color: "#bc4324",
490
+ shade: "800",
491
+ className: "bg-coral-800",
492
+ },
493
+ {
494
+ name: "coral-900",
495
+ color: "#81311d",
496
+ shade: "900",
497
+ className: "bg-coral-900",
498
+ },
499
+ ],
500
+ },
501
+ {
502
+ label: "Pink",
503
+ colors: [
504
+ {
505
+ name: "pink-50",
506
+ color: "#fefbfb",
507
+ shade: "50",
508
+ className: "bg-pink-50",
509
+ },
510
+ {
511
+ name: "pink-100",
512
+ color: "#fceeef",
513
+ shade: "100",
514
+ className: "bg-pink-100",
515
+ },
516
+ {
517
+ name: "pink-200",
518
+ color: "#f7d4d8",
519
+ shade: "200",
520
+ className: "bg-pink-200",
521
+ },
522
+ {
523
+ name: "pink-300",
524
+ color: "#f2b4bb",
525
+ shade: "300",
526
+ className: "bg-pink-300",
527
+ },
528
+ {
529
+ name: "pink-400",
530
+ color: "#efa4ad",
531
+ shade: "400",
532
+ className: "bg-pink-400",
533
+ },
534
+ {
535
+ name: "pink-500",
536
+ color: "#eb8e99",
537
+ shade: "500",
538
+ className: "bg-pink-500",
539
+ },
540
+ {
541
+ name: "pink-600",
542
+ color: "#e77481",
543
+ shade: "600",
544
+ className: "bg-pink-600",
545
+ },
546
+ {
547
+ name: "pink-700",
548
+ color: "#e25566",
549
+ shade: "700",
550
+ className: "bg-pink-700",
551
+ },
552
+ {
553
+ name: "pink-800",
554
+ color: "#c92e3f",
555
+ shade: "800",
556
+ className: "bg-pink-800",
557
+ },
558
+ {
559
+ name: "pink-900",
560
+ color: "#9d1b2a",
561
+ shade: "900",
562
+ className: "bg-pink-900",
563
+ },
564
+ ],
565
+ },
566
+ {
567
+ label: "Bronze",
568
+ colors: [
569
+ {
570
+ name: "bronze-50",
571
+ color: "#fefdfb",
572
+ shade: "50",
573
+ className: "bg-bronze-50",
574
+ },
575
+ {
576
+ name: "bronze-100",
577
+ color: "#fbf8f3",
578
+ shade: "100",
579
+ className: "bg-bronze-100",
580
+ },
581
+ {
582
+ name: "bronze-200",
583
+ color: "#f8f1e8",
584
+ shade: "200",
585
+ className: "bg-bronze-200",
586
+ },
587
+ {
588
+ name: "bronze-300",
589
+ color: "#f3e7d8",
590
+ shade: "300",
591
+ className: "bg-bronze-300",
592
+ },
593
+ {
594
+ name: "bronze-400",
595
+ color: "#eedec9",
596
+ shade: "400",
597
+ className: "bg-bronze-400",
598
+ },
599
+ {
600
+ name: "bronze-500",
601
+ color: "#e8d2b5",
602
+ shade: "500",
603
+ className: "bg-bronze-500",
604
+ },
605
+ {
606
+ name: "bronze-600",
607
+ color: "#dcba8e",
608
+ shade: "600",
609
+ className: "bg-bronze-600",
610
+ },
611
+ {
612
+ name: "bronze-700",
613
+ color: "#d0a367",
614
+ shade: "700",
615
+ className: "bg-bronze-700",
616
+ },
617
+ {
618
+ name: "bronze-800",
619
+ color: "#bb833a",
620
+ shade: "800",
621
+ className: "bg-bronze-800",
622
+ },
623
+ {
624
+ name: "bronze-900",
625
+ color: "#845d29",
626
+ shade: "900",
627
+ className: "bg-bronze-900",
628
+ },
629
+ ],
630
+ },
631
+ {
632
+ label: "Silver",
633
+ colors: [
634
+ {
635
+ name: "silver-50",
636
+ color: "#fcfcfd",
637
+ shade: "50",
638
+ className: "bg-silver-50",
639
+ },
640
+ {
641
+ name: "silver-100",
642
+ color: "#f6f7f8",
643
+ shade: "100",
644
+ className: "bg-silver-100",
645
+ },
646
+ {
647
+ name: "silver-200",
648
+ color: "#edf0f2",
649
+ shade: "200",
650
+ className: "bg-silver-200",
651
+ },
652
+ {
653
+ name: "silver-300",
654
+ color: "#e2e5e9",
655
+ shade: "300",
656
+ className: "bg-silver-300",
657
+ },
658
+ {
659
+ name: "silver-400",
660
+ color: "#d6dbe0",
661
+ shade: "400",
662
+ className: "bg-silver-400",
663
+ },
664
+ {
665
+ name: "silver-500",
666
+ color: "#c8ced6",
667
+ shade: "500",
668
+ className: "bg-silver-500",
669
+ },
670
+ {
671
+ name: "silver-600",
672
+ color: "#bcc4cd",
673
+ shade: "600",
674
+ className: "bg-silver-600",
675
+ },
676
+ {
677
+ name: "silver-700",
678
+ color: "#a2adb9",
679
+ shade: "700",
680
+ className: "bg-silver-700",
681
+ },
682
+ {
683
+ name: "silver-800",
684
+ color: "#8190a1",
685
+ shade: "800",
686
+ className: "bg-silver-800",
687
+ },
688
+ {
689
+ name: "silver-900",
690
+ color: "#5c6a7b",
691
+ shade: "900",
692
+ className: "bg-silver-900",
693
+ },
694
+ ],
695
+ },
696
+ {
697
+ label: "Gold",
698
+ colors: [
699
+ {
700
+ name: "gold-50",
701
+ color: "#fefdfb",
702
+ shade: "50",
703
+ className: "bg-gold-50",
704
+ },
705
+ {
706
+ name: "gold-100",
707
+ color: "#fdfcf6",
708
+ shade: "100",
709
+ className: "bg-gold-100",
710
+ },
711
+ {
712
+ name: "gold-200",
713
+ color: "#f9f5e1",
714
+ shade: "200",
715
+ className: "bg-gold-200",
716
+ },
717
+ {
718
+ name: "gold-300",
719
+ color: "#f6efd0",
720
+ shade: "300",
721
+ className: "bg-gold-300",
722
+ },
723
+ {
724
+ name: "gold-400",
725
+ color: "#f2e8bb",
726
+ shade: "400",
727
+ className: "bg-gold-400",
728
+ },
729
+ {
730
+ name: "gold-500",
731
+ color: "#eee2aa",
732
+ shade: "500",
733
+ className: "bg-gold-500",
734
+ },
735
+ {
736
+ name: "gold-600",
737
+ color: "#eada94",
738
+ shade: "600",
739
+ className: "bg-gold-600",
740
+ },
741
+ {
742
+ name: "gold-700",
743
+ color: "#e5d27b",
744
+ shade: "700",
745
+ className: "bg-gold-700",
746
+ },
747
+ {
748
+ name: "gold-800",
749
+ color: "#cdae28",
750
+ shade: "800",
751
+ className: "bg-gold-800",
752
+ },
753
+ {
754
+ name: "gold-900",
755
+ color: "#917c1d",
756
+ shade: "900",
757
+ className: "bg-gold-900",
758
+ },
759
+ ],
760
+ },
761
+ {
762
+ label: "Platinum",
763
+ colors: [
764
+ {
765
+ name: "platinum-50",
766
+ color: "#fcfcfd",
767
+ shade: "50",
768
+ className: "bg-platinum-50",
769
+ },
770
+ {
771
+ name: "platinum-100",
772
+ color: "#f7f7f8",
773
+ shade: "100",
774
+ className: "bg-platinum-100",
775
+ },
776
+ {
777
+ name: "platinum-200",
778
+ color: "#ececee",
779
+ shade: "200",
780
+ className: "bg-platinum-200",
781
+ },
782
+ {
783
+ name: "platinum-300",
784
+ color: "#e2e1e5",
785
+ shade: "300",
786
+ className: "bg-platinum-300",
787
+ },
788
+ {
789
+ name: "platinum-400",
790
+ color: "#d2d1d6",
791
+ shade: "400",
792
+ className: "bg-platinum-400",
793
+ },
794
+ {
795
+ name: "platinum-500",
796
+ color: "#c6c5cc",
797
+ shade: "500",
798
+ className: "bg-platinum-500",
799
+ },
800
+ {
801
+ name: "platinum-600",
802
+ color: "#b4b3bc",
803
+ shade: "600",
804
+ className: "bg-platinum-600",
805
+ },
806
+ {
807
+ name: "platinum-700",
808
+ color: "#9f9da9",
809
+ shade: "700",
810
+ className: "bg-platinum-700",
811
+ },
812
+ {
813
+ name: "platinum-800",
814
+ color: "#848291",
815
+ shade: "800",
816
+ className: "bg-platinum-800",
817
+ },
818
+ {
819
+ name: "platinum-900",
820
+ color: "#5d5b67",
821
+ shade: "900",
822
+ className: "bg-platinum-900",
823
+ },
824
+ ],
825
+ },
826
+ {
827
+ label: "Beige",
828
+ colors: [
829
+ {
830
+ name: "beige-50",
831
+ color: "#fdfcfc",
832
+ shade: "50",
833
+ className: "bg-beige-50",
834
+ },
835
+ {
836
+ name: "beige-100",
837
+ color: "#fbfaf9",
838
+ shade: "100",
839
+ className: "bg-beige-100",
840
+ },
841
+ {
842
+ name: "beige-200",
843
+ color: "#efeae6",
844
+ shade: "200",
845
+ className: "bg-beige-200",
846
+ },
847
+ {
848
+ name: "beige-300",
849
+ color: "#e2d7d0",
850
+ shade: "300",
851
+ className: "bg-beige-300",
852
+ },
853
+ {
854
+ name: "beige-400",
855
+ color: "#d2c2b6",
856
+ shade: "400",
857
+ className: "bg-beige-400",
858
+ },
859
+ {
860
+ name: "beige-500",
861
+ color: "#c1aa9a",
862
+ shade: "500",
863
+ className: "bg-beige-500",
864
+ },
865
+ {
866
+ name: "beige-600",
867
+ color: "#b59a87",
868
+ shade: "600",
869
+ className: "bg-beige-600",
870
+ },
871
+ {
872
+ name: "beige-700",
873
+ color: "#a5856e",
874
+ shade: "700",
875
+ className: "bg-beige-700",
876
+ },
877
+ {
878
+ name: "beige-800",
879
+ color: "#8b6c56",
880
+ shade: "800",
881
+ className: "bg-beige-800",
882
+ },
883
+ {
884
+ name: "beige-900",
885
+ color: "#685140",
886
+ shade: "900",
887
+ className: "bg-beige-900",
888
+ },
889
+ ],
890
+ },
891
+ ];
892
+
893
+ const conceptsColors = [
894
+ { name: "mind", color: "#0A5161" },
895
+ { name: "community", color: "#0F748A" },
896
+ { name: "movement", color: "#149EBD" },
897
+ { name: "water", color: "#39C9EA" },
898
+ { name: "air", color: "#87DFF2" },
899
+ { name: "light", color: "#8AEFDB" },
900
+ { name: "thermal-comfort", color: "#3EDDBF" },
901
+ { name: "nourishment", color: "#17AA8D" },
902
+ { name: "sound", color: "#0C705C" },
903
+ { name: "materials", color: "#0A4F41" },
904
+ ];
905
+
906
+ const ratingsColors = [
907
+ { name: "health-safety", color: "#72ABD9" },
908
+ { name: "performance", color: "#0F748A" },
909
+ { name: "equity", color: "#17AA8D" },
910
+ { name: "coworking", color: "#9A608C" },
911
+ ];
912
+
913
+ return (
914
+ <div className="min-h-screen bg-white p-16">
915
+ <div className="max-w-[1800px] mx-auto">
916
+ {/* Header */}
917
+ <div className="mb-16">
918
+ <h1 className="text-4xl font-bold">Colors</h1>
919
+ </div>
920
+
921
+ {/* Palette Section */}
922
+ <div className="mb-16">
923
+ <SectionHeader title="Palette" />
924
+ <div className="space-y-6">
925
+ {paletteColors.map((palette) => (
926
+ <ColorRow
927
+ key={palette.label}
928
+ label={palette.label}
929
+ colors={palette.colors}
930
+ swatchWidth="62px"
931
+ />
932
+ ))}
933
+ </div>
934
+ </div>
935
+
936
+ {/* Swatches Section */}
937
+ <div className="mb-16">
938
+ <SectionHeader title="Swatches" />
939
+ <div className="space-y-6">
940
+ {/* Concepts - Two rows */}
941
+ <div className="flex gap-4 mb-6">
942
+ <div className="w-[200px] flex items-start pt-1">
943
+ <span className="text-sm font-medium text-gray-900">
944
+ Concepts
945
+ </span>
946
+ </div>
947
+ <div className="flex-1 space-y-4">
948
+ {/* First row */}
949
+ <div className="flex gap-4">
950
+ {conceptsColors.slice(0, 5).map((color) => (
951
+ <ColorSwatch
952
+ key={color.name}
953
+ name={color.name}
954
+ color={color.color}
955
+ />
956
+ ))}
957
+ </div>
958
+ {/* Second row */}
959
+ <div className="flex gap-4">
960
+ {conceptsColors.slice(5, 10).map((color) => (
961
+ <ColorSwatch
962
+ key={color.name}
963
+ name={color.name}
964
+ color={color.color}
965
+ />
966
+ ))}
967
+ </div>
968
+ </div>
969
+ </div>
970
+ <ColorRow label="Ratings" colors={ratingsColors} />
971
+ </div>
972
+ </div>
973
+
974
+ {/* Gradients Section */}
975
+ <div>
976
+ <SectionHeader title="Gradients" />
977
+ <div className="space-y-6">
978
+ <div className="flex gap-4 mb-6">
979
+ <div className="w-[200px] flex items-start pt-1">
980
+ <span className="text-sm font-medium text-gray-900">
981
+ Backdrops
982
+ </span>
983
+ </div>
984
+ <div className="flex-1 space-y-4">
985
+ <div className="flex flex-col">
986
+ <div
987
+ className="h-[62px] rounded-md border border-gray-200"
988
+ style={{
989
+ background: `linear-gradient(99deg, #41d5f6 3.39%, #3eecd1 57.86%, #66fcd9 112.32%)`,
990
+ }}
991
+ />
992
+ <div className="min-h-[20px] px-1 flex flex-col items-center justify-center">
993
+ <span className="text-xs text-gray-600 text-center">
994
+ gradient 01
995
+ </span>
996
+ </div>
997
+ </div>
998
+ <div className="flex flex-col">
999
+ <div
1000
+ className="h-[62px] rounded-md border border-gray-200"
1001
+ style={{
1002
+ background: `linear-gradient(58deg, #8aefdb 2.8%, #d4bace 41.67%, #cbe0f1 80.55%)`,
1003
+ }}
1004
+ />
1005
+ <div className="min-h-[20px] px-1 flex flex-col items-center justify-center">
1006
+ <span className="text-xs text-gray-600 text-center">
1007
+ gradient 02
1008
+ </span>
1009
+ </div>
1010
+ </div>
1011
+ </div>
1012
+ </div>
1013
+ <div className="flex gap-4 mb-6">
1014
+ <div className="w-[200px] flex items-start pt-1">
1015
+ <span className="text-sm font-medium text-gray-900">
1016
+ Performance
1017
+ </span>
1018
+ </div>
1019
+ <div className="flex-1">
1020
+ <div className="flex flex-col">
1021
+ <div
1022
+ className="h-[62px] rounded-md border border-gray-200"
1023
+ style={{
1024
+ background: `linear-gradient(180deg, #1dd7b2 0%, #18bde2 50%, #bf78ae 75%, #e67357 100%)`,
1025
+ }}
1026
+ />
1027
+ <div className="min-h-[20px] px-1 flex flex-col items-center justify-center">
1028
+ <span className="text-xs text-gray-600 text-center">
1029
+ gradient 01
1030
+ </span>
1031
+ </div>
1032
+ </div>
1033
+ </div>
1034
+ </div>
1035
+ </div>
1036
+ </div>
1037
+ </div>
1038
+ </div>
1039
+ );
1040
+ },
1041
+ };