@economic/taco 8.1.2-hanger-base-ui.3 → 8.1.2
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/charts/components/useChartData.cjs +2 -2
- package/dist/charts/components/useChartData.cjs.map +1 -1
- package/dist/charts/components/useChartData.js +2 -2
- package/dist/charts/components/useChartData.js.map +1 -1
- package/dist/components/Backdrop/Backdrop.cjs +1 -1
- package/dist/components/Backdrop/Backdrop.cjs.map +1 -1
- package/dist/components/Backdrop/Backdrop.js +1 -1
- package/dist/components/Backdrop/Backdrop.js.map +1 -1
- package/dist/components/Button/util.cjs +3 -3
- package/dist/components/Button/util.cjs.map +1 -1
- package/dist/components/Button/util.js +3 -3
- package/dist/components/Button/util.js.map +1 -1
- package/dist/components/Card/Card.cjs +1 -1
- package/dist/components/Card/Card.cjs.map +1 -1
- package/dist/components/Card/Card.js +1 -1
- package/dist/components/Card/Card.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.cjs +2 -2
- package/dist/components/Checkbox/Checkbox.cjs.map +1 -1
- package/dist/components/Checkbox/Checkbox.js +2 -2
- package/dist/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/Datepicker/Datepicker.cjs +2 -2
- package/dist/components/Datepicker/Datepicker.cjs.map +1 -1
- package/dist/components/Datepicker/Datepicker.js +2 -2
- package/dist/components/Datepicker/Datepicker.js.map +1 -1
- package/dist/components/Drawer/components/Content.cjs +3 -3
- package/dist/components/Drawer/components/Content.cjs.map +1 -1
- package/dist/components/Drawer/components/Content.js +3 -3
- package/dist/components/Drawer/components/Content.js.map +1 -1
- package/dist/components/Drawer/util.cjs +1 -1
- package/dist/components/Drawer/util.cjs.map +1 -1
- package/dist/components/Drawer/util.js +1 -1
- package/dist/components/Drawer/util.js.map +1 -1
- package/dist/components/Field/Field.cjs +1 -1
- package/dist/components/Field/Field.cjs.map +1 -1
- package/dist/components/Field/Field.js +1 -1
- package/dist/components/Field/Field.js.map +1 -1
- package/dist/components/Hanger/Arrow.cjs +4 -3
- package/dist/components/Hanger/Arrow.cjs.map +1 -1
- package/dist/components/Hanger/Arrow.js +3 -3
- package/dist/components/Hanger/Arrow.js.map +1 -1
- package/dist/components/Hanger/Hanger.cjs +36 -33
- package/dist/components/Hanger/Hanger.cjs.map +1 -1
- package/dist/components/Hanger/Hanger.d.ts +1 -1
- package/dist/components/Hanger/Hanger.js +35 -33
- package/dist/components/Hanger/Hanger.js.map +1 -1
- package/dist/components/Header/Header.cjs +1 -1
- package/dist/components/Header/Header.cjs.map +1 -1
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/components/AgreementSelector.cjs +5 -5
- package/dist/components/Header/components/AgreementSelector.cjs.map +1 -1
- package/dist/components/Header/components/AgreementSelector.js +5 -5
- package/dist/components/Header/components/AgreementSelector.js.map +1 -1
- package/dist/components/Header/components/Button.cjs +1 -1
- package/dist/components/Header/components/Button.cjs.map +1 -1
- package/dist/components/Header/components/Button.js +1 -1
- package/dist/components/Header/components/Button.js.map +1 -1
- package/dist/components/Header/components/Link.cjs +1 -1
- package/dist/components/Header/components/Link.cjs.map +1 -1
- package/dist/components/Header/components/Link.js +1 -1
- package/dist/components/Header/components/Link.js.map +1 -1
- package/dist/components/Header/components/Logo.cjs +1 -1
- package/dist/components/Header/components/Logo.cjs.map +1 -1
- package/dist/components/Header/components/Logo.js +1 -1
- package/dist/components/Header/components/Logo.js.map +1 -1
- package/dist/components/Header/components/MenuButton.cjs +1 -1
- package/dist/components/Header/components/MenuButton.cjs.map +1 -1
- package/dist/components/Header/components/MenuButton.js +1 -1
- package/dist/components/Header/components/MenuButton.js.map +1 -1
- package/dist/components/Header/components/PrimaryNavigation.cjs +1 -1
- package/dist/components/Header/components/PrimaryNavigation.cjs.map +1 -1
- package/dist/components/Header/components/PrimaryNavigation.js +1 -1
- package/dist/components/Header/components/PrimaryNavigation.js.map +1 -1
- package/dist/components/HoverCard/HoverCard.cjs +2 -2
- package/dist/components/HoverCard/HoverCard.cjs.map +1 -1
- package/dist/components/HoverCard/HoverCard.js +2 -2
- package/dist/components/HoverCard/HoverCard.js.map +1 -1
- package/dist/components/Input/util.cjs +7 -7
- package/dist/components/Input/util.cjs.map +1 -1
- package/dist/components/Input/util.js +7 -7
- package/dist/components/Input/util.js.map +1 -1
- package/dist/components/Layout/components/Sidebar.cjs +2 -2
- package/dist/components/Layout/components/Sidebar.cjs.map +1 -1
- package/dist/components/Layout/components/Sidebar.js +2 -2
- package/dist/components/Layout/components/Sidebar.js.map +1 -1
- package/dist/components/Menu/components/Item.cjs +1 -1
- package/dist/components/Menu/components/Item.cjs.map +1 -1
- package/dist/components/Menu/components/Item.js +1 -1
- package/dist/components/Menu/components/Item.js.map +1 -1
- package/dist/components/Navigation2/Navigation2.cjs +1 -1
- package/dist/components/Navigation2/Navigation2.cjs.map +1 -1
- package/dist/components/Navigation2/Navigation2.js +1 -1
- package/dist/components/Navigation2/Navigation2.js.map +1 -1
- package/dist/components/Navigation2/components/Content.cjs +1 -1
- package/dist/components/Navigation2/components/Content.cjs.map +1 -1
- package/dist/components/Navigation2/components/Content.js +1 -1
- package/dist/components/Navigation2/components/Content.js.map +1 -1
- package/dist/components/Navigation2/components/Group.cjs +1 -1
- package/dist/components/Navigation2/components/Group.cjs.map +1 -1
- package/dist/components/Navigation2/components/Group.js +1 -1
- package/dist/components/Navigation2/components/Group.js.map +1 -1
- package/dist/components/Navigation2/components/Link.cjs +1 -1
- package/dist/components/Navigation2/components/Link.cjs.map +1 -1
- package/dist/components/Navigation2/components/Link.js +1 -1
- package/dist/components/Navigation2/components/Link.js.map +1 -1
- package/dist/components/Navigation2/components/Section.cjs +1 -1
- package/dist/components/Navigation2/components/Section.cjs.map +1 -1
- package/dist/components/Navigation2/components/Section.js +1 -1
- package/dist/components/Navigation2/components/Section.js.map +1 -1
- package/dist/components/SearchInput2/SearchInput2.cjs +4 -4
- package/dist/components/SearchInput2/SearchInput2.cjs.map +1 -1
- package/dist/components/SearchInput2/SearchInput2.js +4 -4
- package/dist/components/SearchInput2/SearchInput2.js.map +1 -1
- package/dist/components/Select/useSelect.cjs.map +1 -1
- package/dist/components/Select/useSelect.d.ts +2 -2
- package/dist/components/Select/useSelect.js.map +1 -1
- package/dist/components/Select2/Select2.cjs +1 -1
- package/dist/components/Select2/Select2.cjs.map +1 -1
- package/dist/components/Select2/Select2.js +1 -1
- package/dist/components/Select2/Select2.js.map +1 -1
- package/dist/components/Select2/components/Option.cjs +1 -1
- package/dist/components/Select2/components/Option.cjs.map +1 -1
- package/dist/components/Select2/components/Option.js +1 -1
- package/dist/components/Select2/components/Option.js.map +1 -1
- package/dist/components/Select2/utilities.cjs +2 -2
- package/dist/components/Select2/utilities.cjs.map +1 -1
- package/dist/components/Select2/utilities.js +2 -2
- package/dist/components/Select2/utilities.js.map +1 -1
- package/dist/components/Shortcut/Shortcut.cjs +1 -1
- package/dist/components/Shortcut/Shortcut.cjs.map +1 -1
- package/dist/components/Shortcut/Shortcut.js +1 -1
- package/dist/components/Shortcut/Shortcut.js.map +1 -1
- package/dist/components/Switch/Switch.cjs +2 -2
- package/dist/components/Switch/Switch.cjs.map +1 -1
- package/dist/components/Switch/Switch.js +2 -2
- package/dist/components/Switch/Switch.js.map +1 -1
- package/dist/components/Table/components/BaseTable.cjs +1 -1
- package/dist/components/Table/components/BaseTable.cjs.map +1 -1
- package/dist/components/Table/components/BaseTable.js +1 -1
- package/dist/components/Table/components/BaseTable.js.map +1 -1
- package/dist/components/Table/util/renderRow.cjs +2 -2
- package/dist/components/Table/util/renderRow.cjs.map +1 -1
- package/dist/components/Table/util/renderRow.js +2 -2
- package/dist/components/Table/util/renderRow.js.map +1 -1
- package/dist/components/Table3/components/Row/Editing/CreateNewRow.cjs +1 -1
- package/dist/components/Table3/components/Row/Editing/CreateNewRow.cjs.map +1 -1
- package/dist/components/Table3/components/Row/Editing/CreateNewRow.js +1 -1
- package/dist/components/Table3/components/Row/Editing/CreateNewRow.js.map +1 -1
- package/dist/components/Table3/components/Row/Editing/TemporaryRow.cjs +1 -1
- package/dist/components/Table3/components/Row/Editing/TemporaryRow.cjs.map +1 -1
- package/dist/components/Table3/components/Row/Editing/TemporaryRow.js +1 -1
- package/dist/components/Table3/components/Row/Editing/TemporaryRow.js.map +1 -1
- package/dist/components/Table3/components/Toolbar/Editing/Editing.cjs +1 -1
- package/dist/components/Table3/components/Toolbar/Editing/Editing.cjs.map +1 -1
- package/dist/components/Table3/components/Toolbar/Editing/Editing.js +1 -1
- package/dist/components/Table3/components/Toolbar/Editing/Editing.js.map +1 -1
- package/dist/components/Tabs/components/TabList.cjs +1 -1
- package/dist/components/Tabs/components/TabList.cjs.map +1 -1
- package/dist/components/Tabs/components/TabList.js +1 -1
- package/dist/components/Tabs/components/TabList.js.map +1 -1
- package/dist/components/Tabs/components/Trigger.cjs +1 -1
- package/dist/components/Tabs/components/Trigger.cjs.map +1 -1
- package/dist/components/Tabs/components/Trigger.js +1 -1
- package/dist/components/Tabs/components/Trigger.js.map +1 -1
- package/dist/components/Tag/Tag.cjs +1 -1
- package/dist/components/Tag/Tag.cjs.map +1 -1
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/Tag/Tag.js.map +1 -1
- package/dist/components/Toast/Toast.cjs +4 -4
- package/dist/components/Toast/Toast.cjs.map +1 -1
- package/dist/components/Toast/Toast.js +4 -4
- package/dist/components/Toast/Toast.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.cjs +4 -4
- package/dist/components/Tooltip/Tooltip.cjs.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +4 -4
- package/dist/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/taco.css +63 -79
- package/dist/tailwind.colors.cjs +156 -95
- package/dist/tailwind.colors.cjs.map +1 -1
- package/dist/tailwind.colors.js +156 -95
- package/dist/tailwind.colors.js.map +1 -1
- package/dist/utils/tailwind.cjs +26 -26
- package/dist/utils/tailwind.cjs.map +1 -1
- package/dist/utils/tailwind.js +26 -26
- package/dist/utils/tailwind.js.map +1 -1
- package/package.json +6 -5
- package/tailwind.colors.js +206 -95
- package/tailwind.config.js +10 -45
package/dist/taco.css
CHANGED
|
@@ -170,7 +170,7 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
.wcag-transparent {
|
|
173
|
-
@apply bg-black
|
|
173
|
+
@apply bg-black-subtle text-black;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
@keyframes fade-in {
|
|
@@ -232,11 +232,11 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
[data-taco='calendar'] .rdp-day_button {
|
|
235
|
-
@apply hover:wcag-gray-
|
|
235
|
+
@apply hover:wcag-gray-100 focus:yt-focus flex h-10 w-10 cursor-pointer items-center justify-center rounded-full;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
[data-taco='calendar'] .rdp-selected .rdp-day_button {
|
|
239
|
-
@apply wcag-gray-
|
|
239
|
+
@apply wcag-gray-100;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
[data-taco='calendar'] .rdp-footer {
|
|
@@ -257,7 +257,7 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
257
257
|
.DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover,
|
|
258
258
|
[data-taco='calendar'] .DayPicker-Day--highlighted,
|
|
259
259
|
[data-taco='calendar'] .DayPicker-Day--selected {
|
|
260
|
-
@apply wcag-gray-
|
|
260
|
+
@apply wcag-gray-100;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
[data-taco='calendar'] .calendar-caption {
|
|
@@ -281,11 +281,11 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
[data-taco='scrollable-list']:not([readonly]) li:not([disabled]):hover {
|
|
284
|
-
@apply wcag-gray-
|
|
284
|
+
@apply wcag-gray-100;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
[data-taco='scrollable-list']:not([readonly]) li:not([disabled]):hover [data-taco='icon'] {
|
|
288
|
-
@apply wcag-gray-
|
|
288
|
+
@apply wcag-gray-100;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
[data-taco='scrollable-list'] li:focus,
|
|
@@ -364,30 +364,10 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
364
364
|
stroke: theme('colors.white');
|
|
365
365
|
}
|
|
366
366
|
|
|
367
|
-
.yt-yellow-solid svg circle {
|
|
368
|
-
stroke: theme('colors.black');
|
|
369
|
-
}
|
|
370
|
-
|
|
371
367
|
.yt-blue-inverted svg circle {
|
|
372
368
|
stroke: theme('colors.blue.500');
|
|
373
369
|
}
|
|
374
370
|
|
|
375
|
-
.yt-yellow-inverted svg circle {
|
|
376
|
-
stroke: theme('colors.yellow.500');
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
.yt-red-inverted svg circle {
|
|
380
|
-
stroke: theme('colors.red.500');
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.yt-green-inverted svg circle {
|
|
384
|
-
stroke: theme('colors.green.500');
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
.yt-gray-inverted svg circle {
|
|
388
|
-
stroke: theme('colors.gray.700');
|
|
389
|
-
}
|
|
390
|
-
|
|
391
371
|
[class*='wcag-'] svg circle,
|
|
392
372
|
[class*='text-'] svg circle {
|
|
393
373
|
stroke: currentColor;
|
|
@@ -438,9 +418,13 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
438
418
|
@apply mt-6;
|
|
439
419
|
}
|
|
440
420
|
[data-taco='hanger'] a {
|
|
441
|
-
@apply text-gray-
|
|
421
|
+
@apply text-gray-50 underline;
|
|
442
422
|
}
|
|
443
423
|
|
|
424
|
+
[data-taco='hanger'] a:hover {
|
|
425
|
+
@apply text-gray-100;
|
|
426
|
+
}
|
|
427
|
+
|
|
444
428
|
[data-taco='hanger'] > *:last-child {
|
|
445
429
|
@apply mb-0;
|
|
446
430
|
}
|
|
@@ -449,7 +433,7 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
449
433
|
}
|
|
450
434
|
|
|
451
435
|
[data-taco='list-item'] {
|
|
452
|
-
@apply flex w-full items-center gap-x-3 rounded-lg border border-gray-
|
|
436
|
+
@apply flex w-full items-center gap-x-3 rounded-lg border border-gray-100 bg-white p-3 text-left;
|
|
453
437
|
}
|
|
454
438
|
|
|
455
439
|
[data-taco='list-item']:focus-visible {
|
|
@@ -457,7 +441,7 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
457
441
|
}
|
|
458
442
|
|
|
459
443
|
[data-taco='list-item']:not([aria-disabled]):hover {
|
|
460
|
-
@apply cursor-pointer bg-
|
|
444
|
+
@apply cursor-pointer bg-gray-50;
|
|
461
445
|
}
|
|
462
446
|
|
|
463
447
|
[data-taco='list-item'][aria-disabled] {
|
|
@@ -473,7 +457,7 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
473
457
|
}
|
|
474
458
|
|
|
475
459
|
[data-taco='list-item-collapsible'] > div {
|
|
476
|
-
@apply rounded-b-lg border border-t-0 border-gray-
|
|
460
|
+
@apply rounded-b-lg border border-t-0 border-gray-100 bg-white p-3;
|
|
477
461
|
}
|
|
478
462
|
|
|
479
463
|
/* Stack the trigger above the panel so the full box-shadow stays visible. */
|
|
@@ -587,14 +571,14 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
587
571
|
/* Radio button indicator */
|
|
588
572
|
[data-taco='radio-group'] > label::before {
|
|
589
573
|
content: '';
|
|
590
|
-
@apply mt-[0.2rem] flex h-4 w-4 flex-shrink-0 items-center justify-center self-start rounded-full border-2 border-gray-
|
|
574
|
+
@apply mt-[0.2rem] flex h-4 w-4 flex-shrink-0 items-center justify-center self-start rounded-full border-2 border-gray-200 bg-white;
|
|
591
575
|
}
|
|
592
576
|
/* Add focus ring when focused */
|
|
593
577
|
[data-taco='radio-group'] > label::before[data-focus-visible='true'] {
|
|
594
578
|
@apply ring-2 ring-blue-500 ring-offset-2;
|
|
595
579
|
}
|
|
596
580
|
[data-taco='radio-group'] > label::before:not([data-disabled]):not([data-readonly]):not([data-invalid]):not([data-selected]):hover {
|
|
597
|
-
@apply border-gray-
|
|
581
|
+
@apply border-gray-300;
|
|
598
582
|
}
|
|
599
583
|
[data-taco='radio-group'] > label::before:not([data-disabled]):not([data-readonly]):hover {
|
|
600
584
|
@apply border-4;
|
|
@@ -622,7 +606,7 @@ table[data-taco^='table'] {
|
|
|
622
606
|
/* z-indexes & layout */
|
|
623
607
|
@apply relative isolate h-full w-full grow overflow-auto;
|
|
624
608
|
/* styling */
|
|
625
|
-
@apply rounded border border-gray-
|
|
609
|
+
@apply rounded border border-gray-100 bg-white outline-none;
|
|
626
610
|
/* grid */
|
|
627
611
|
@apply grid;
|
|
628
612
|
/* print */
|
|
@@ -641,7 +625,7 @@ table[data-taco^='table'] thead {
|
|
|
641
625
|
/* header column separator */
|
|
642
626
|
|
|
643
627
|
table[data-taco^='table'] thead:hover th:not(:last-child):after {
|
|
644
|
-
@apply absolute bottom-2 right-0 top-2 w-px bg-gray-
|
|
628
|
+
@apply absolute bottom-2 right-0 top-2 w-px bg-gray-100 content-[''];
|
|
645
629
|
}
|
|
646
630
|
|
|
647
631
|
table[data-taco^='table'] thead tr:first-child {
|
|
@@ -657,17 +641,17 @@ table[data-taco^='table'] thead tr:first-child th:last-child {
|
|
|
657
641
|
}
|
|
658
642
|
|
|
659
643
|
table[data-taco^='table'] thead tr:last-child {
|
|
660
|
-
@apply border-b-2 border-gray-
|
|
644
|
+
@apply border-b-2 border-gray-100;
|
|
661
645
|
}
|
|
662
646
|
|
|
663
647
|
/* bottom border for column groups */
|
|
664
648
|
|
|
665
649
|
table[data-taco^='table'] thead tr:not(:last-child) th {
|
|
666
|
-
@apply print:border-b print:border-gray-
|
|
650
|
+
@apply print:border-b print:border-gray-100;
|
|
667
651
|
}
|
|
668
652
|
|
|
669
653
|
table[data-taco^='table'] thead tr:not(:last-child) th:before {
|
|
670
|
-
@apply absolute bottom-0 left-2 right-2 h-[2px] bg-gray-
|
|
654
|
+
@apply absolute bottom-0 left-2 right-2 h-[2px] bg-gray-50 content-[''];
|
|
671
655
|
}
|
|
672
656
|
|
|
673
657
|
table[data-taco^='table'] tfoot {
|
|
@@ -710,7 +694,7 @@ table[data-taco^='table'] tr:last-child th:before {
|
|
|
710
694
|
/* row groups */
|
|
711
695
|
|
|
712
696
|
table[data-taco^='table'] tr[data-row-group] {
|
|
713
|
-
@apply sticky top-[calc((var(--table-header-group-depth)_-_1)_*_40px_+_42px)] z-30 bg-gray-
|
|
697
|
+
@apply sticky top-[calc((var(--table-header-group-depth)_-_1)_*_40px_+_42px)] z-30 bg-gray-50;
|
|
714
698
|
}
|
|
715
699
|
|
|
716
700
|
/* Only apply -mt-px when the row group header is sticked to the top of the table.
|
|
@@ -735,7 +719,7 @@ table[data-taco^='table'] tr[aria-grabbed='true'] td {
|
|
|
735
719
|
}
|
|
736
720
|
|
|
737
721
|
table[data-taco^='table'] tr[data-row-dragged-over='true'] td {
|
|
738
|
-
@apply !bg-gray-
|
|
722
|
+
@apply !bg-gray-50;
|
|
739
723
|
}
|
|
740
724
|
|
|
741
725
|
table[data-taco^='table'] tr:hover > td[data-cell-id='__actions'] {
|
|
@@ -746,11 +730,11 @@ table[data-taco^='table'] th {
|
|
|
746
730
|
/* layout */
|
|
747
731
|
@apply relative flex h-10 items-center justify-start px-[var(--table-cell-padding-x)];
|
|
748
732
|
/* styling */
|
|
749
|
-
@apply border-gray-
|
|
733
|
+
@apply border-gray-100 bg-white font-bold;
|
|
750
734
|
}
|
|
751
735
|
|
|
752
736
|
table[data-taco^='table'] th:not([data-cell-placeholder='true']):hover {
|
|
753
|
-
@apply bg-gray-
|
|
737
|
+
@apply bg-gray-50;
|
|
754
738
|
}
|
|
755
739
|
|
|
756
740
|
table[data-taco^='table'] th[aria-sort]:hover {
|
|
@@ -761,7 +745,7 @@ table[data-taco^='table'] td {
|
|
|
761
745
|
/* layout */
|
|
762
746
|
@apply flex justify-start px-[var(--table-cell-padding-x)] pt-[var(--table-cell-padding-y)];
|
|
763
747
|
/* styling */
|
|
764
|
-
@apply border-b border-gray-
|
|
748
|
+
@apply border-b border-gray-100 bg-white outline-none;
|
|
765
749
|
/* word breaking */
|
|
766
750
|
@apply break-word hyphens-auto whitespace-pre-line;
|
|
767
751
|
}
|
|
@@ -826,7 +810,7 @@ table[data-taco^='table'] td:not([data-cell-truncate='true']) {
|
|
|
826
810
|
/* FOOTER */
|
|
827
811
|
|
|
828
812
|
table[data-taco^='table'] tfoot tr {
|
|
829
|
-
@apply border-t-2 border-gray-
|
|
813
|
+
@apply border-t-2 border-gray-100;
|
|
830
814
|
}
|
|
831
815
|
|
|
832
816
|
table[data-taco^='table'] tfoot tr:not([data-row-index]) td {
|
|
@@ -1305,46 +1289,46 @@ table[data-taco^='table'] > tbody > tr:not([data-row-selected]) > td {
|
|
|
1305
1289
|
table[data-taco^='table'] > tbody > tr:not([data-row-selected]):hover > td,
|
|
1306
1290
|
table[data-taco^='table'] > tbody > tr:not([data-row-selected])[data-row-active] > td,
|
|
1307
1291
|
table[data-taco^='table'] > tbody > tr:not([data-row-selected])[data-row-group] > td {
|
|
1308
|
-
--table-row-actions-shadow: theme(colors.gray.
|
|
1309
|
-
@apply bg-gray-
|
|
1292
|
+
--table-row-actions-shadow: theme(colors.gray.50);
|
|
1293
|
+
@apply bg-gray-50 print:bg-white;
|
|
1310
1294
|
}
|
|
1311
1295
|
/* search highlighting */
|
|
1312
1296
|
table[data-taco^='table'] > tbody > tr:not([data-row-selected]) > td[data-cell-highlighted='true'] {
|
|
1313
|
-
--table-row-actions-shadow:
|
|
1314
|
-
@apply !bg-
|
|
1297
|
+
--table-row-actions-shadow: theme(colors.gray.50);
|
|
1298
|
+
@apply !bg-gray-50;
|
|
1315
1299
|
}
|
|
1316
1300
|
table[data-taco^='table'] > tbody > tr:not([data-row-selected]) > td[data-cell-highlighted='current'] {
|
|
1317
|
-
--table-row-actions-shadow:
|
|
1318
|
-
@apply !bg-
|
|
1301
|
+
--table-row-actions-shadow: theme(colors.blue.50);
|
|
1302
|
+
@apply !bg-blue-50;
|
|
1319
1303
|
}
|
|
1320
1304
|
/* selected rows */
|
|
1321
1305
|
table[data-taco^='table'] > tbody > tr[data-row-selected] > td {
|
|
1322
|
-
@apply bg-blue-
|
|
1306
|
+
@apply bg-blue-50;
|
|
1323
1307
|
}
|
|
1324
1308
|
table[data-taco^='table'] > tbody > tr[data-row-selected]:hover > td,
|
|
1325
1309
|
table[data-taco^='table'] > tbody > tr[data-row-selected][data-row-active] > td,
|
|
1326
1310
|
table[data-taco^='table'] > tbody > tr[data-row-selected][data-row-group] > td {
|
|
1327
|
-
--table-row-actions-shadow:
|
|
1328
|
-
@apply bg-
|
|
1311
|
+
--table-row-actions-shadow: theme(colors.blue.50);
|
|
1312
|
+
@apply bg-blue-50;
|
|
1329
1313
|
}
|
|
1330
1314
|
/* search highlighting */
|
|
1331
1315
|
table[data-taco^='table'] > tbody > tr[data-row-selected] > td[data-cell-highlighted] {
|
|
1332
|
-
--table-row-actions-shadow:
|
|
1333
|
-
@apply !bg-
|
|
1316
|
+
--table-row-actions-shadow: theme(colors.blue.50);
|
|
1317
|
+
@apply !bg-blue-50;
|
|
1334
1318
|
}
|
|
1335
1319
|
|
|
1336
1320
|
/* normal rows */
|
|
1337
1321
|
|
|
1338
1322
|
table[data-taco^='table']:focus-within > tbody > tr:not([data-row-selected])[data-row-active] > td {
|
|
1339
|
-
--table-row-actions-shadow: theme(colors.gray.
|
|
1340
|
-
@apply bg-gray-
|
|
1323
|
+
--table-row-actions-shadow: theme(colors.gray.50);
|
|
1324
|
+
@apply bg-gray-50;
|
|
1341
1325
|
}
|
|
1342
1326
|
|
|
1343
1327
|
/* selected rows */
|
|
1344
1328
|
|
|
1345
1329
|
table[data-taco^='table']:focus-within > tbody > tr[data-row-selected][data-row-active] > td {
|
|
1346
|
-
--table-row-actions-shadow:
|
|
1347
|
-
@apply bg-
|
|
1330
|
+
--table-row-actions-shadow: theme(colors.blue.50);
|
|
1331
|
+
@apply bg-blue-50;
|
|
1348
1332
|
}
|
|
1349
1333
|
|
|
1350
1334
|
/* normal rows */
|
|
@@ -1355,20 +1339,20 @@ table[data-taco^='table'][data-table-pause-hover='true'] > tbody > tr:hover:not(
|
|
|
1355
1339
|
}
|
|
1356
1340
|
|
|
1357
1341
|
table[data-taco^='table'][data-table-pause-hover='true'] > tbody > tr:hover:not([data-row-selected])[data-row-active] > td {
|
|
1358
|
-
--table-row-actions-shadow: theme(colors.gray.
|
|
1359
|
-
@apply bg-gray-
|
|
1342
|
+
--table-row-actions-shadow: theme(colors.gray.50);
|
|
1343
|
+
@apply bg-gray-50;
|
|
1360
1344
|
}
|
|
1361
1345
|
|
|
1362
1346
|
/* selected rows */
|
|
1363
1347
|
|
|
1364
1348
|
table[data-taco^='table'][data-table-pause-hover='true'] > tbody > tr:hover[data-row-selected]:not([data-row-active]) > td {
|
|
1365
|
-
--table-row-actions-shadow: theme(colors.blue.
|
|
1366
|
-
@apply bg-blue-
|
|
1349
|
+
--table-row-actions-shadow: theme(colors.blue.50);
|
|
1350
|
+
@apply bg-blue-50;
|
|
1367
1351
|
}
|
|
1368
1352
|
|
|
1369
1353
|
table[data-taco^='table'][data-table-pause-hover='true'] > tbody > tr:hover[data-row-selected][data-row-active] > td {
|
|
1370
|
-
--table-row-actions-shadow:
|
|
1371
|
-
@apply bg-
|
|
1354
|
+
--table-row-actions-shadow: theme(colors.blue.50);
|
|
1355
|
+
@apply bg-blue-50;
|
|
1372
1356
|
}
|
|
1373
1357
|
|
|
1374
1358
|
/* row metadata */
|
|
@@ -1398,7 +1382,7 @@ table[data-taco='table3'][data-table-editing-mode='detailed'] td [data-taco='tex
|
|
|
1398
1382
|
}
|
|
1399
1383
|
|
|
1400
1384
|
table[data-taco='table3'] td:focus {
|
|
1401
|
-
@apply rounded-sm ring-2 ring-inset ring-
|
|
1385
|
+
@apply rounded-sm ring-2 ring-inset ring-blue-500;
|
|
1402
1386
|
}
|
|
1403
1387
|
|
|
1404
1388
|
table[data-taco='table3'] [data-taco='checkbox'][data-focus='programmatic']:focus {
|
|
@@ -1408,7 +1392,7 @@ table[data-taco='table3'] [data-taco='checkbox'][data-focus='programmatic']:focu
|
|
|
1408
1392
|
table[data-taco='table3'][data-table-editing-mode] tbody tr:not([data-row-active='true']):hover td [data-taco='input'],
|
|
1409
1393
|
table[data-taco='table3'][data-table-editing-mode] tbody tr:not([data-row-active='true']):hover td [data-taco='textarea'],
|
|
1410
1394
|
table[data-taco='table3'][data-table-editing-mode] tbody tr:not([data-row-active='true']):hover td [data-taco='Select2'] {
|
|
1411
|
-
@apply bg-gray-
|
|
1395
|
+
@apply bg-gray-50;
|
|
1412
1396
|
}
|
|
1413
1397
|
|
|
1414
1398
|
table[data-taco='table3'][data-table-editing-mode] tbody tr:not([data-row-active='true']):hover td [data-taco='switch'] {
|
|
@@ -1459,8 +1443,8 @@ table[data-taco='table3'] > tbody > tr[data-row-editing-invalid='true'] > td,
|
|
|
1459
1443
|
table[data-taco='table3']:focus-within > tbody > tr[data-row-editing-invalid='true']:not([data-row-selected]):not([data-row-active]) > td,
|
|
1460
1444
|
table[data-taco='table3'][data-table-pause-hover='true'] > tbody > tr[data-row-editing-invalid='true'] > td,
|
|
1461
1445
|
table[data-taco='table3'][data-table-pause-hover='true'] > tbody > tr[data-row-editing-invalid='true']:not([data-row-selected]):not([data-row-active]) > td {
|
|
1462
|
-
--table-row-actions-shadow:
|
|
1463
|
-
@apply bg-
|
|
1446
|
+
--table-row-actions-shadow: theme(colors.red.50);
|
|
1447
|
+
@apply bg-red-100;
|
|
1464
1448
|
}
|
|
1465
1449
|
|
|
1466
1450
|
table[data-taco='table3'] > tbody > tr[data-row-editing-invalid='true']:hover > td,
|
|
@@ -1472,8 +1456,8 @@ table[data-taco='table3'] > tbody > tr[data-row-editing-invalid='true']:hover >
|
|
|
1472
1456
|
table[data-taco='table3'][data-table-pause-hover='true'] > tbody > tr[data-row-editing-invalid='true']:hover > td,
|
|
1473
1457
|
table[data-taco='table3'][data-table-pause-hover='true'] > tbody > tr[data-row-editing-invalid='true'][data-row-group] > td,
|
|
1474
1458
|
table[data-taco='table3'][data-table-pause-hover='true'] > tbody > tr[data-row-editing-invalid='true']:hover:not([data-row-selected]):not([data-row-active]) > td {
|
|
1475
|
-
--table-row-actions-shadow:
|
|
1476
|
-
@apply bg-
|
|
1459
|
+
--table-row-actions-shadow: theme(colors.red.50);
|
|
1460
|
+
@apply bg-red-50;
|
|
1477
1461
|
}
|
|
1478
1462
|
|
|
1479
1463
|
table[data-taco='table3'] > tbody > tr[data-row-editing-invalid='true'][data-row-active] > td,
|
|
@@ -1489,8 +1473,8 @@ table[data-taco='table3'] > tbody > tr[data-row-editing-invalid='true'][data-row
|
|
|
1489
1473
|
/* search highlighting */
|
|
1490
1474
|
|
|
1491
1475
|
table[data-taco='table3'] > tbody > tr[data-row-editing-invalid='true'] > td[data-cell-highlighted], table[data-taco='table3']:focus-within > tbody > tr[data-row-editing-invalid='true'] > td[data-cell-highlighted], table[data-taco='table3'][data-table-pause-hover='true'] > tbody > tr[data-row-editing-invalid='true'] > td[data-cell-highlighted] {
|
|
1492
|
-
--table-row-actions-shadow:
|
|
1493
|
-
@apply !bg-
|
|
1476
|
+
--table-row-actions-shadow: theme(colors.blue.100);
|
|
1477
|
+
@apply !bg-blue-100;
|
|
1494
1478
|
}
|
|
1495
1479
|
|
|
1496
1480
|
table[data-taco='table3'] > tbody > tr[data-row-editing-invalid='true']:not([data-row-active='true']) td [data-taco='input'],
|
|
@@ -1523,7 +1507,7 @@ table[data-taco^='table'] tr:not([data-row-id^='temp-']) [data-row-move-indicato
|
|
|
1523
1507
|
|
|
1524
1508
|
/* Hiding CreateNewRow using CSS to ensure higher specificity for hiding the row */
|
|
1525
1509
|
table[data-taco^='table'] tr[data-row-create] {
|
|
1526
|
-
@apply border-t-2 border-gray-
|
|
1510
|
+
@apply border-t-2 border-gray-100 print:hidden;
|
|
1527
1511
|
}
|
|
1528
1512
|
table[data-taco^='table'] tr[data-row-create] td {
|
|
1529
1513
|
@apply !h-[41px] !min-h-[41px] items-center !border-0 !p-0;
|
|
@@ -1613,7 +1597,7 @@ table[data-taco='table3'] td[data-taco='save-status'] [data-taco='spinner'] svg
|
|
|
1613
1597
|
}
|
|
1614
1598
|
/* rows */
|
|
1615
1599
|
.yt-table__row {
|
|
1616
|
-
@apply flex border-b border-gray-
|
|
1600
|
+
@apply flex border-b border-gray-100;
|
|
1617
1601
|
min-height: 2.5rem;
|
|
1618
1602
|
}
|
|
1619
1603
|
|
|
@@ -1645,12 +1629,12 @@ table[data-taco='table3'] td[data-taco='save-status'] [data-taco='spinner'] svg
|
|
|
1645
1629
|
}
|
|
1646
1630
|
|
|
1647
1631
|
.yt-table__head .yt-table__head__group .yt-table__cell.yt-table__cell__group {
|
|
1648
|
-
@apply border-b border-gray-
|
|
1632
|
+
@apply border-b border-gray-100;
|
|
1649
1633
|
flex-basis: 100%;
|
|
1650
1634
|
}
|
|
1651
1635
|
|
|
1652
1636
|
.yt-table__head .yt-table__head__group + .yt-table__head__group {
|
|
1653
|
-
@apply border-l border-gray-
|
|
1637
|
+
@apply border-l border-gray-100;
|
|
1654
1638
|
}
|
|
1655
1639
|
|
|
1656
1640
|
.yt-table__head .yt-table__cell > [data-taco='icon'] {
|
|
@@ -1658,7 +1642,7 @@ table[data-taco='table3'] td[data-taco='save-status'] [data-taco='spinner'] svg
|
|
|
1658
1642
|
}
|
|
1659
1643
|
|
|
1660
1644
|
.yt-table__head .yt-table__cell.yt-table__cell__group + .yt-table__cell__group {
|
|
1661
|
-
@apply border-l-2 border-gray-
|
|
1645
|
+
@apply border-l-2 border-gray-100;
|
|
1662
1646
|
}
|
|
1663
1647
|
|
|
1664
1648
|
.yt-table.yt-table--windowed.table-with-scrollbar .yt-table__head {
|
|
@@ -1682,7 +1666,7 @@ table[data-taco='table3'] td[data-taco='save-status'] [data-taco='spinner'] svg
|
|
|
1682
1666
|
}
|
|
1683
1667
|
|
|
1684
1668
|
.yt-table__body .yt-table__row.yt-table__row--active {
|
|
1685
|
-
@apply wcag-gray-
|
|
1669
|
+
@apply wcag-gray-100;
|
|
1686
1670
|
}
|
|
1687
1671
|
|
|
1688
1672
|
.yt-table__body .yt-table__row.yt-table__row--dragging,
|
|
@@ -1692,7 +1676,7 @@ table[data-taco='table3'] td[data-taco='save-status'] [data-taco='spinner'] svg
|
|
|
1692
1676
|
|
|
1693
1677
|
/* edit */
|
|
1694
1678
|
.yt-table__body .yt-table__row.yt-table__row--editing {
|
|
1695
|
-
@apply border-t border-gray-
|
|
1679
|
+
@apply border-t border-gray-100;
|
|
1696
1680
|
}
|
|
1697
1681
|
|
|
1698
1682
|
.yt-table__body .yt-table__row.yt-table__row--editing,
|
package/dist/tailwind.colors.cjs
CHANGED
|
@@ -1,104 +1,165 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
const tokens = require("@economic/taco-tokens/tokens");
|
|
3
|
+
const LEGACY_BROWN = {
|
|
4
|
+
100: "#EEE0DA",
|
|
5
|
+
// Used in Badge component
|
|
6
|
+
300: "#C4AB9E",
|
|
7
|
+
// Client: Used in paymentcards
|
|
8
|
+
500: "#93715D",
|
|
9
|
+
// Client: Used in paymentcards, invoicing dashboard
|
|
10
|
+
700: "#73503B",
|
|
11
|
+
// Client: Used in paymentcards, invoicing dashboard
|
|
12
|
+
900: "#45291F"
|
|
13
|
+
// Used in Badge component
|
|
14
|
+
};
|
|
15
|
+
const LEGACY_ORANGE = {
|
|
16
|
+
100: "#FFE3BB",
|
|
17
|
+
// Used in Badge component
|
|
18
|
+
300: "#FAB64D",
|
|
19
|
+
// Client: Used in paymentcards, workflows
|
|
20
|
+
500: "#F99702",
|
|
21
|
+
// Client: Used in Avatar component
|
|
22
|
+
700: "#EF7D00",
|
|
23
|
+
// Client: Used in paymentcards
|
|
24
|
+
900: "#4A2811"
|
|
25
|
+
// Used in Badge component
|
|
26
|
+
};
|
|
27
|
+
const BLACK_SUBTLE_ALPHA = 7;
|
|
28
|
+
const BLACK_SUBTLE = `color-mix(in oklab, ${tokens.neutralColors.tacoNeutralBlack} ${BLACK_SUBTLE_ALPHA}%, transparent)`;
|
|
29
|
+
const WHITE_SUBTLE_ALPHA = 8;
|
|
30
|
+
const WHITE_SUBTLE = `color-mix(in oklab, ${tokens.neutralColors.tacoNeutralWhite} ${WHITE_SUBTLE_ALPHA}%, transparent)`;
|
|
31
|
+
const assignTokenShades = (source, rows) => {
|
|
32
|
+
const out = {};
|
|
33
|
+
for (const [tokenKey, family, shade] of rows) {
|
|
34
|
+
const value = source[tokenKey];
|
|
35
|
+
if (value === void 0) {
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
if (!out[family]) {
|
|
39
|
+
out[family] = {};
|
|
40
|
+
}
|
|
41
|
+
out[family][shade] = value;
|
|
42
|
+
}
|
|
43
|
+
return out;
|
|
44
|
+
};
|
|
45
|
+
const PRIMARY_MAP = [
|
|
46
|
+
["tacoBlue50", "blue", 50],
|
|
47
|
+
["tacoBlue100", "blue", 100],
|
|
48
|
+
["tacoBlue200", "blue", 200],
|
|
49
|
+
["tacoBlue300", "blue", 300],
|
|
50
|
+
["tacoBlue500", "blue", 500],
|
|
51
|
+
["tacoBlue700", "blue", 700],
|
|
52
|
+
["tacoBlue900", "blue", 900],
|
|
53
|
+
["tacoGray50", "gray", 50],
|
|
54
|
+
["tacoGray100", "gray", 100],
|
|
55
|
+
["tacoGray200", "gray", 200],
|
|
56
|
+
["tacoGray300", "gray", 300],
|
|
57
|
+
["tacoGray500", "gray", 500],
|
|
58
|
+
["tacoGray700", "gray", 700],
|
|
59
|
+
["tacoGray900", "gray", 900]
|
|
60
|
+
];
|
|
61
|
+
const SECONDARY_MAP = [
|
|
62
|
+
["tacoRed50", "red", 50],
|
|
63
|
+
["tacoRed100", "red", 100],
|
|
64
|
+
["tacoRed200", "red", 200],
|
|
65
|
+
["tacoRed300", "red", 300],
|
|
66
|
+
["tacoRed500", "red", 500],
|
|
67
|
+
["tacoRed700", "red", 700],
|
|
68
|
+
["tacoRed900", "red", 900],
|
|
69
|
+
["tacoYellow50", "yellow", 50],
|
|
70
|
+
["tacoYellow100", "yellow", 100],
|
|
71
|
+
["tacoYellow200", "yellow", 200],
|
|
72
|
+
["tacoYellow300", "yellow", 300],
|
|
73
|
+
["tacoYellow500", "yellow", 500],
|
|
74
|
+
["tacoYellow700", "yellow", 700],
|
|
75
|
+
["tacoYellow900", "yellow", 900],
|
|
76
|
+
["tacoGreen50", "green", 50],
|
|
77
|
+
["tacoGreen100", "green", 100],
|
|
78
|
+
["tacoGreen200", "green", 200],
|
|
79
|
+
["tacoGreen300", "green", 300],
|
|
80
|
+
["tacoGreen500", "green", 500],
|
|
81
|
+
["tacoGreen700", "green", 700],
|
|
82
|
+
["tacoGreen900", "green", 900]
|
|
83
|
+
];
|
|
84
|
+
const TERTIARY_MAP = [
|
|
85
|
+
["tacoPink50", "pink", 50],
|
|
86
|
+
["tacoPink100", "pink", 100],
|
|
87
|
+
["tacoPink200", "pink", 200],
|
|
88
|
+
["tacoPink300", "pink", 300],
|
|
89
|
+
["tacoPink500", "pink", 500],
|
|
90
|
+
["tacoPink700", "pink", 700],
|
|
91
|
+
["tacoPink900", "pink", 900],
|
|
92
|
+
["tacoPurple50", "purple", 50],
|
|
93
|
+
["tacoPurple100", "purple", 100],
|
|
94
|
+
["tacoPurple200", "purple", 200],
|
|
95
|
+
["tacoPurple300", "purple", 300],
|
|
96
|
+
["tacoPurple500", "purple", 500],
|
|
97
|
+
["tacoPurple700", "purple", 700],
|
|
98
|
+
["tacoPurple900", "purple", 900]
|
|
99
|
+
];
|
|
100
|
+
const NEUTRAL_MAP = [
|
|
101
|
+
["tacoNeutralWhite", "neutral", "white"],
|
|
102
|
+
["tacoNeutralBlack", "neutral", "black"]
|
|
103
|
+
];
|
|
104
|
+
const fromPrimary = assignTokenShades(tokens.primaryColors, PRIMARY_MAP);
|
|
105
|
+
const fromSecondary = assignTokenShades(tokens.secondaryColors, SECONDARY_MAP);
|
|
106
|
+
const fromTertiary = assignTokenShades(tokens.tertiaryColors, TERTIARY_MAP);
|
|
107
|
+
const fromNeutral = assignTokenShades(tokens.neutralColors, NEUTRAL_MAP);
|
|
108
|
+
const mergeFamilies = (...parts) => {
|
|
109
|
+
const merged = {};
|
|
110
|
+
for (const part of parts) {
|
|
111
|
+
for (const [family, shades] of Object.entries(part)) {
|
|
112
|
+
merged[family] = { ...merged[family], ...shades };
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
return merged;
|
|
116
|
+
};
|
|
117
|
+
const palette = mergeFamilies(fromPrimary, fromSecondary, fromTertiary, fromNeutral);
|
|
118
|
+
palette.blue = {
|
|
119
|
+
DEFAULT: tokens.primaryColors.tacoBlue500,
|
|
120
|
+
...palette.blue
|
|
121
|
+
};
|
|
122
|
+
palette.red = {
|
|
123
|
+
DEFAULT: tokens.secondaryColors.tacoRed500,
|
|
124
|
+
...palette.red
|
|
125
|
+
};
|
|
126
|
+
palette.green = {
|
|
127
|
+
DEFAULT: tokens.secondaryColors.tacoGreen500,
|
|
128
|
+
...palette.green
|
|
129
|
+
};
|
|
130
|
+
palette.yellow = {
|
|
131
|
+
DEFAULT: tokens.secondaryColors.tacoYellow500,
|
|
132
|
+
...palette.yellow
|
|
133
|
+
};
|
|
134
|
+
palette.gray = {
|
|
135
|
+
DEFAULT: tokens.primaryColors.tacoGray50,
|
|
136
|
+
...palette.gray
|
|
137
|
+
};
|
|
2
138
|
const THEME_COLORS = {
|
|
3
139
|
transparent: "transparent",
|
|
4
140
|
current: "currentColor",
|
|
5
|
-
white:
|
|
6
|
-
black:
|
|
141
|
+
white: tokens.neutralColors.tacoNeutralWhite,
|
|
142
|
+
black: tokens.neutralColors.tacoNeutralBlack,
|
|
143
|
+
"black-subtle": BLACK_SUBTLE,
|
|
144
|
+
"white-subtle": WHITE_SUBTLE,
|
|
7
145
|
brand: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
coolBlue: "#F5F7F9"
|
|
146
|
+
morning: tokens.brandColors.tacoBrandMorning,
|
|
147
|
+
noon: tokens.brandColors.tacoBrandNoon,
|
|
148
|
+
sunset: tokens.brandColors.tacoBrandSunset,
|
|
149
|
+
midnight: tokens.brandColors.tacoBrandMidnight
|
|
13
150
|
},
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
50: "#fafafa",
|
|
27
|
-
100: "#F6F6F6",
|
|
28
|
-
200: "#EBEBEB",
|
|
29
|
-
300: "#DDDDDD",
|
|
30
|
-
500: "#ACACAC",
|
|
31
|
-
700: "#595959",
|
|
32
|
-
900: "#303030"
|
|
33
|
-
},
|
|
34
|
-
purple: {
|
|
35
|
-
100: "#EEE5FF",
|
|
36
|
-
200: "#ddd1ff",
|
|
37
|
-
300: "#CBBCFE",
|
|
38
|
-
500: "#9270FA",
|
|
39
|
-
700: "#6542D1",
|
|
40
|
-
900: "#412970"
|
|
41
|
-
},
|
|
42
|
-
blue: {
|
|
43
|
-
DEFAULT: "#4573D2",
|
|
44
|
-
100: "#DEEBFF",
|
|
45
|
-
200: "#AACCFF",
|
|
46
|
-
300: "#75A0F5",
|
|
47
|
-
500: "#4573D2",
|
|
48
|
-
700: "#2B57B4",
|
|
49
|
-
900: "#29283E"
|
|
50
|
-
},
|
|
51
|
-
red: {
|
|
52
|
-
DEFAULT: "#CE3F42",
|
|
53
|
-
100: "#FFDAD2",
|
|
54
|
-
200: "#f3a09d",
|
|
55
|
-
300: "#E66568",
|
|
56
|
-
500: "#CE3F42",
|
|
57
|
-
700: "#950027",
|
|
58
|
-
900: "#64001B"
|
|
59
|
-
},
|
|
60
|
-
green: {
|
|
61
|
-
DEFAULT: "#08AE87",
|
|
62
|
-
100: "#cdf0e7",
|
|
63
|
-
200: "#9be1ce",
|
|
64
|
-
300: "#52C7AB",
|
|
65
|
-
500: "#08AE87",
|
|
66
|
-
700: "#028465",
|
|
67
|
-
900: "#14493A"
|
|
68
|
-
},
|
|
69
|
-
yellow: {
|
|
70
|
-
DEFAULT: "#FFBD3B",
|
|
71
|
-
100: "#FFF1C3",
|
|
72
|
-
200: "#ffe494",
|
|
73
|
-
300: "#FFD665",
|
|
74
|
-
500: "#FFBD3B",
|
|
75
|
-
700: "#e89c2e",
|
|
76
|
-
900: "#733700"
|
|
77
|
-
},
|
|
78
|
-
pink: {
|
|
79
|
-
100: "#FFE3F7",
|
|
80
|
-
200: "#fcb9e9",
|
|
81
|
-
300: "#F98EDB",
|
|
82
|
-
500: "#E165BF",
|
|
83
|
-
700: "#CF49AA",
|
|
84
|
-
900: "#870062"
|
|
85
|
-
},
|
|
86
|
-
brown: {
|
|
87
|
-
100: "#EEE0DA",
|
|
88
|
-
200: "#DFCCC2",
|
|
89
|
-
300: "#C4AB9E",
|
|
90
|
-
500: "#93715D",
|
|
91
|
-
700: "#73503B",
|
|
92
|
-
900: "#45291F"
|
|
93
|
-
},
|
|
94
|
-
orange: {
|
|
95
|
-
100: "#FFE3BB",
|
|
96
|
-
200: "#FCCB80",
|
|
97
|
-
300: "#FAB64D",
|
|
98
|
-
500: "#F99702",
|
|
99
|
-
700: "#EF7D00",
|
|
100
|
-
900: "#4A2811"
|
|
101
|
-
}
|
|
151
|
+
/** Alias for `gray` — supports both spellings in className strings. */
|
|
152
|
+
grey: { ...palette.gray },
|
|
153
|
+
gray: palette.gray,
|
|
154
|
+
neutral: palette.neutral,
|
|
155
|
+
purple: palette.purple,
|
|
156
|
+
blue: palette.blue,
|
|
157
|
+
red: palette.red,
|
|
158
|
+
green: palette.green,
|
|
159
|
+
yellow: palette.yellow,
|
|
160
|
+
pink: palette.pink,
|
|
161
|
+
brown: LEGACY_BROWN,
|
|
162
|
+
orange: LEGACY_ORANGE
|
|
102
163
|
};
|
|
103
164
|
module.exports = THEME_COLORS;
|
|
104
165
|
//# sourceMappingURL=tailwind.colors.cjs.map
|