codexmate 0.1.33 → 0.1.35

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 (91) hide show
  1. package/README.md +27 -2
  2. package/README.vi.md +27 -2
  3. package/README.zh.md +27 -2
  4. package/cli/analytics-export-args.js +7 -0
  5. package/cli/local-bridge.js +10 -6
  6. package/cli/openai-chat-routing.js +38 -0
  7. package/cli/routing-bridge.js +143 -0
  8. package/cli/session-usage.js +4 -1
  9. package/cli/system-prompt-files.js +75 -53
  10. package/cli.js +191 -9
  11. package/lib/data/model-prices.json +1868 -0
  12. package/lib/file-sharing-lan.js +111 -0
  13. package/lib/file-sharing.js +196 -0
  14. package/lib/model-test-client.js +61 -0
  15. package/lib/model-test.js +126 -0
  16. package/lib/routing-groups.js +161 -0
  17. package/lib/session-context-health.js +5 -1
  18. package/lib/session-evidence-collections.js +85 -0
  19. package/lib/session-features.js +15 -0
  20. package/lib/session-project-git.js +65 -0
  21. package/lib/session-projects.js +12 -1
  22. package/lib/session-stories.js +67 -0
  23. package/lib/session-usage-ledger.js +77 -0
  24. package/lib/session-usage-pricing.js +42 -0
  25. package/lib/session-usage-report.js +101 -0
  26. package/package.json +4 -1
  27. package/plugins/file-sharing/manifest.mjs +10 -0
  28. package/plugins/file-sharing/methods.mjs +101 -0
  29. package/plugins/file-sharing/overview.mjs +3 -0
  30. package/plugins/file-sharing/ownership.mjs +5 -0
  31. package/plugins/prompt-templates/computed.mjs +9 -0
  32. package/plugins/registry.mjs +3 -0
  33. package/web-ui/app.js +25 -2
  34. package/web-ui/index.html +3 -2
  35. package/web-ui/logic.session-artifacts.mjs +39 -0
  36. package/web-ui/modules/app.computed.main-tabs.mjs +3 -0
  37. package/web-ui/modules/app.methods.agents.mjs +14 -1
  38. package/web-ui/modules/app.methods.install.mjs +23 -3
  39. package/web-ui/modules/app.methods.navigation.mjs +2 -0
  40. package/web-ui/modules/app.methods.prompts-editor.mjs +7 -4
  41. package/web-ui/modules/app.methods.session-actions.mjs +2 -2
  42. package/web-ui/modules/app.methods.session-browser.mjs +35 -0
  43. package/web-ui/modules/app.methods.system-prompt.mjs +99 -19
  44. package/web-ui/modules/app.methods.theme.mjs +4 -3
  45. package/web-ui/modules/app.methods.web-ui-preferences.mjs +12 -0
  46. package/web-ui/modules/i18n/locales/en.mjs +239 -5
  47. package/web-ui/modules/i18n/locales/ja.mjs +239 -5
  48. package/web-ui/modules/i18n/locales/vi.mjs +239 -5
  49. package/web-ui/modules/i18n/locales/zh-tw.mjs +239 -5
  50. package/web-ui/modules/i18n/locales/zh.mjs +239 -5
  51. package/web-ui/modules/model-test.mjs +82 -0
  52. package/web-ui/modules/plugins.methods.mjs +3 -1
  53. package/web-ui/modules/prompt-ecosystem.methods.mjs +4 -3
  54. package/web-ui/modules/routing.mjs +206 -0
  55. package/web-ui/modules/session-collections.mjs +65 -0
  56. package/web-ui/modules/session-evidence.mjs +81 -0
  57. package/web-ui/modules/session-features.mjs +15 -1
  58. package/web-ui/modules/session-git.mjs +39 -0
  59. package/web-ui/modules/session-stories.mjs +64 -0
  60. package/web-ui/modules/usage-pricing.mjs +30 -0
  61. package/web-ui/partials/index/layout-footer.html +1 -1
  62. package/web-ui/partials/index/layout-header.html +33 -12
  63. package/web-ui/partials/index/modals-basic.html +15 -0
  64. package/web-ui/partials/index/panel-plugins.html +3 -9
  65. package/web-ui/partials/index/panel-prompts.html +13 -7
  66. package/web-ui/partials/index/panel-routing.html +3 -0
  67. package/web-ui/partials/index/panel-sessions.html +20 -20
  68. package/web-ui/partials/index/panel-settings.html +11 -1
  69. package/web-ui/partials/index/panel-usage.html +2 -0
  70. package/web-ui/partials/index/plugin-file-sharing.html +47 -0
  71. package/web-ui/partials/index/routing-model-test.html +53 -0
  72. package/web-ui/partials/index/session-diagnostics.html +7 -4
  73. package/web-ui/partials/index/session-features.html +82 -2
  74. package/web-ui/partials/index/thread-handoff.html +73 -62
  75. package/web-ui/partials/index/usage-records.html +41 -0
  76. package/web-ui/res/web-ui-render.precompiled.js +1378 -230
  77. package/web-ui/styles/base-theme.css +1 -1
  78. package/web-ui/styles/modals-core.css +6 -5
  79. package/web-ui/styles/navigation-panels.css +4 -0
  80. package/web-ui/styles/plugins-panel.css +40 -1
  81. package/web-ui/styles/responsive.css +10 -5
  82. package/web-ui/styles/routing.css +78 -0
  83. package/web-ui/styles/session-features.css +180 -7
  84. package/web-ui/styles/sessions-list.css +74 -0
  85. package/web-ui/styles/sessions-preview.css +106 -68
  86. package/web-ui/styles/sessions-usage.css +8 -0
  87. package/web-ui/styles/settings-panel.css +30 -0
  88. package/web-ui/styles/system-prompt.css +8 -7
  89. package/web-ui/styles/theme-violet-tokens.css +52 -0
  90. package/web-ui/styles/theme-violet.css +1742 -0
  91. package/web-ui/styles.css +2 -0
