@xenide-io/the-old-ui-theme 0.2.6 → 0.3.0

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 (126) hide show
  1. package/README.md +1 -1
  2. package/dist/chunk-FDMD3IIN.mjs +3831 -0
  3. package/dist/index-D1RTT2Ap.d.mts +1044 -0
  4. package/dist/index-D1RTT2Ap.d.ts +1044 -0
  5. package/dist/index.d.mts +11 -758
  6. package/dist/index.d.ts +11 -758
  7. package/dist/index.js +1749 -768
  8. package/dist/index.mjs +312 -2846
  9. package/dist/tailwind-preset.js +7 -0
  10. package/dist/tailwind-preset.mjs +7 -0
  11. package/dist/ui.d.mts +4 -0
  12. package/dist/ui.d.ts +4 -0
  13. package/dist/ui.js +3864 -0
  14. package/dist/ui.mjs +169 -0
  15. package/package.json +28 -6
  16. package/src/app/globals.css +1005 -227
  17. package/src/components/charts/index.ts +8 -0
  18. package/src/components/charts/ph-insight-charts.tsx +162 -0
  19. package/src/components/dashboard/DashboardFiltersBar.tsx +19 -0
  20. package/src/components/dashboard/DashboardGrid.tsx +23 -0
  21. package/src/components/dashboard/DashboardInsightPlaceholder.tsx +37 -0
  22. package/src/components/dashboard/DashboardKpiCard.tsx +25 -0
  23. package/src/components/dashboard/DashboardToolbar.tsx +23 -0
  24. package/src/components/dashboard/DashboardWell.tsx +10 -0
  25. package/src/components/dashboard/InsightMiniCard.tsx +26 -0
  26. package/src/components/dashboard/InsightShell.tsx +37 -0
  27. package/src/components/dashboard/InsightShellHeader.tsx +22 -0
  28. package/src/components/dashboard/MiniTrendBars.tsx +51 -0
  29. package/src/components/dashboard/index.ts +31 -0
  30. package/src/components/dashboard/types.ts +9 -0
  31. package/src/components/icons/IconBase.tsx +47 -0
  32. package/src/components/icons/createIconBase.tsx +32 -0
  33. package/src/components/icons/icons.tsx +557 -0
  34. package/src/components/icons/index.ts +3 -0
  35. package/src/components/sections/AccordionShowcase.tsx +45 -0
  36. package/src/components/sections/AlertShowcase.tsx +40 -0
  37. package/src/components/sections/AvatarShowcase.tsx +80 -0
  38. package/src/components/sections/BadgeShowcase.tsx +65 -0
  39. package/src/components/sections/ButtonShowcase.tsx +308 -0
  40. package/src/components/sections/CalendarShowcase.tsx +35 -0
  41. package/src/components/sections/CardShowcase.tsx +159 -0
  42. package/src/components/sections/ChartShowcase.tsx +190 -0
  43. package/src/components/sections/CodeMockupShowcase.tsx +56 -0
  44. package/src/components/sections/ColorPalette.tsx +117 -0
  45. package/src/components/sections/CommandPaletteShowcase.tsx +48 -0
  46. package/src/components/sections/CountdownShowcase.tsx +43 -0
  47. package/src/components/sections/DashboardShowcase.tsx +191 -0
  48. package/src/components/sections/DiffShowcase.tsx +70 -0
  49. package/src/components/sections/DrawerShowcase.tsx +97 -0
  50. package/src/components/sections/DropdownShowcase.tsx +98 -0
  51. package/src/components/sections/EmptyStateShowcase.tsx +50 -0
  52. package/src/components/sections/FilterChipsShowcase.tsx +98 -0
  53. package/src/components/sections/FormShowcase.tsx +127 -0
  54. package/src/components/sections/HoverCardShowcase.tsx +50 -0
  55. package/src/components/sections/IconShowcase.tsx +127 -0
  56. package/src/components/sections/IndicatorShowcase.tsx +52 -0
  57. package/src/components/sections/KbdShowcase.tsx +57 -0
  58. package/src/components/sections/ModalShowcase.tsx +211 -0
  59. package/src/components/sections/NavigationShowcase.tsx +199 -0
  60. package/src/components/sections/ProductLayoutsShowcase.tsx +138 -0
  61. package/src/components/sections/ProgressShowcase.tsx +82 -0
  62. package/src/components/sections/SegmentedControlShowcase.tsx +49 -0
  63. package/src/components/sections/SetupThemeShowcase.tsx +262 -0
  64. package/src/components/sections/StackShowcase.tsx +33 -0
  65. package/src/components/sections/StatShowcase.tsx +129 -0
  66. package/src/components/sections/StepperShowcase.tsx +37 -0
  67. package/src/components/sections/SwapShowcase.tsx +99 -0
  68. package/src/components/sections/TabShowcase.tsx +84 -0
  69. package/src/components/sections/TableShowcase.tsx +140 -0
  70. package/src/components/sections/TimelineShowcase.tsx +83 -0
  71. package/src/components/sections/ToastShowcase.tsx +108 -0
  72. package/src/components/sections/TooltipShowcase.tsx +44 -0
  73. package/src/components/sections/UtilityShowcase.tsx +81 -0
  74. package/src/components/ui/Accordion.tsx +77 -0
  75. package/src/components/ui/Alert.tsx +77 -0
  76. package/src/components/ui/AuthLayout.tsx +58 -0
  77. package/src/components/ui/Avatar.tsx +97 -0
  78. package/src/components/ui/Badge.tsx +60 -0
  79. package/src/components/ui/Button.tsx +120 -0
  80. package/src/components/ui/ButtonChrome.tsx +20 -0
  81. package/src/components/ui/Calendar.tsx +115 -0
  82. package/src/components/ui/Card.tsx +70 -0
  83. package/src/components/ui/ChatBubble.tsx +71 -0
  84. package/src/components/ui/CodeBlock.tsx +48 -0
  85. package/src/components/ui/CollapsibleSection.tsx +49 -0
  86. package/src/components/ui/CommandPalette.tsx +137 -0
  87. package/src/components/ui/ComponentDocs.tsx +52 -0
  88. package/src/components/ui/Drawer.tsx +71 -0
  89. package/src/components/ui/DropdownMenu.tsx +262 -0
  90. package/src/components/ui/EmptyState.tsx +33 -0
  91. package/src/components/ui/FilterBar.tsx +165 -0
  92. package/src/components/ui/FilterChips.tsx +80 -0
  93. package/src/components/ui/FilterControls.tsx +30 -0
  94. package/src/components/ui/FormField.tsx +69 -0
  95. package/src/components/ui/HoverCard.tsx +36 -0
  96. package/src/components/ui/Indicator.tsx +61 -0
  97. package/src/components/ui/Input.tsx +385 -0
  98. package/src/components/ui/Kbd.tsx +113 -0
  99. package/src/components/ui/Loader.tsx +96 -0
  100. package/src/components/ui/Modal.tsx +105 -0
  101. package/src/components/ui/Navigation.tsx +94 -0
  102. package/src/components/ui/Panel.tsx +18 -0
  103. package/src/components/ui/Progress.tsx +59 -0
  104. package/src/components/ui/Rating.tsx +65 -0
  105. package/src/components/ui/SearchInput.tsx +106 -0
  106. package/src/components/ui/SegmentedControl.tsx +44 -0
  107. package/src/components/ui/SettingsLayout.tsx +94 -0
  108. package/src/components/ui/ShowcaseWrapper.tsx +124 -0
  109. package/src/components/ui/Stat.tsx +39 -0
  110. package/src/components/ui/Stepper.tsx +74 -0
  111. package/src/components/ui/Table.tsx +55 -0
  112. package/src/components/ui/Tabs.tsx +53 -0
  113. package/src/components/ui/Terminal.tsx +54 -0
  114. package/src/components/ui/ThemeDomSync.tsx +17 -0
  115. package/src/components/ui/ThemeManager.tsx +18 -0
  116. package/src/components/ui/ThemeSwitcher.tsx +46 -0
  117. package/src/components/ui/Timeline.tsx +60 -0
  118. package/src/components/ui/Toast.tsx +70 -0
  119. package/src/components/ui/Typography.tsx +129 -0
  120. package/src/components/ui/first-slice.test.tsx +98 -0
  121. package/src/components/ui/index.ts +151 -0
  122. package/src/components/ui/interaction-primitives.test.tsx +77 -0
  123. package/src/components/ui/kbd-icons.test.tsx +90 -0
  124. package/src/components/ui/product-patterns.test.tsx +77 -0
  125. package/src/styles/themes.css +528 -0
  126. package/tailwind-preset.ts +7 -0
