@astryxdesign/theme-neutral 0.5.2 → 0.5.3

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/theme.css CHANGED
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/neutralTheme.ts
4
4
  * Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
5
- * CLI: @astryxdesign/cli@0.5.2
6
- * Core: @astryxdesign/core@0.5.2
5
+ * CLI: @astryxdesign/cli@0.5.3
6
+ * Core: @astryxdesign/core@0.5.3
7
7
  */
8
8
 
9
9
  @layer reset {
@@ -211,96 +211,96 @@
211
211
  --font-family-body: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
212
212
  --font-family-heading: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
213
213
  --font-family-code: ui-monospace, "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
214
- --color-syntax-keyword: light-dark(#700084, #efa8ff);
215
- --color-syntax-string: light-dark(#005600, #a6d2a2);
216
- --color-syntax-comment: light-dark(#737373, #a3a3a3);
217
- --color-syntax-number: light-dark(#6e3500, #ffb37f);
218
- --color-syntax-function: light-dark(#00458c, #a0caff);
219
- --color-syntax-type: light-dark(#700084, #efa8ff);
220
- --color-syntax-variable: light-dark(#171717, #e5e5e5);
221
- --color-syntax-operator: light-dark(#737373, #a3a3a3);
222
- --color-syntax-constant: light-dark(#6e3500, #ffb37f);
223
- --color-syntax-tag: light-dark(#89001a, #ffaeaa);
224
- --color-syntax-attribute: light-dark(#584400, #eec12f);
225
- --color-syntax-property: light-dark(#005348, #83dac9);
226
- --color-syntax-punctuation: light-dark(#6e6e6e, #a0a0a0);
227
- --color-syntax-background: light-dark(#fafafa, #0a0a0a);
214
+ --color-syntax-keyword: light-dark(#6b187c, #efa8ff);
215
+ --color-syntax-string: light-dark(#0b5615, #a4d6a3);
216
+ --color-syntax-comment: light-dark(#6a6a6a, #9e9e9e);
217
+ --color-syntax-number: light-dark(#733100, #ffb37e);
218
+ --color-syntax-function: light-dark(#00458c, #a1caff);
219
+ --color-syntax-type: light-dark(#6b187c, #efa8ff);
220
+ --color-syntax-variable: light-dark(#111111, #e2e2e2);
221
+ --color-syntax-operator: light-dark(#6a6a6a, #9e9e9e);
222
+ --color-syntax-constant: light-dark(#733100, #ffb37e);
223
+ --color-syntax-tag: light-dark(#8a0011, #ffaea7);
224
+ --color-syntax-attribute: light-dark(#584400, #eec448);
225
+ --color-syntax-property: light-dark(#005348, #90d7c8);
226
+ --color-syntax-punctuation: light-dark(#6a6a6a, #9e9e9e);
227
+ --color-syntax-background: light-dark(#ffffff, #111111);
228
228
  --color-background-surface: light-dark(#ffffff, #262626);
229
229
  --color-background-body: light-dark(#f1f1f1, #1b1b1b);
230
230
  --color-background-card: light-dark(#ffffff, #1b1b1b);
231
231
  --color-background-popover: light-dark(#ffffff, #1b1b1b);
232
232
  --color-background-muted: light-dark(#f1f1f1, #1b1b1b);
233
- --color-accent: light-dark(#262626, #ebebeb);
233
+ --color-accent: light-dark(#262626, #f1f1f1);
234
234
  --color-accent-muted: light-dark(#f1f1f1, #262626);
235
- --color-neutral: light-dark(#0000000F, #FFFFFF1A);
235
+ --color-neutral: light-dark(#0000000F, #ffffff1A);
236
236
  --color-overlay: light-dark(#00000080, #000000CC);
237
- --color-overlay-hover: light-dark(#0000000D, #FFFFFF0D);
238
- --color-overlay-pressed: light-dark(#0000001A, #FFFFFF1A);
239
- --color-text-primary: light-dark(#171717, #fafafa);
240
- --color-text-secondary: light-dark(#525252, #a3a3a3);
241
- --color-text-disabled: light-dark(#a3a3a3, #525252);
242
- --color-text-accent: light-dark(#262626, #ebebeb);
237
+ --color-overlay-hover: light-dark(#0000000D, #ffffff0D);
238
+ --color-overlay-pressed: light-dark(#0000001A, #ffffff1A);
239
+ --color-text-primary: light-dark(#111111, #ffffff);
240
+ --color-text-secondary: light-dark(#525252, #9e9e9e);
241
+ --color-text-disabled: light-dark(#9e9e9e, #525252);
242
+ --color-text-accent: light-dark(#262626, #f1f1f1);
243
243
  --color-on-dark: #ffffff;
244
- --color-on-light: #171717;
245
- --color-on-accent: light-dark(#ffffff, #171717);
246
- --color-on-success: light-dark(#ffffff, #171717);
247
- --color-on-error: light-dark(#ffffff, #171717);
248
- --color-on-warning: #171717;
249
- --color-icon-accent: light-dark(#262626, #ebebeb);
250
- --color-icon-primary: light-dark(#171717, #fafafa);
251
- --color-icon-secondary: light-dark(#737373, #a3a3a3);
252
- --color-icon-disabled: light-dark(#a3a3a3, #525252);
253
- --color-success: light-dark(#007004, #9fe59b);
254
- --color-error: light-dark(#a50c25, #ffc6c1);
255
- --color-warning: light-dark(#745b00, #fdcf4f);
256
- --color-success-muted: light-dark(#c5e5c0, #84c9803D);
257
- --color-error-muted: light-dark(#facecb, #ff9e973D);
258
- --color-warning-muted: light-dark(#f8da9d, #deb4333D);
259
- --color-border: light-dark(#00000014, #FFFFFF1A);
244
+ --color-on-light: #111111;
245
+ --color-on-accent: light-dark(#ffffff, #111111);
246
+ --color-on-success: light-dark(#ffffff, #111111);
247
+ --color-on-error: light-dark(#ffffff, #111111);
248
+ --color-on-warning: #111111;
249
+ --color-icon-accent: light-dark(#262626, #f1f1f1);
250
+ --color-icon-primary: light-dark(#111111, #ffffff);
251
+ --color-icon-secondary: light-dark(#777777, #9e9e9e);
252
+ --color-icon-disabled: light-dark(#9e9e9e, #525252);
253
+ --color-success: light-dark(#237028, #a4d6a3);
254
+ --color-error: light-dark(#9e0015, #ffc4be);
255
+ --color-warning: light-dark(#745b00, #f8d36a);
256
+ --color-success-muted: light-dark(#bce0bb, #90ca903D);
257
+ --color-error-muted: light-dark(#ffc4be, #ff98903D);
258
+ --color-warning-muted: light-dark(#fae19e, #e2b6233D);
259
+ --color-border: light-dark(#00000014, #ffffff1A);
260
260
  --color-border-emphasized: light-dark(#d4d4d4, #525252);
261
- --color-skeleton: light-dark(#ebebeb, #525252);
261
+ --color-skeleton: light-dark(#f1f1f1, #525252);
262
262
  --color-shadow: light-dark(#0000001A, #0000004D);
263
263
  --color-tint-hover: light-dark(black, white);
264
- --color-background-red: light-dark(#facecb, #ff9e973D);
265
- --color-border-red: light-dark(#e6bab8, #ff6f6c);
266
- --color-icon-red: light-dark(#89001a, #ff9e97);
267
- --color-text-red: light-dark(#89001a, #ffc6c1);
268
- --color-background-orange: light-dark(#fad0b5, #ffa2583D);
269
- --color-border-orange: light-dark(#e6bda2, #e2883e);
270
- --color-icon-orange: light-dark(#6e3500, #ffa258);
271
- --color-text-orange: light-dark(#6e3500, #ffc9a2);
272
- --color-background-yellow: light-dark(#f8da9d, #deb4333D);
273
- --color-border-yellow: light-dark(#e4c279, #c0990e);
274
- --color-icon-yellow: light-dark(#584400, #deb433);
275
- --color-text-yellow: light-dark(#584400, #fdcf4f);
276
- --color-background-green: light-dark(#c5e5c0, #84c9803D);
277
- --color-border-green: light-dark(#b2d1ac, #69ad67);
278
- --color-icon-green: light-dark(#0c5700, #84c980);
279
- --color-text-green: light-dark(#0c5700, #9fe59b);
280
- --color-background-teal: light-dark(#a5e3d6, #7ec6b83D);
281
- --color-border-teal: light-dark(#94d6c8, #63ab9d);
282
- --color-icon-teal: light-dark(#005348, #7ec6b8);
283
- --color-text-teal: light-dark(#005348, #99e2d3);
284
- --color-background-cyan: light-dark(#a3e0ef, #83c2d43D);
285
- --color-border-cyan: light-dark(#91d3e3, #67a7b8);
286
- --color-icon-cyan: light-dark(#00505f, #83c2d4);
287
- --color-text-cyan: light-dark(#00505f, #9edef0);
288
- --color-background-blue: light-dark(#c4ddfb, #9eb7ff3D);
289
- --color-border-blue: light-dark(#b1c9e7, #6d9cfe);
290
- --color-icon-blue: light-dark(#00458c, #9eb7ff);
291
- --color-text-blue: light-dark(#00458c, #c7d3ff);
292
- --color-background-purple: light-dark(#eccef3, #f297ff3D);
293
- --color-border-purple: light-dark(#d8bbdf, #dd74f0);
294
- --color-icon-purple: light-dark(#700084, #f297ff);
295
- --color-text-purple: light-dark(#700084, #fac1ff);
296
- --color-background-pink: light-dark(#fccadc, #ff99c33D);
297
- --color-border-pink: light-dark(#e7b7c8, #f273aa);
298
- --color-icon-pink: light-dark(#83004b, #ff99c3);
299
- --color-text-pink: light-dark(#83004b, #ffc3da);
300
- --color-background-gray: light-dark(#e5e5e5, var(--color-neutral));
264
+ --color-background-red: light-dark(#ffc4be, #5b2b28);
265
+ --color-border-red: light-dark(#ffaea7, #fa6762);
266
+ --color-icon-red: light-dark(#8a0011, #ff9890);
267
+ --color-text-red: light-dark(#8a0011, #ffaea7);
268
+ --color-background-orange: light-dark(#ffc7a1, #503424);
269
+ --color-border-orange: light-dark(#ffc7a1, #df843f);
270
+ --color-icon-orange: light-dark(#733100, #ff9e55);
271
+ --color-text-orange: light-dark(#733100, #ffb37e);
272
+ --color-background-yellow: light-dark(#fae19e, #453a1c);
273
+ --color-border-yellow: light-dark(#e3c36c, #c29900);
274
+ --color-icon-yellow: light-dark(#584400, #e2b623);
275
+ --color-text-yellow: light-dark(#584400, #eec448);
276
+ --color-background-green: light-dark(#bce0bb, #2b422b);
277
+ --color-border-green: light-dark(#aad4a9, #6ab26b);
278
+ --color-icon-green: light-dark(#0b5615, #90ca90);
279
+ --color-text-green: light-dark(#0b5615, #90ca90);
280
+ --color-background-teal: light-dark(#a9e2d6, #28413c);
281
+ --color-border-teal: light-dark(#90d7c8, #4fb1a0);
282
+ --color-icon-teal: light-dark(#005348, #81c9bb);
283
+ --color-text-teal: light-dark(#005348, #90d7c8);
284
+ --color-background-cyan: light-dark(#9ae2f4, #274046);
285
+ --color-border-cyan: light-dark(#85d5e9, #49adc4);
286
+ --color-icon-cyan: light-dark(#00505f, #71c7dd);
287
+ --color-text-cyan: light-dark(#00505f, #85d5e9);
288
+ --color-background-blue: light-dark(#b9d7ff, #253c5a);
289
+ --color-border-blue: light-dark(#a1caff, #5aa0f8);
290
+ --color-icon-blue: light-dark(#00458c, #88bcff);
291
+ --color-text-blue: light-dark(#00458c, #a1caff);
292
+ --color-background-purple: light-dark(#f7d5ff, #4a2f51);
293
+ --color-border-purple: light-dark(#f3bfff, #d885eb);
294
+ --color-icon-purple: light-dark(#6b187c, #e496f6);
295
+ --color-text-purple: light-dark(#6b187c, #eaacf8);
296
+ --color-background-pink: light-dark(#ffc0d7, #572b3d);
297
+ --color-border-pink: light-dark(#ffc0d7, #fc78b1);
298
+ --color-icon-pink: light-dark(#83004b, #fd92bd);
299
+ --color-text-pink: light-dark(#83004b, #ffa9ca);
300
+ --color-background-gray: light-dark(#e2e2e2, #303030);
301
301
  --color-border-gray: light-dark(#d4d4d4, #262626);
302
- --color-icon-gray: light-dark(#525252, #a3a3a3);
303
- --color-text-gray: light-dark(#262626, #e5e5e5);
302
+ --color-icon-gray: light-dark(#525252, #9e9e9e);
303
+ --color-text-gray: light-dark(#262626, #d4d4d4);
304
304
  --radius-none: 0px;
305
305
  --radius-inner: 0.375rem;
306
306
  --radius-element: 0.625rem;
@@ -312,9 +312,19 @@
312
312
  --shadow-high: 0 4px 6px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), 0 12px 24px light-dark(oklch(0 0 0 / 15%), oklch(0 0 0 / 70%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 15%));
313
313
  --shadow-inset-hover: inset 0px 0px 0px 2px #0074e24D;
314
314
  --shadow-inset-selected: inset 0px 0px 0px 2px #0074e280;
315
- --shadow-inset-success: inset 0px 0px 0px 2px #1981004D;
316
- --shadow-inset-warning: inset 0px 0px 0px 2px #ffce2f4D;
317
- --shadow-inset-error: inset 0px 0px 0px 2px #e33f4a4D;
315
+ --shadow-inset-success: inset 0px 0px 0px 2px #2f7d334D;
316
+ --shadow-inset-warning: inset 0px 0px 0px 2px #f8d36a4D;
317
+ --shadow-inset-error: inset 0px 0px 0px 2px #de47454D;
318
+ --astryx-theme-neutral-color-status-fill-accent: light-dark(#0074e2, #6d9cfe);
319
+ --astryx-theme-neutral-color-status-fill-success: light-dark(#198100, #64af4c);
320
+ --astryx-theme-neutral-color-status-fill-warning: #ffce2f;
321
+ --astryx-theme-neutral-color-status-fill-error: light-dark(#c9303a, #ff705d);
322
+ --astryx-theme-neutral-color-status-muted-accent: light-dark(#b9d7ff, #88bcff3D);
323
+ --astryx-theme-neutral-color-on-tint-neutral: light-dark(#fafafa4D, #0a0a0a4D);
324
+ --astryx-theme-neutral-color-on-tint-overlay-hover: light-dark(#fafafa1A, #0a0a0a1A);
325
+ --astryx-theme-neutral-color-on-tint-overlay-pressed: light-dark(#fafafa33, #0a0a0a33);
326
+ --astryx-theme-neutral-color-destructive-overlay-hover: light-dark(#ff7f770D, #ee736c0D);
327
+ --astryx-theme-neutral-color-destructive-overlay-pressed: light-dark(#ff7f771A, #ee736c1A);
318
328
  }
319
329
 
320
330
  .astryx-heading.level-1 {
@@ -428,11 +438,13 @@
428
438
  .astryx-button.destructive {
429
439
  background-color: var(--color-error-muted);
430
440
  color: var(--color-error);
441
+ --color-overlay-hover: var(--astryx-theme-neutral-color-destructive-overlay-hover);
442
+ --color-overlay-pressed: var(--astryx-theme-neutral-color-destructive-overlay-pressed);
431
443
  }
432
444
 
433
445
  .astryx-badge.info {
434
- background-color: light-dark(#0074e2, #6d9cfe);
435
- color: light-dark(#ffffff, #171717);
446
+ background-color: var(--astryx-theme-neutral-color-status-fill-accent);
447
+ color: var(--color-on-accent);
436
448
  }
437
449
 
438
450
  .astryx-badge.neutral {
@@ -441,18 +453,18 @@
441
453
  }
442
454
 
443
455
  .astryx-badge.success {
444
- background-color: light-dark(#198100, #64af4c);
445
- color: light-dark(#ffffff, #171717);
456
+ background-color: var(--astryx-theme-neutral-color-status-fill-success);
457
+ color: var(--color-on-success);
446
458
  }
447
459
 
448
460
  .astryx-badge.warning {
449
- background-color: #ffce2f;
450
- color: #171717;
461
+ background-color: var(--astryx-theme-neutral-color-status-fill-warning);
462
+ color: var(--color-on-warning);
451
463
  }
452
464
 
453
465
  .astryx-badge.error {
454
- background-color: light-dark(#c9303a, #ff705d);
455
- color: light-dark(#ffffff, #171717);
466
+ background-color: var(--astryx-theme-neutral-color-status-fill-error);
467
+ color: var(--color-on-error);
456
468
  }
457
469
 
458
470
  .astryx-badge.red {
@@ -506,23 +518,58 @@
506
518
  }
507
519
 
508
520
  .astryx-statusdot.success {
509
- background-color: light-dark(#198100, #64af4c);
521
+ background-color: var(--astryx-theme-neutral-color-status-fill-success);
510
522
  }
511
523
 
512
524
  .astryx-statusdot.warning {
513
- background-color: #ffce2f;
525
+ background-color: var(--astryx-theme-neutral-color-status-fill-warning);
514
526
  }
515
527
 
516
528
  .astryx-statusdot.error {
517
- background-color: light-dark(#c9303a, #ff705d);
529
+ background-color: var(--astryx-theme-neutral-color-status-fill-error);
518
530
  }
519
531
 
520
532
  .astryx-statusdot.accent {
521
- background-color: light-dark(#0074e2, #6d9cfe);
533
+ background-color: var(--astryx-theme-neutral-color-status-fill-accent);
534
+ }
535
+
536
+ .astryx-avatar-status-dot.success {
537
+ background-color: var(--astryx-theme-neutral-color-status-fill-success);
538
+ }
539
+
540
+ .astryx-avatar-status-dot.error {
541
+ background-color: var(--astryx-theme-neutral-color-status-fill-error);
542
+ }
543
+
544
+ .astryx-segmented-control {
545
+ padding: var(--spacing-1);
546
+ --_segmented-control-padding: var(--spacing-1);
547
+ }
548
+
549
+ .astryx-segmented-control-item.sm {
550
+ height: calc(var(--size-element-sm) - 8px);
551
+ }
552
+
553
+ .astryx-segmented-control-item.md {
554
+ height: calc(var(--size-element-md) - 8px);
555
+ }
556
+
557
+ .astryx-segmented-control-item.lg {
558
+ height: calc(var(--size-element-lg) - 8px);
559
+ }
560
+
561
+ .astryx-segmented-control-item.selected {
562
+ box-shadow: none;
563
+ }
564
+
565
+ .astryx-banner {
566
+ --color-neutral: var(--astryx-theme-neutral-color-on-tint-neutral);
567
+ --color-overlay-hover: var(--astryx-theme-neutral-color-on-tint-overlay-hover);
568
+ --color-overlay-pressed: var(--astryx-theme-neutral-color-on-tint-overlay-pressed);
522
569
  }
523
570
 
524
571
  .astryx-banner.info {
525
- --color-accent-muted: var(--color-background-blue);
572
+ --color-accent-muted: var(--astryx-theme-neutral-color-status-muted-accent);
526
573
  --color-text-primary: var(--color-text-blue);
527
574
  --color-text-secondary: var(--color-text-blue);
528
575
  --color-accent: var(--color-text-blue);
@@ -546,6 +593,22 @@
546
593
  --color-error: var(--color-text-red);
547
594
  }
548
595
 
596
+ .astryx-step-indicator.accent {
597
+ --color-accent: var(--astryx-theme-neutral-color-status-fill-accent);
598
+ }
599
+
600
+ .astryx-step-indicator.success {
601
+ --color-success: var(--astryx-theme-neutral-color-status-fill-success);
602
+ }
603
+
604
+ .astryx-step-indicator.warning {
605
+ --color-warning: var(--astryx-theme-neutral-color-status-fill-warning);
606
+ }
607
+
608
+ .astryx-step-indicator.error {
609
+ --color-error: var(--astryx-theme-neutral-color-status-fill-error);
610
+ }
611
+
549
612
  .astryx-switch {
550
613
  --color-background-gray: var(--color-border-emphasized);
551
614
  }
@@ -555,19 +618,19 @@
555
618
  }
556
619
 
557
620
  .astryx-progressbar.accent {
558
- --color-accent: #0074e2;
621
+ --color-accent: var(--astryx-theme-neutral-color-status-fill-accent);
559
622
  }
560
623
 
561
624
  .astryx-progressbar.success {
562
- --color-success: #198100;
625
+ --color-success: var(--astryx-theme-neutral-color-status-fill-success);
563
626
  }
564
627
 
565
628
  .astryx-progressbar.warning {
566
- --color-warning: #ffce2f;
629
+ --color-warning: var(--astryx-theme-neutral-color-status-fill-warning);
567
630
  }
568
631
 
569
632
  .astryx-progressbar.error {
570
- --color-error: #c9303a;
633
+ --color-error: var(--astryx-theme-neutral-color-status-fill-error);
571
634
  }
572
635
 
573
636
  .astryx-card {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/theme-neutral",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "displayName": "Neutral Theme",
5
5
  "private": false,
6
6
  "description": "Restrained warm grays. Minimal and quiet, so the content stays the focus.",
@@ -43,17 +43,18 @@
43
43
  },
44
44
  "files": [
45
45
  "dist",
46
- "src"
46
+ "src",
47
+ "palette.config.json"
47
48
  ],
48
49
  "dependencies": {
49
50
  "lucide-react": "^1.18.0"
50
51
  },
51
52
  "peerDependencies": {
52
- "@astryxdesign/core": "0.5.2",
53
+ "@astryxdesign/core": "0.5.3",
53
54
  "react": ">=19"
54
55
  },
55
56
  "devDependencies": {
56
- "@astryxdesign/cli": "0.5.2"
57
+ "@astryxdesign/cli": "0.5.3"
57
58
  },
58
59
  "module": "./dist/source.mjs",
59
60
  "scripts": {
@@ -0,0 +1,122 @@
1
+ {
2
+ "recipe": "astryx-oklch-v1",
3
+ "vibrancy": 50,
4
+ "neutralProfile": "neutral-v1",
5
+ "modeStrategy": "light-and-dark",
6
+ "darkChromaTaper": {
7
+ "edgeMultiplier": 0.5,
8
+ "throughStop": 25,
9
+ "recoverAtStop": 60,
10
+ "familyMultipliers": {
11
+ "yellow": 0.65
12
+ }
13
+ },
14
+ "stops": [
15
+ 0,
16
+ 5,
17
+ 10,
18
+ 15,
19
+ 20,
20
+ 25,
21
+ 30,
22
+ 35,
23
+ 40,
24
+ 45,
25
+ 50,
26
+ 55,
27
+ 60,
28
+ 65,
29
+ 70,
30
+ 75,
31
+ 80,
32
+ 85,
33
+ 90,
34
+ 95,
35
+ 100
36
+ ],
37
+ "families": [
38
+ {
39
+ "id": "neutral",
40
+ "name": "Neutral",
41
+ "seed": "#777777",
42
+ "kind": "neutral"
43
+ },
44
+ {
45
+ "id": "red",
46
+ "name": "Red",
47
+ "seed": "#d62830"
48
+ },
49
+ {
50
+ "id": "orange",
51
+ "name": "Orange",
52
+ "seed": "#d57113"
53
+ },
54
+ {
55
+ "id": "yellow",
56
+ "name": "Yellow",
57
+ "seed": "#f8c723",
58
+ "anchors": [
59
+ {
60
+ "mode": "light",
61
+ "stop": 80,
62
+ "color": "#f8c723",
63
+ "policy": "flexible"
64
+ }
65
+ ]
66
+ },
67
+ {
68
+ "id": "green",
69
+ "name": "Green",
70
+ "seed": "#358a3a",
71
+ "anchors": [
72
+ {
73
+ "mode": "light",
74
+ "stop": 50,
75
+ "color": "#358a3a",
76
+ "policy": "flexible"
77
+ }
78
+ ]
79
+ },
80
+ {
81
+ "id": "teal",
82
+ "name": "Teal",
83
+ "seed": "#0c7365"
84
+ },
85
+ {
86
+ "id": "cyan",
87
+ "name": "Cyan",
88
+ "seed": "#0c6f82"
89
+ },
90
+ {
91
+ "id": "blue",
92
+ "name": "Blue",
93
+ "seed": "#0074e2",
94
+ "anchors": [
95
+ {
96
+ "mode": "light",
97
+ "stop": 50,
98
+ "color": "#0074e2",
99
+ "policy": "exact"
100
+ }
101
+ ]
102
+ },
103
+ {
104
+ "id": "purple",
105
+ "name": "Purple",
106
+ "seed": "#980fb2",
107
+ "anchors": [
108
+ {
109
+ "mode": "light",
110
+ "stop": 50,
111
+ "color": "#980fb2",
112
+ "policy": "flexible"
113
+ }
114
+ ]
115
+ },
116
+ {
117
+ "id": "pink",
118
+ "name": "Pink",
119
+ "seed": "#b10e69"
120
+ }
121
+ ]
122
+ }
@@ -0,0 +1,50 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ // Generated from neutralPalettes.generated.ts for the stops used by
4
+ // neutralTheme.ts. Keep the complete palette available for authoring and
5
+ // audits, but do not make consumers pay for unused palette stops.
6
+ // prettier-ignore
7
+ export const neutralPaletteRefs = {
8
+ purple: {
9
+ light: {30: '#6b187c', 70: '#d885eb', 75: '#e496f6', 80: '#efa8ff', 85: '#f3bfff', 90: '#f7d5ff'},
10
+ dark: {25: '#4a2f51', 80: '#eaacf8'},
11
+ },
12
+ green: {
13
+ light: {30: '#0b5615', 40: '#237028', 45: '#2f7d33', 65: '#6ab26b', 75: '#90ca90', 80: '#a4d6a3'},
14
+ dark: {25: '#2b422b', 80: '#aad4a9', 85: '#bce0bb'},
15
+ },
16
+ neutral: {
17
+ light: {0: '#000000', 5: '#111111', 15: '#262626', 35: '#525252', 45: '#6a6a6a', 50: '#777777', 65: '#9e9e9e', 85: '#d4d4d4', 90: '#e2e2e2', 95: '#f1f1f1', 100: '#ffffff'},
18
+ dark: {0: '#000000', 5: '#111111', 10: '#1b1b1b', 15: '#262626', 20: '#303030', 35: '#525252', 65: '#9e9e9e', 85: '#d4d4d4', 90: '#e2e2e2', 95: '#f1f1f1', 100: '#ffffff'},
19
+ },
20
+ orange: {
21
+ light: {30: '#733100', 75: '#ff9e55', 85: '#ffc7a1'},
22
+ dark: {25: '#503424', 65: '#df843f', 80: '#ffb37e'},
23
+ },
24
+ blue: {
25
+ light: {30: '#00458c', 50: '#0074e2', 80: '#a1caff', 85: '#b9d7ff'},
26
+ dark: {25: '#253c5a', 65: '#5aa0f8', 75: '#88bcff', 80: '#a1caff'},
27
+ },
28
+ red: {
29
+ light: {30: '#8a0011', 35: '#9e0015', 55: '#de4745', 65: '#fa6762', 70: '#ff7f77', 80: '#ffaea7', 85: '#ffc4be'},
30
+ dark: {25: '#5b2b28', 65: '#ee736c', 75: '#ff9890', 80: '#ffaea7', 85: '#ffc4be'},
31
+ },
32
+ yellow: {
33
+ light: {30: '#584400', 40: '#745b00', 65: '#c29900', 75: '#e2b623', 80: '#eec448', 85: '#f8d36a'},
34
+ dark: {25: '#453a1c', 80: '#e3c36c', 90: '#fae19e'},
35
+ },
36
+ teal: {
37
+ light: {30: '#005348', 80: '#90d7c8', 85: '#a9e2d6'},
38
+ dark: {25: '#28413c', 65: '#4fb1a0', 75: '#81c9bb'},
39
+ },
40
+ cyan: {
41
+ dark: {25: '#274046', 65: '#49adc4', 75: '#71c7dd', 80: '#85d5e9', 85: '#9ae2f4'},
42
+ light: {30: '#00505f'},
43
+ },
44
+ pink: {
45
+ light: {30: '#83004b', 70: '#fc78b1', 85: '#ffc0d7'},
46
+ dark: {25: '#572b3d', 75: '#fd92bd', 80: '#ffa9ca'},
47
+ },
48
+ } as const;
49
+
50
+ export default neutralPaletteRefs;