@@ -353,14 +353,19 @@
353
353
 
354
354
  .session-msg-header {
355
355
  display: flex;
356
- align-items: flex-start;
356
+ align-items: center;
357
357
  justify-content: space-between;
358
358
  gap: var(--spacing-xs);
359
- margin-bottom: 6px;
359
+ margin-bottom: 8px;
360
360
  font-size: var(--font-size-caption);
361
361
  color: var(--color-text-tertiary);
362
362
  }
363
363
 
364
+ .session-msg-header .session-feature-controls {
365
+ /* Use the card padding and body gap to preserve 44px targets in a 28px row. */
366
+ margin-block: -8px;
367
+ }
368
+
364
369
  .session-msg-meta {
365
370
  min-width: 0;
366
371
  flex: 1;
@@ -382,44 +387,55 @@
382
387
  }
383
388
 
384
389
  .session-msg-copy {
385
- position: absolute;
386
- right: 12px;
387
- bottom: 12px;
388
- border: 1px solid var(--color-border-soft);
389
- background: var(--color-surface-alt);
390
- color: var(--color-text-secondary);
391
- width: 24px;
392
- height: 24px;
390
+ /* Reuse the message header's hit-target space without increasing its height. */
391
+ margin-block: -8px;
392
+ margin-inline-end: -8px;
393
+ flex: 0 0 auto;
394
+ width: 44px;
395
+ height: 44px;
396
+ padding: 0;
397
+ border: 0;
393
398
  border-radius: 8px;
394
- display: inline-flex;
395
- align-items: center;
396
- justify-content: center;
399
+ background: transparent;
400
+ color: var(--color-text-secondary);
401
+ display: grid;
402
+ place-items: center;
397
403
  cursor: pointer;
398
- flex-shrink: 0;
399
- transition: all var(--transition-fast) var(--ease-spring);
404
+ transition: color var(--transition-fast) var(--ease-spring), background-color var(--transition-fast) var(--ease-spring);
400
405
  }