@@ -63,6 +63,24 @@
63
63
  --ph-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236b6b6b' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
64
64
  }
65
65
 
66
+ :root:not([data-theme]),
67
+ [data-theme="hedgehog-light"] {
68
+ --ph-surface-inset: hsl(70 16% 93%);
69
+ --ph-surface-raised: #ffffff;
70
+ --ph-surface-overlay: #ffffff;
71
+ --ph-border-subtle: hsl(75 14% 90%);
72
+ --ph-on-accent: #211108;
73
+ --ph-on-violet: #ffffff;
74
+ --ph-on-success: #071b10;
75
+ --ph-on-warning: #1c1504;
76
+ --ph-on-danger: #ffffff;
77
+ --ph-on-info: #ffffff;
78
+ --ph-focus-ring: hsl(217deg 90% 52%);
79
+ --ph-selected-bg: hsl(19deg 100% 95%);
80
+ --ph-selected-text: hsl(19deg 88% 30%);
81
+ --ph-selected-border: hsl(19deg 90% 58%);
82
+ }
83
+
66
84
  [data-theme="hedgehog-dark"] {
67
85
  color-scheme: dark;
68
86
 
@@ -70,7 +88,11 @@
70
88
  --ph-surface: hsl(220 10% 13%);
71
89
  --ph-muted: hsl(220 9% 16%);
72
90
  --ph-toolbar: hsl(220 8% 19%);
91
+ --ph-surface-inset: hsl(220 12% 10%);
92
+ --ph-surface-raised: hsl(220 9% 16%);
93
+ --ph-surface-overlay: hsl(220 8% 18%);
73
94
  --ph-border: hsl(220 7% 24%);
95
+ --ph-border-subtle: hsl(220 8% 19%);
74
96
  --ph-border-strong: hsl(220 6% 38%);
75
97
 
76
98
  --ph-text-primary: hsl(0 0% 96%);
@@ -87,6 +109,16 @@
87
109
  --ph-warning: hsl(43deg 85% 52%);
88
110
  --ph-danger: hsl(9deg 65% 55%);
89
111
  --ph-info: hsl(217deg 85% 58%);
112
+ --ph-on-accent: hsl(220 14% 8%);
113
+ --ph-on-violet: hsl(220 14% 8%);
114
+ --ph-on-success: hsl(220 14% 8%);
115
+ --ph-on-warning: hsl(220 14% 8%);
116
+ --ph-on-danger: hsl(220 14% 8%);
117
+ --ph-on-info: hsl(220 14% 8%);
118
+ --ph-focus-ring: hsl(217deg 95% 72%);
119
+ --ph-selected-bg: hsl(19deg 70% 18%);
120
+ --ph-selected-text: hsl(19deg 100% 72%);
121
+ --ph-selected-border: hsl(19deg 90% 55%);
90
122
 
91
123
  --ph-text-3000: hsl(0 0% 96%);
92
124
  --ph-primary-button-face: hsl(220 10% 15%);
@@ -1332,3 +1364,499 @@
1332
1364
 
1333
1365
  --ph-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23908caa' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
1334
1366
  }