401
406
 
402
407
  .session-msg-copy:hover {
403
- border-color: var(--color-brand);
404
- background: var(--color-surface);
408
+ background: var(--color-surface-alt);
405
409
  color: var(--color-brand);
406
- transform: translateY(-1px);
407
410
  }
408
411
 
409
412
  .session-msg-copy:active {
410
- transform: translateY(0);
413
+ background: var(--color-brand-light);
414
+ }
415
+
416
+ .session-msg-copy:focus-visible {
417
+ outline: 2px solid var(--color-brand);
418
+ outline-offset: -2px;
411
419
  }
412
420
 
413
421
  .session-msg-copy svg {
414
- width: 10px;
415
- height: 10px;
422
+ width: 8px;
423
+ height: 8px;
416
424
  }
417
425
 
418
- .session-msg.user .session-msg-content {
419
- padding-right: 36px;
426
+ @media (max-width: 720px) {
427
+ .session-msg.user > .session-msg-header,
428
+ .session-msg.user .session-msg-meta {
429
+ gap: 4px;
430
+ }
431
+
432
+ .session-msg-copy {
433
+ margin-inline-end: -16px;
434
+ }
420
435
  }
421
436
 
422
437
  .session-msg-content {
438
+ border-top: 1px solid var(--color-border-strong);
423
439
  font-size: var(--font-size-secondary);
424
440
  line-height: 1.6;
425
441
  color: var(--color-text-primary);
@@ -793,48 +809,45 @@
793
809
  display: block;
794
810
  padding: 0;
795
811
  border: 0;
796
- border-radius: 12px;
812
+ border-radius: var(--radius-sm);
797
813
  background: var(--color-surface-alt);
798
814
  box-shadow: none;
799
815
  overflow: hidden;
816
+ container: handoff / inline-size;
800
817
  }
801
818
  .thread-handoff-summary {
802
819
  display: flex;
803
820
  align-items: center;
804
- gap: 12px;
821
+ gap: var(--spacing-xs);
805
822
  min-height: 56px;
806
- padding: 12px 20px;
823
+ padding: var(--spacing-sm);
807
824
  cursor: pointer;
808
825
  list-style: none;
809
- font-size: 14px;
826
+ font-size: var(--font-size-large);
810
827
  font-weight: 600;
811
828
  color: var(--color-text-primary);
812
- transition: background 160ms ease;
829
+ transition: background-color 160ms var(--ease-out-expo);
813
830
  }
814
831
  .thread-handoff-summary::-webkit-details-marker { display: none; }
815
832
  .thread-handoff-summary::before {
816
833
  content: '';
817
834
  width: 6px;
818
835
  height: 6px;
836
+ flex-shrink: 0;
819
837
  border-right: 1.5px solid currentColor;
820
838
  border-bottom: 1.5px solid currentColor;
821
839
  transform: rotate(-45deg);
822
- transition: transform 160ms ease;
840
+ transition: transform 160ms var(--ease-out-expo);
823
841
  }
824
842
  .thread-handoff[open] > .thread-handoff-summary::before { transform: rotate(45deg); }
825
- .thread-handoff-summary-hint {
826
- margin-left: auto;
827
- font-size: 12px;
828
- font-weight: 400;
829
- color: var(--color-text-tertiary);
830
- }
831
- .thread-handoff-body { display: grid; gap: 20px; padding: 0 20px 20px; }
832
- .thread-handoff-body .session-workspace-header { align-items: center; }
833
- .thread-handoff-body .session-workspace-subtitle { margin: 0; }
834
- .thread-handoff-form { display: grid; gap: 20px; min-width: 0; }
835
- .thread-handoff-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
836
- .thread-handoff-field .session-workspace-card-title { margin: 0; font-size: 13px; }
837
- .thread-handoff small { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--color-text-tertiary); }
843
+ .thread-handoff-summary-hint { margin-left: auto; font-size: max(14px, var(--font-size-secondary)); font-weight: 400; color: var(--color-text-secondary); }
844
+ .thread-handoff-body { display: grid; gap: var(--spacing-sm); padding: 0 var(--spacing-sm) var(--spacing-sm); min-width: 0; }
845
+ .thread-handoff-body .session-workspace-header { align-items: center; gap: var(--spacing-xs); }
846
+ .thread-handoff-body .session-workspace-subtitle { margin: 0; max-width: 72ch; font-size: max(14px, var(--font-size-secondary)); color: var(--color-text-secondary); line-height: 1.6; }
847
+ .thread-handoff-form { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(0, 1.3fr); gap: var(--spacing-sm); min-width: 0; }
848
+ .thread-handoff-field { display: flex; flex-direction: column; align-self: start; gap: var(--spacing-xs); min-width: 0; }
849
+ .thread-handoff-field .session-workspace-card-title, .thread-handoff-copy .session-workspace-card-title { margin: 0; font-size: max(14px, var(--font-size-secondary)); font-weight: 600; }
850
+ .thread-handoff small { margin-left: var(--spacing-xs); font-size: inherit; font-weight: 400; color: var(--color-text-secondary); }
838
851
  #panel-sessions .thread-handoff .session-query-input {