1367
+
1368
+ [data-theme="notion"] {
1369
+ color-scheme: light;
1370
+
1371
+ --ph-canvas: #ffffff;
1372
+ --ph-surface: #f7f6f3;
1373
+ --ph-muted: #f0efeb;
1374
+ --ph-toolbar: #ebe9e4;
1375
+ --ph-border: #e2e1dd;
1376
+ --ph-border-strong: #c4c3bf;
1377
+
1378
+ --ph-text-primary: #37352f;
1379
+ --ph-text-secondary: #6b6b6b;
1380
+ --ph-text-tertiary: #9b9a97;
1381
+
1382
+ --ph-accent: #2f7cf6;
1383
+ --ph-accent-hover: #2160d4;
1384
+ --ph-blue: #2f7cf6;
1385
+ --ph-violet: #6940a5;
1386
+ --ph-purple: #6940a5;
1387
+
1388
+ --ph-success: #0f7b6c;
1389
+ --ph-warning: #dfab00;
1390
+ --ph-danger: #e03e3e;
1391
+ --ph-info: #2f7cf6;
1392
+
1393
+ --ph-text-3000: #37352f;
1394
+ --ph-primary-button-face: #ffffff;
1395
+ --ph-primary-button-border: #2160d4;
1396
+ --ph-primary-button-border-hover: #1a4fa8;
1397
+ --ph-primary-frame-bg: #2f7cf6;
1398
+ --ph-secondary-button-bg: #ffffff;
1399
+ --ph-secondary-frame-bg: #f0efeb;
1400
+ --ph-secondary-button-border: #e2e1dd;
1401
+ --ph-secondary-button-border-hover: #c4c3bf;
1402
+
1403
+ --ph-border-3000: #e2e1dd;
1404
+ --ph-chrome-inset-face-top: inset 0 1px 0 hsl(0deg 0% 100% / 0.95);
1405
+ --ph-chrome-inset-face-bottom: inset 0 -1px 0 hsl(0deg 0% 0% / 0.06);
1406
+ --ph-accent-highlight-secondary: hsla(220deg 100% 56% / 10%);
1407
+
1408
+ --ph-data-1: #2f7cf6;
1409
+ --ph-data-2: #6940a5;
1410
+ --ph-data-3: #dfab00;
1411
+ --ph-data-4: #0f7b6c;
1412
+ --ph-data-5: #e03e3e;
1413
+ --ph-data-6: #d9730d;
1414
+ --ph-data-7: #ad1a72;
1415
+
1416
+ --ph-product-session-replay: #dfab00;
1417
+ --ph-product-product-analytics: #2f7cf6;
1418
+ --ph-product-data-pipeline: #0f7b6c;
1419
+ --ph-product-feature-flags: #6940a5;
1420
+ --ph-product-experiments: #e03e3e;
1421
+ --ph-product-data-warehouse: #d9730d;
1422
+ --ph-product-surveys: #ad1a72;
1423
+
1424
+ --ph-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239b9a97' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
1425
+ }
1426
+
1427
+ [data-theme="notion-dark"] {
1428
+ color-scheme: dark;
1429
+
1430
+ --ph-canvas: #191919;
1431
+ --ph-surface: #212121;
1432
+ --ph-muted: #2a2a2a;
1433
+ --ph-toolbar: #333333;
1434
+ --ph-border: #373737;
1435
+ --ph-border-strong: #4a4a4a;
1436
+
1437
+ --ph-text-primary: #ffffff;
1438
+ --ph-text-secondary: #cdcdcd;
1439
+ --ph-text-tertiary: #6b6b6b;
1440
+
1441
+ --ph-accent: #4a9eff;
1442
+ --ph-accent-hover: #3381e6;
1443
+ --ph-blue: #4a9eff;
1444
+ --ph-violet: #a06cd5;
1445
+ --ph-purple: #a06cd5;
1446
+
1447
+ --ph-success: #45c4a0;
1448
+ --ph-warning: #eac54f;
1449
+ --ph-danger: #f15e5e;
1450
+ --ph-info: #4a9eff;
1451
+
1452
+ --ph-text-3000: #191919;
1453
+ --ph-primary-button-face: #ffffff;
1454
+ --ph-primary-button-border: #3381e6;
1455
+ --ph-primary-button-border-hover: #2663b8;
1456
+ --ph-primary-frame-bg: #4a9eff;
1457
+ --ph-secondary-button-bg: #2a2a2a;
1458
+ --ph-secondary-frame-bg: #333333;
1459
+ --ph-secondary-button-border: #373737;
1460
+ --ph-secondary-button-border-hover: #4a4a4a;
1461
+
1462
+ --ph-border-3000: #333333;
1463
+ --ph-chrome-inset-face-top: inset 0 1px 0 hsl(0deg 0% 100% / 0.06);
1464
+ --ph-chrome-inset-face-bottom: inset 0 -1px 0 hsl(0deg 0% 0% / 0.4);
1465
+ --ph-accent-highlight-secondary: hsla(215deg 100% 65% / 14%);
1466
+
1467
+ --ph-data-1: #4a9eff;
1468
+ --ph-data-2: #a06cd5;
1469
+ --ph-data-3: #eac54f;
1470
+ --ph-data-4: #45c4a0;
1471
+ --ph-data-5: #f15e5e;
1472
+ --ph-data-6: #f5a623;
1473
+ --ph-data-7: #d355a0;
1474
+
1475
+ --ph-product-session-replay: #eac54f;
1476
+ --ph-product-product-analytics: #4a9eff;
1477
+ --ph-product-data-pipeline: #45c4a0;
1478
+ --ph-product-feature-flags: #a06cd5;
1479
+ --ph-product-experiments: #f15e5e;
1480
+ --ph-product-data-warehouse: #f5a623;
1481
+ --ph-product-surveys: #d355a0;
1482
+
1483
+ --ph-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236b6b6b' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
1484
+ }
1485
+
1486
+ /* Tokyo Night Day — soft bluish greys with vivid blue and purple accents */
1487
+ [data-theme="deepsea-light"] {
1488
+ color-scheme: light;
1489
+
1490
+ --ph-canvas: #e1e2e7;
1491
+ --ph-surface: #f2f3f8;
1492
+ --ph-muted: #e9eaf1;
1493
+ --ph-toolbar: #d0d5e3;
1494
+ --ph-border: #c4c8da;
1495
+ --ph-border-strong: #a8aecb;
1496
+
1497
+ --ph-text-primary: #343b58;
1498
+ --ph-text-secondary: #6172b0;
1499
+ --ph-text-tertiary: #848cb5;
1500
+
1501
+ /* Tokyo Night blue */
1502
+ --ph-accent: #2e7de9;
1503
+ --ph-accent-hover: #2368c6;
1504
+ --ph-blue: #2e7de9;
1505
+ /* Day magenta */
1506
+ --ph-violet: #9854f1;
1507
+ /* Day purple */
1508
+ --ph-purple: #7847bd;
1509
+
1510
+ /* Day green */
1511
+ --ph-success: #587539;
1512
+ /* Day orange */
1513
+ --ph-warning: #b15c00;
1514
+ /* Day red */
1515
+ --ph-danger: #f52a65;
1516
+ /* Day cyan */
1517
+ --ph-info: #007197;
1518
+
1519
+ --ph-text-3000: #343b58;
1520
+ --ph-primary-button-face: #ffffff;
1521
+ --ph-primary-button-border: #2368c6;
1522
+ --ph-primary-button-border-hover: #1a52a3;
1523
+ --ph-primary-frame-bg: #2e7de9;
1524
+ --ph-secondary-button-bg: #f2f3f8;
1525
+ --ph-secondary-frame-bg: #d0d5e3;
1526
+ --ph-secondary-button-border: #c4c8da;
1527
+ --ph-secondary-button-border-hover: #2e7de9;
1528
+
1529
+ --ph-border-3000: #c4c8da;
1530
+ --ph-chrome-inset-face-top: inset 0 1px 0 hsl(0deg 0% 100% / 0.84);
1531
+ --ph-chrome-inset-face-bottom: inset 0 -1px 0 hsl(0deg 0% 0% / 0.06);
1532
+ --ph-accent-highlight-secondary: hsla(215deg 81% 55% / 12%);
1533
+
1534
+ --ph-data-1: #2e7de9;
1535
+ --ph-data-2: #9854f1;
1536
+ --ph-data-3: #007197;
1537
+ --ph-data-4: #b15c00;
1538
+ --ph-data-5: #587539;
1539
+ --ph-data-6: #f52a65;
1540
+ --ph-data-7: #8c6c3e;
1541
+
1542
+ --ph-product-session-replay: #b15c00;
1543
+ --ph-product-product-analytics: #2e7de9;
1544
+ --ph-product-data-pipeline: #007197;
1545
+ --ph-product-feature-flags: #9854f1;
1546
+ --ph-product-experiments: #f52a65;
1547
+ --ph-product-data-warehouse: #8c6c3e;
1548
+ --ph-product-surveys: #587539;
1549
+
1550
+ --ph-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23848cb5' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
1551
+ }
1552
+
1553
+ /* Tokyo Night — #1a1b26 base with signature blue, cyan, and purple */
1554
+ [data-theme="deepsea-dark"] {
1555
+ color-scheme: dark;
1556
+
1557
+ --ph-canvas: #1a1b26;
1558
+ --ph-surface: #1f2335;
1559
+ --ph-muted: #24283b;
1560
+ --ph-toolbar: #292e42;
1561
+ --ph-border: #3b4261;
1562
+ --ph-border-strong: #565f89;
1563
+
1564
+ --ph-text-primary: #c0caf5;
1565
+ --ph-text-secondary: #a9b1d6;
1566
+ --ph-text-tertiary: #565f89;
1567
+
1568
+ /* Signature blue */
1569
+ --ph-accent: #7aa2f7;
1570
+ --ph-accent-hover: #97b4f9;
1571
+ --ph-blue: #7aa2f7;
1572
+ /* Purple */
1573
+ --ph-violet: #bb9af7;
1574
+ --ph-purple: #9d7cd8;
1575
+
1576
+ /* Green */
1577
+ --ph-success: #9ece6a;
1578
+ /* Yellow */
1579
+ --ph-warning: #e0af68;
1580
+ /* Red */
1581
+ --ph-danger: #f7768e;
1582
+ /* Cyan */
1583
+ --ph-info: #7dcfff;
1584
+
1585
+ --ph-text-3000: #c0caf5;
1586
+ --ph-primary-button-face: #1f2335;
1587
+ --ph-primary-button-border: #3d59a1;
1588
+ --ph-primary-button-border-hover: #7aa2f7;
1589
+ --ph-primary-frame-bg: #7aa2f7;
1590
+ --ph-secondary-button-bg: #24283b;
1591
+ --ph-secondary-frame-bg: #3b4261;
1592
+ --ph-secondary-button-border: #414868;
1593
+ --ph-secondary-button-border-hover: #565f89;
1594
+
1595
+ --ph-border-3000: #292e42;
1596
+ --ph-chrome-inset-face-top: inset 0 1px 0 hsl(0deg 0% 100% / 0.07);
1597
+ --ph-chrome-inset-face-bottom: inset 0 -1px 0 hsl(0deg 0% 0% / 0.4);
1598
+ --ph-accent-highlight-secondary: hsla(221deg 89% 72% / 16%);
1599
+
1600
+ --ph-data-1: #7aa2f7;
1601
+ --ph-data-2: #bb9af7;
1602
+ --ph-data-3: #7dcfff;
1603
+ --ph-data-4: #e0af68;
1604
+ --ph-data-5: #9ece6a;
1605
+ --ph-data-6: #f7768e;
1606
+ --ph-data-7: #ff9e64;
1607
+
1608
+ --ph-product-session-replay: #e0af68;
1609
+ --ph-product-product-analytics: #7aa2f7;
1610
+ --ph-product-data-pipeline: #7dcfff;
1611
+ --ph-product-feature-flags: #bb9af7;
1612
+ --ph-product-experiments: #f7768e;
1613
+ --ph-product-data-warehouse: #ff9e64;
1614
+ --ph-product-surveys: #9ece6a;
1615
+
1616
+ --ph-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23565f89' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
1617
+ }
1618
+
1619
+ /* Kraken Light — Medium-inspired paper, editorial ink, and publication green. */
1620
+ [data-theme="kraken-light"] {
1621
+ color-scheme: light;
1622
+
1623
+ --ph-canvas: #f7f4ed;
1624
+ --ph-surface: #ffffff;
1625
+ --ph-muted: #f2f2f2;
1626
+ --ph-toolbar: #e8e8e6;
1627
+ --ph-surface-inset: #f2f2f2;
1628
+ --ph-surface-raised: #ffffff;
1629
+ --ph-surface-overlay: #ffffff;
1630
+ --ph-border: #e2e2df;
1631
+ --ph-border-subtle: #ededeb;
1632
+ --ph-border-strong: #a8a8a3;
1633
+
1634
+ --ph-text-primary: #242424;
1635
+ --ph-text-secondary: #4f4f4f;
1636
+ --ph-text-tertiary: #6b6b6b;
1637
+
1638
+ --ph-accent: #242424;
1639
+ --ph-accent-hover: #000000;
1640
+ --ph-blue: #437aff;
1641
+ --ph-violet: #ffc017;
1642
+ --ph-purple: #e6ad15;
1643
+
1644
+ --ph-success: #1a8917;
1645
+ --ph-warning: #b26a00;
1646
+ --ph-danger: #c7463a;
1647
+ --ph-info: #1769aa;
1648
+ --ph-on-accent: #ffffff;
1649
+ --ph-on-violet: #242424;
1650
+ --ph-on-success: #ffffff;
1651
+ --ph-on-warning: #050505;
1652
+ --ph-on-danger: #ffffff;
1653
+ --ph-on-info: #ffffff;
1654
+ --ph-focus-ring: #242424;
1655
+ --ph-selected-bg: #f2f2f2;
1656
+ --ph-selected-text: #242424;
1657
+ --ph-selected-border: #8b8b86;
1658
+
1659
+ --ph-text-3000: #ffffff;
1660
+ --ph-primary-button-face: #242424;
1661
+ --ph-primary-button-border: #171717;
1662
+ --ph-primary-button-border-hover: #000000;
1663
+ --ph-primary-frame-bg: #000000;
1664
+ --ph-secondary-button-bg: #ffffff;
1665
+ --ph-secondary-frame-bg: #d7d7d4;
1666
+ --ph-secondary-button-border: #b7b7b2;
1667
+ --ph-secondary-button-border-hover: #777772;
1668
+
1669
+ --ph-border-3000: #d7d7d4;
1670
+ --ph-chrome-inset-face-top: inset 0 1px 0 hsl(0deg 0% 100% / 0.9);
1671
+ --ph-chrome-inset-face-bottom: inset 0 -1px 0 hsl(0deg 0% 0% / 0.06);
1672
+ --ph-accent-highlight-secondary: rgb(36 36 36 / 8%);
1673
+
1674
+ --ph-data-1: #242424;
1675
+ --ph-data-2: #ffc017;
1676
+ --ph-data-3: #437aff;
1677
+ --ph-data-4: #00838f;
1678
+ --ph-data-5: #b26a00;
1679
+ --ph-data-6: #c7463a;
1680
+ --ph-data-7: #ad1457;
1681
+
1682
+ --ph-product-session-replay: #b26a00;
1683
+ --ph-product-product-analytics: #1769aa;
1684
+ --ph-product-data-pipeline: #00838f;
1685
+ --ph-product-feature-flags: #ffc017;
1686
+ --ph-product-experiments: #437aff;
1687
+ --ph-product-data-warehouse: #7b5e3b;
1688
+ --ph-product-surveys: #c7463a;
1689
+
1690
+ --ph-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236b6b6b' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
1691
+ }
1692
+
1693
+ /* Kraken Dark — Medium-inspired night reading canvas and soft editorial contrast. */
1694
+ [data-theme="kraken-dark"] {
1695
+ color-scheme: dark;
1696
+
1697
+ --ph-canvas: #191919;
1698
+ --ph-surface: #222222;
1699
+ --ph-muted: #292929;
1700
+ --ph-toolbar: #323232;
1701
+ --ph-surface-inset: #1d1d1d;
1702
+ --ph-surface-raised: #262626;
1703
+ --ph-surface-overlay: #2b2b2b;
1704
+ --ph-border: #3a3a3a;
1705
+ --ph-border-subtle: #303030;
1706
+ --ph-border-strong: #686868;
1707
+
1708
+ --ph-text-primary: #f2f2f2;
1709
+ --ph-text-secondary: #c4c4c4;
1710
+ --ph-text-tertiary: #929292;
1711
+
1712
+ --ph-accent: #f2f2f2;
1713
+ --ph-accent-hover: #ffffff;
1714
+ --ph-blue: #7da3ff;
1715
+ --ph-violet: #ffc017;
1716
+ --ph-purple: #ffcd45;
1717
+
1718
+ --ph-success: #1a8917;
1719
+ --ph-warning: #e0a34a;
1720
+ --ph-danger: #c7463a;
1721
+ --ph-info: #1769aa;
1722
+ --ph-on-accent: #191919;
1723
+ --ph-on-violet: #242424;
1724
+ --ph-on-success: #ffffff;
1725
+ --ph-on-warning: #211606;
1726
+ --ph-on-danger: #ffffff;
1727
+ --ph-on-info: #ffffff;
1728
+ --ph-focus-ring: #f2f2f2;
1729
+ --ph-selected-bg: #333333;
1730
+ --ph-selected-text: #ffffff;
1731
+ --ph-selected-border: #858585;
1732
+
1733
+ --ph-text-3000: #191919;
1734
+ --ph-primary-button-face: #f2f2f2;
1735
+ --ph-primary-button-border: #d6d6d6;
1736
+ --ph-primary-button-border-hover: #ffffff;
1737
+ --ph-primary-frame-bg: #a9a9a9;
1738
+ --ph-secondary-button-bg: #2b2b2b;
1739
+ --ph-secondary-frame-bg: #414141;
1740
+ --ph-secondary-button-border: #505050;
1741
+ --ph-secondary-button-border-hover: #777777;
1742
+
1743
+ --ph-border-3000: #303030;
1744
+ --ph-chrome-inset-face-top: inset 0 1px 0 hsl(0deg 0% 100% / 0.08);
1745
+ --ph-chrome-inset-face-bottom: inset 0 -1px 0 hsl(0deg 0% 0% / 0.4);
1746
+ --ph-accent-highlight-secondary: rgb(242 242 242 / 10%);
1747
+
1748
+ --ph-data-1: #f2f2f2;
1749
+ --ph-data-2: #ffc017;
1750
+ --ph-data-3: #7da3ff;
1751
+ --ph-data-4: #58c4c7;
1752
+ --ph-data-5: #e0a34a;
1753
+ --ph-data-6: #e77b70;
1754
+ --ph-data-7: #e183ae;
1755
+
1756
+ --ph-product-session-replay: #e0a34a;
1757
+ --ph-product-product-analytics: #6ba7d6;
1758
+ --ph-product-data-pipeline: #58c4c7;
1759
+ --ph-product-feature-flags: #ffc017;
1760
+ --ph-product-experiments: #7da3ff;
1761
+ --ph-product-data-warehouse: #c59a6b;
1762
+ --ph-product-surveys: #e77b70;
1763
+
1764
+ --ph-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23929292' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
1765
+ }
1766
+
1767
+ /* Semantic button contrast is scoped to buttons so other token consumers keep theme-native ink. */
1768
+ :is(
1769
+ [data-theme="hedgehog-dark"],
1770
+ [data-theme="catppuccin-dark"],
1771
+ [data-theme="sheets-dark"],
1772
+ [data-theme="note-dark"],
1773
+ [data-theme="presentation-dark"],
1774
+ [data-theme="socials-dark"],
1775
+ [data-theme="chats-dark"],
1776
+ [data-theme="xenide-dark"],
1777
+ [data-theme="bikini-bottom-dark"],
1778
+ [data-theme="turtletime-dark"],
1779
+ [data-theme="github-dark"],
1780
+ [data-theme="rosepine-dark"],
1781
+ [data-theme="notion-dark"],
1782
+ [data-theme="deepsea-dark"],
1783
+ [data-theme="kraken-dark"]
1784
+ ) {
1785
+ .ph-btn-signal {
1786
+ --ph-btn-face: color-mix(in oklab, var(--ph-accent) 62%, black);
1787
+ --ph-btn-ink: #ffffff;
1788
+ }
1789
+
1790
+ .ph-btn-accent {
1791
+ --ph-btn-face: color-mix(in oklab, var(--ph-violet) 62%, black);
1792
+ --ph-btn-ink: #ffffff;
1793
+ }
1794
+
1795
+ .ph-btn-info {
1796
+ --ph-btn-face: color-mix(in oklab, var(--ph-info) 62%, black);
1797
+ --ph-btn-ink: #ffffff;
1798
+ }
1799
+
1800
+ .ph-btn-success {
1801
+ --ph-btn-face: color-mix(in oklab, var(--ph-success) 62%, black);
1802
+ --ph-btn-ink: #ffffff;
1803
+ }
1804
+
1805
+ .ph-btn-warning {
1806
+ --ph-btn-face: color-mix(in oklab, var(--ph-warning) 62%, black);
1807
+ --ph-btn-ink: #ffffff;
1808
+ }
1809
+
1810
+ .ph-btn-danger {
1811
+ --ph-btn-face: color-mix(in oklab, var(--ph-danger) 62%, black);
1812
+ --ph-btn-ink: #ffffff;
1813
+ }
1814
+ }
1815
+
1816
+ :is(
1817
+ [data-theme="socials"],
1818
+ [data-theme="bikini-bottom"],
1819
+ [data-theme="rosepine-light"],
1820
+ [data-theme="notion"],
1821
+ [data-theme="deepsea-light"],
1822
+ [data-theme="presentation"]
1823
+ ) .ph-btn-signal,
1824
+ :is(
1825
+ [data-theme="socials"],
1826
+ [data-theme="bikini-bottom"],
1827
+ [data-theme="rosepine-light"],
1828
+ [data-theme="deepsea-light"]
1829
+ ) .ph-btn-accent,
1830
+ :is(
1831
+ [data-theme="catppuccin-light"],
1832
+ [data-theme="socials"],
1833
+ [data-theme="xenide-light"],
1834
+ [data-theme="bikini-bottom"],
1835
+ [data-theme="chats-light"]
1836
+ ) .ph-btn-success,
1837
+ :is(
1838
+ [data-theme="xenide-light"],
1839
+ [data-theme="bikini-bottom"],
1840
+ [data-theme="rosepine-light"],
1841
+ [data-theme="notion"],
1842
+ [data-theme="deepsea-light"]
1843
+ ) .ph-btn-danger,
1844
+ :is(
1845
+ [data-theme="socials"],
1846
+ [data-theme="bikini-bottom"],
1847
+ [data-theme="chats-light"],
1848
+ [data-theme="rosepine-light"],
1849
+ [data-theme="notion"]
1850
+ ) .ph-btn-info {
1851
+ --ph-btn-ink: #050505;
1852
+ }
1853
+
1854
+ :is(
1855
+ [data-theme="sheets"],
1856
+ [data-theme="note"],
1857
+ [data-theme="presentation"],
1858
+ [data-theme="github-light"],
1859
+ [data-theme="deepsea-light"]
1860
+ ) .ph-btn-warning {
1861
+ --ph-btn-ink: #ffffff;
1862
+ }
@@ -38,9 +38,13 @@ const posthogThemePreset: Partial<Config> = {
38
38
  ph: {
39
39
  canvas: "var(--ph-canvas)",
40
40
  surface: "var(--ph-surface)",
41
+ inset: "var(--ph-surface-inset)",
42
+ raised: "var(--ph-surface-raised)",
43
+ overlay: "var(--ph-surface-overlay)",
41
44
  muted: "var(--ph-muted)",
42
45
  toolbar: "var(--ph-toolbar)",
43
46
  border: "var(--ph-border)",
47
+ "border-subtle": "var(--ph-border-subtle)",
44
48
  strong: "var(--ph-border-strong)",
45
49
  ink: "var(--ph-text-primary)",
46
50
  subtle: "var(--ph-text-secondary)",
@@ -54,6 +58,9 @@ const posthogThemePreset: Partial<Config> = {
54
58
  warning: "var(--ph-warning)",
55
59
  danger: "var(--ph-danger)",
56
60
  info: "var(--ph-info)",
61
+ selected: "var(--ph-selected-bg)",
62
+ "selected-ink": "var(--ph-selected-text)",
63
+ focus: "var(--ph-focus-ring)",
57
64
  "btn-primary-face": "var(--ph-primary-button-face)",
58
65
  "btn-primary-border": "var(--ph-primary-button-border)",
59
66
  "btn-primary-frame": "var(--ph-primary-frame-bg)",