839
852
  width: 100%;
840
853
  max-width: none;
@@ -842,41 +855,66 @@
842
855
  min-height: 44px;
843
856
  box-sizing: border-box;
844
857
  padding: 12px;
845
- border-radius: 8px;
846
- font-size: 13px;
858
+ border: 1px solid var(--color-border-strong);
859
+ border-radius: var(--radius-sm);
860
+ color: var(--color-text-primary);
861
+ font-size: max(16px, var(--font-size-body));
847
862
  background: var(--color-surface);
848
863
  }
849
- #panel-sessions .thread-handoff textarea.session-query-input { min-height: 96px; resize: vertical; line-height: 1.6; }
850
- .thread-handoff-optional-summary {
851
- display: flex;
852
- align-items: center;
853
- flex-wrap: wrap;
864
+ #panel-sessions .thread-handoff textarea.session-query-input { min-height: 104px; resize: vertical; line-height: 1.6; }
865
+ .thread-handoff-optional, .thread-handoff-actions { grid-column: 1 / -1; }
866
+ .thread-handoff-optional-summary, .thread-handoff-audit > summary {
867
+ display: list-item;
868
+ width: fit-content;
869
+ max-width: 100%;
854
870
  min-height: 44px;
871
+ align-content: center;
855
872
  cursor: pointer;
856
- font-size: 13px;
873
+ font-size: max(14px, var(--font-size-secondary));
857
874
  color: var(--color-text-secondary);
858
875
  }
859
- .thread-handoff-optional[open] .session-workspace-grid {
860
- grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
861
- margin-top: 12px;
862
- gap: 16px;
863
- }
864
- .thread-handoff-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
865
- .thread-handoff .btn-mini { min-height: 44px; padding: 8px 16px; transition: background 160ms ease, color 160ms ease; }
866
- #panel-sessions .thread-handoff-submit { background: var(--color-brand); color: #fff; border-color: transparent; }
867
- #panel-sessions .thread-handoff-submit:hover:not(:disabled) { background: var(--color-brand-dark); }
868
- #panel-sessions .thread-handoff-submit:disabled { opacity: .45; cursor: not-allowed; }
876
+ .thread-handoff-optional[open] .session-workspace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--spacing-xs); gap: var(--spacing-sm); }
877
+ .thread-handoff-actions { display: flex; justify-content: flex-end; gap: var(--spacing-sm); }
878
+ .thread-handoff .btn-mini { min-height: 44px; min-width: 44px; padding: 8px 16px; font-size: max(14px, var(--font-size-secondary)); transition: background-color 160ms var(--ease-out-expo), color 160ms var(--ease-out-expo), opacity 160ms var(--ease-out-expo); }
879
+ .thread-handoff .btn-mini:not(.thread-handoff-submit) { border-color: transparent; background: transparent; color: var(--color-text-secondary); }
880
+ .thread-handoff .btn-mini:not(.thread-handoff-submit):hover:not(:disabled) { background: var(--color-surface); color: var(--color-text-primary); }
881
+ #panel-sessions .thread-handoff-submit { background: var(--color-text-primary); color: var(--color-surface); border-color: transparent; }
882
+ #panel-sessions .thread-handoff-submit:hover:not(:disabled) { background: var(--color-text-secondary); }
883
+ .thread-handoff .btn-mini:active:not(:disabled) { opacity: .76; }
884
+ .thread-handoff .btn-mini:disabled { opacity: .45; cursor: not-allowed; }
869
885
  .thread-handoff-summary:hover { background: var(--color-brand-light); }
870
886
  .thread-handoff-summary:active { background: var(--color-brand-subtle); }
871
- .thread-handoff summary:focus-visible, .thread-handoff button:focus-visible {
872
- outline: 2px solid var(--color-brand); outline-offset: -2px;
887
+ .thread-handoff :is(summary, button, input, textarea):focus-visible { outline: 2px solid var(--color-brand); outline-offset: -2px; }
888
+ .thread-handoff-copy { display: grid; gap: var(--spacing-xs); min-width: 0; }
889
+ #panel-sessions .thread-handoff-copy textarea.session-query-input { max-height: 240px; font-family: var(--font-family-mono); font-size: max(14px, var(--font-size-secondary)); }
890
+ .thread-handoff-body .state-message { margin: 0; overflow-wrap: anywhere; font-size: max(14px, var(--font-size-secondary)); }
891
+ .thread-handoff-history { min-width: 0; }
892
+ .thread-handoff-history h3 { margin: 0 0 var(--spacing-xs); font-size: var(--font-size-body); font-weight: 600; }
893
+ .thread-handoff-history .session-workspace-list { padding: 0; gap: 0; list-style: none; font-size: max(14px, var(--font-size-secondary)); line-height: 1.6; }
894
+ .thread-handoff-history .session-workspace-card { padding: var(--spacing-sm) 0; border: 0; border-radius: 0; background: transparent; font-size: max(14px, var(--font-size-secondary)); }
895
+ .thread-handoff-record + .thread-handoff-record { border-top: 1px solid var(--color-border-soft); }
896
+ .thread-handoff-record-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: var(--spacing-xs); }
897
+ .thread-handoff-record-title { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
898
+ .thread-handoff-record-title strong { font-size: var(--font-size-body); font-weight: 600; color: var(--color-text-primary); }
899
+ .thread-handoff-record-status { font-size: max(14px, var(--font-size-secondary)); color: var(--color-text-secondary); }
900
+ .thread-handoff-record-route, .thread-handoff-record-reason, .thread-handoff-read-proof { margin: var(--spacing-xs) 0 0; overflow-wrap: anywhere; }
901
+ .thread-handoff-record-reason { max-width: 72ch; }
902
+ .thread-handoff-audit { min-width: 0; }
903
+ .thread-handoff-audit dl { display: grid; gap: var(--spacing-xs); margin: var(--spacing-xs) 0 0; }
904
+ .thread-handoff-audit dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--spacing-xs); }
905
+ .thread-handoff-audit dt { color: var(--color-text-secondary); font-weight: 400; }
906
+ .thread-handoff-audit dd { margin: 0; min-width: 0; overflow-wrap: anywhere; color: var(--color-text-primary); }
907
+ .thread-handoff-audit code { font-size: inherit; }
908
+ .thread-handoff-audit pre { max-height: 240px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
909
+ .thread-handoff-evidence { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
910
+ .thread-handoff-history .session-workspace-empty { margin: 0; padding: var(--spacing-xs) 0; font-size: max(14px, var(--font-size-secondary)); color: var(--color-text-secondary); }
911
+ @container handoff (max-width: 560px) {
912
+ .thread-handoff-form, .thread-handoff-optional[open] .session-workspace-grid { grid-template-columns: minmax(0, 1fr); }
913
+ .thread-handoff-body .session-workspace-header { align-items: flex-start; flex-wrap: wrap; }
914
+ .thread-handoff-actions > button { width: 100%; }
873
915
  }
874
- @media (max-width: 640px) {
875
- .thread-handoff-summary { padding: 12px 16px; }
876
- .thread-handoff-body { padding: 0 16px 16px; gap: 16px; }
877
- .thread-handoff-body .session-workspace-header { align-items: flex-start; }
878
- .thread-handoff-actions { align-items: stretch; flex-direction: column; gap: 12px; }
879
- .thread-handoff-optional-summary small { width: 100%; margin: 4px 0 8px; }
916
+ @media (prefers-reduced-motion: reduce) {
917
+ .thread-handoff-summary, .thread-handoff-summary::before, .thread-handoff .btn-mini { transition: none; }
880
918
  }
881
919
 
882
920
  /* Keep the session tab close to the viewport edge without changing other tabs. */
@@ -908,3 +908,11 @@
908
908
  font-size: 7px;
909
909
  }
910
910
  }
911
+
912
+ /* Keep wide numeric breakdowns inside the usage card on compact screens. */
913
+ .usage-records { margin: 16px 0; min-width: 0; }
914
+ .usage-records > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
915
+ .usage-records-table { overflow-x: auto; max-width: 100%; margin: 16px 0; }
916
+ .usage-records-table table { width: 100%; border-collapse: collapse; }
917
+ .usage-records-table th, .usage-records-table td { padding: 8px; text-align: right; white-space: nowrap; }
918
+ .usage-records-table th:first-child, .usage-records-table td:first-child { text-align: left; }
@@ -245,6 +245,36 @@
245
245
  font-weight: var(--font-weight-primary);
246
246
  }
247
247
 
248
+ /* Scope four-theme sizing to appearance controls, not other setting toggles. */
249
+ #panel-settings .settings-theme-options .toggle-btn {
250
+ min-width: 44px;
251
+ min-height: 44px;
252
+ padding: 8px 12px;
253
+ transition: color var(--transition-fast) var(--ease-smooth),
254
+ background-color var(--transition-fast) var(--ease-smooth);
255
+ }
256
+
257
+ #panel-settings .settings-theme-options .toggle-btn.active {
258
+ box-shadow: none;
259
+ }
260
+
261
+ #panel-settings .settings-theme-options .toggle-btn:active:not(:disabled) {
262
+ transform: none;
263
+ }
264
+
265
+ #panel-settings .settings-theme-options .toggle-btn:focus-visible {
266
+ outline: 2px solid var(--color-brand);
267
+ outline-offset: 2px;
268
+ }
269
+
270
+ @media (max-width: 640px) {
271
+ #panel-settings .settings-theme-options {
272
+ display: grid;
273
+ grid-template-columns: repeat(2, minmax(0, 1fr));
274
+ width: 100%;
275
+ }
276
+ }
277
+
248
278
  /* ---- 保留天数输入 ---- */
249
279
  .settings-retention {
250
280
  display: inline-flex;
@@ -1,23 +1,24 @@
1
1
  .sys-prompt-controls {
2
2
  display: flex;
3
- gap: 16px;
3
+ align-items: flex-start;
4
+ gap: 8px;
4
5
  flex-wrap: wrap;
5
- margin-bottom: 12px;
6
+ margin: 8px 0 4px;
6
7
  }
7
8
 
8
9
  .sys-prompt-control-group {
9
10
  display: flex;
11
+ flex: 1 1 180px;
12
+ min-width: 0;
10
13
  flex-direction: column;
11
14
  gap: 4px;
12
15
  }
13
16
 
14
17
  .sys-prompt-control-group .form-label {
15
- font-size: 0.8em;
16
- opacity: 0.8;
18
+ margin: 0;
19
+ font-size: 0.85em;
17
20
  }
18
21
 
19
22
  .sys-prompt-select {
20
- min-width: 180px;
23
+ min-width: 0;
21
24
  }
22
-
23
-
@@ -0,0 +1,52 @@
1
+ /*
2
+ * Codex Mate Web UI - violet light theme tokens (hand maintained).
3
+ * Palette adapted from Catppuccin Latte (MIT):
4
+ * https://github.com/catppuccin/palette/blob/main/palette.json
5
+ * https://github.com/catppuccin/catppuccin/blob/main/docs/style-guide.md
6
+ * Mauve is the accent; neutral hues and semantic colors are adapted for WCAG AA.
7
+ * Regenerate: node scripts/generate-ocean-theme-css.mjs violet
8
+ */
9
+ :root[data-theme="violet"] {
10
+ color-scheme: light;
11
+ --color-brand: oklch(54.5% 0.250346 297.016);
12
+ --color-brand-dark: oklch(49% 0.225 297.016);
13
+ --color-brand-light: oklch(54.5% 0.25 297.016 / 13%);
14
+ --color-brand-subtle: oklch(54.5% 0.25 297.016 / 20%);
15
+ --color-bg: oklch(95.5% 0.008 297.016);
16
+ --color-surface: oklch(98.2% 0.006 297.016);
17
+ --color-surface-alt: oklch(93.2% 0.01 297.016);
18
+ --color-surface-elevated: oklch(99% 0.005 297.016);
19
+ --color-surface-tint: oklch(98.2% 0.006 297.016 / 86%);
20
+ --color-surface-chip: oklch(99% 0.005 297.016 / 76%);
21
+ --color-text-primary: oklch(43% 0.035 297.016);
22
+ --color-text-secondary: oklch(49% 0.035 297.016);
23
+ --color-text-tertiary: oklch(52% 0.032 297.016);
24
+ --color-text-muted: oklch(52% 0.032 297.016);
25
+ --color-border: oklch(60% 0.025 297.016);
26
+ --color-border-soft: oklch(84% 0.012 297.016);
27
+ --color-border-strong: oklch(52% 0.032 297.016);
28
+ --color-success: oklch(47% 0.12 145);
29
+ --color-success-light: oklch(96% 0.025 145);
30
+ --color-error: oklch(50% 0.18 15);
31
+ --color-error-light: oklch(96% 0.018 15);
32
+ --color-warning: oklch(48% 0.10 70);
33
+ --color-warning-light: oklch(96% 0.025 70);
34
+ --color-delta-up: var(--color-success);
35
+ --color-delta-down: var(--color-error);
36
+ --color-heatmap-1: oklch(54.5% 0.25 297.016 / 20%);
37
+ --color-heatmap-2: oklch(54.5% 0.25 297.016 / 40%);
38
+ --color-heatmap-3: oklch(54.5% 0.25 297.016 / 60%);
39
+ --color-heatmap-4: oklch(54.5% 0.25 297.016 / 85%);
40
+ --color-modal-scrim: color-mix(in oklch, var(--color-text-primary) 48%, transparent);
41
+ --bg-warm-gradient: var(--color-bg);
42
+ --color-bg-topbar-strong: oklch(95.5% 0.008 297.016 / 96%);
43
+ --color-bg-topbar-soft: oklch(95.5% 0.008 297.016 / 86%);
44
+ --color-bg-topbar-clear: oklch(95.5% 0.008 297.016 / 0%);
45
+ --shadow-subtle: none;
46
+ --shadow-card: none;
47
+ --shadow-card-hover: none;
48
+ --shadow-float: none;
49
+ --shadow-raised: none;
50
+ --shadow-modal: none;
51
+ --shadow-input-focus: 0 0 0 3px var(--color-brand-light);
52
+ }