NakliTechie commited on
Commit
a923b4b
·
1 Parent(s): 1338746

Sync from GitHub 2026-04-25T17:36:12Z

Browse files
Files changed (1) hide show
  1. index.html +45 -44
index.html CHANGED
@@ -14,29 +14,30 @@
14
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.css" crossorigin="anonymous">
15
  <script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.js" crossorigin="anonymous"></script>
16
  <style>
 
17
  :root {
18
- --gray-900: #1a202c;
19
- --gray-800: #2d3748;
20
- --gray-700: #4a5568;
21
- --gray-600: #718096;
22
- --gray-400: #a0aec0;
23
- --gray-200: #e2e8f0;
24
- --gray-100: #f0f4f8;
25
- --gray-50: #f8fafc;
26
- --white: #ffffff;
27
- --indigo-500: #667eea;
28
- --indigo-600: #5a67d8;
29
- --indigo-100: #ebf4ff;
30
- --indigo-focus-ring: rgba(102, 126, 234, 0.15);
31
- --success-bg: #e6fffa;
32
- --success-border: #81e6d9;
33
- --success-text: #234e52;
34
- --loading-bg: #fffbeb;
35
- --loading-border: #f6e05e;
36
  --loading-text: #744210;
37
- --error-bg: #fff5f5;
38
- --error-border: #feb2b2;
39
- --error-text: #e53e3e;
40
  }
41
 
42
  * { box-sizing: border-box; margin: 0; padding: 0; }
@@ -376,7 +377,7 @@
376
 
377
  .msg.assistant .msg-bubble pre {
378
  background: var(--gray-900);
379
- color: #e2e8f0;
380
  padding: 12px 14px;
381
  border-radius: 8px;
382
  overflow-x: auto;
@@ -486,7 +487,7 @@
486
  /* Tool call block */
487
  .tool-call-block {
488
  background: rgba(245, 158, 11, 0.06);
489
- border-left: 3px solid #f59e0b;
490
  padding: 8px 12px;
491
  border-radius: 0 8px 8px 0;
492
  margin: 8px 0;
@@ -497,7 +498,7 @@
497
  .tool-call-toggle {
498
  cursor: pointer;
499
  font-size: 0.75rem;
500
- color: #d97706;
501
  font-weight: 500;
502
  display: flex;
503
  align-items: center;
@@ -554,7 +555,7 @@
554
 
555
  /* Mermaid + KaTeX */
556
  .mermaid {
557
- background: #fff;
558
  border: 1px solid var(--gray-200);
559
  border-radius: 6px;
560
  padding: 12px;
@@ -563,7 +564,7 @@
563
  text-align: center;
564
  }
565
  .mermaid-error, .katex-error {
566
- color: #b91c1c;
567
  background: rgba(185, 28, 28, 0.08);
568
  padding: 2px 6px;
569
  border-radius: 4px;
@@ -577,7 +578,7 @@
577
  border: 1px solid var(--gray-200);
578
  border-radius: 6px;
579
  overflow: hidden;
580
- background: #fff;
581
  }
582
  .artifact-header {
583
  display: flex;
@@ -598,14 +599,14 @@
598
  min-height: 200px;
599
  border: 0;
600
  display: block;
601
- background: #fff;
602
  }
603
 
604
  /* Message context menu (right-click / long-press) */
605
  .msg-context-menu {
606
  position: fixed;
607
  display: none;
608
- background: white;
609
  border: 1px solid var(--gray-200);
610
  border-radius: 6px;
611
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
@@ -753,7 +754,7 @@
753
  bottom: 3px;
754
  left: 3px;
755
  background: rgba(0,0,0,0.6);
756
- color: #fff;
757
  font-size: 0.5rem;
758
  font-weight: 600;
759
  padding: 1px 4px;
@@ -806,7 +807,7 @@
806
  height: 18px;
807
  border-radius: 50%;
808
  background: rgba(0,0,0,0.55);
809
- color: #fff;
810
  border: none;
811
  font-size: 0.65rem;
812
  cursor: pointer;
@@ -824,8 +825,8 @@
824
  position: absolute;
825
  top: 2px;
826
  left: 2px;
827
- background: #f6ad55;
828
- color: #fff;
829
  font-size: 0.5rem;
830
  font-weight: 600;
831
  padding: 0 3px;
@@ -938,7 +939,7 @@
938
  .send-btn:disabled { opacity: 0.4; cursor: not-allowed; }
939
 
940
  .send-btn.stop { background: var(--error-text); }
941
- .send-btn.stop:hover:not(:disabled) { background: #c53030; }
942
 
943
  /* Action buttons bar */
944
  .actions-bar {
@@ -1017,7 +1018,7 @@
1017
 
1018
  .progress-fill {
1019
  height: 100%;
1020
- background: linear-gradient(90deg, var(--indigo-500), #764ba2);
1021
  border-radius: 8px;
1022
  transition: width 0.3s ease;
1023
  width: 0%;
@@ -1150,9 +1151,9 @@
1150
  .api-log-row .t { color: var(--gray-500); }
1151
  .api-log-row .m { color: var(--gray-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1152
  .api-log-row .dur { color: var(--gray-600); text-align: right; }
1153
- .api-log-row .ok { color: #2f855a; }
1154
  .api-log-row .err { color: var(--error-text); }
1155
- .api-log-row .busy { color: #975a16; }
1156
 
1157
  .settings-panel label {
1158
  display: block;
@@ -1272,7 +1273,7 @@
1272
 
1273
  .msg-source-badge.web-enriched {
1274
  background: rgba(16, 185, 129, 0.1);
1275
- color: #059669;
1276
  }
1277
 
1278
  .source-links {
@@ -1414,7 +1415,7 @@
1414
  cursor: pointer;
1415
  flex-shrink: 0;
1416
  }
1417
- .memory-source-del:hover { color: #ef4444; border-color: #ef4444; }
1418
 
1419
  .memory-source-group .memory-item {
1420
  border-radius: 0;
@@ -1462,7 +1463,7 @@
1462
  flex-shrink: 0;
1463
  }
1464
 
1465
- .memory-item-del:hover { color: #ef4444; }
1466
 
1467
  /* Category badges */
1468
  .mem-cat {
@@ -1566,7 +1567,7 @@
1566
  flex-shrink: 0;
1567
  }
1568
 
1569
- .history-item-del:hover { color: #ef4444; }
1570
 
1571
  /* History sidebar */
1572
  .history-backdrop {
@@ -1620,7 +1621,7 @@
1620
  }
1621
 
1622
  .btn-danger-text { color: var(--gray-400); }
1623
- .btn-danger-text:hover { color: #ef4444; }
1624
 
1625
  /* Camera overlay */
1626
  .camera-overlay {
@@ -1663,7 +1664,7 @@
1663
 
1664
  .cam-capture-btn {
1665
  background: var(--indigo-500);
1666
- color: #fff;
1667
  }
1668
 
1669
  .cam-cancel-btn {
@@ -1848,7 +1849,7 @@
1848
  width: 160px;
1849
  }
1850
  .import-banner button {
1851
- background: white;
1852
  color: var(--indigo-600);
1853
  border: none;
1854
  border-radius: 6px;
 
14
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.css" crossorigin="anonymous">
15
  <script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.js" crossorigin="anonymous"></script>
16
  <style>
17
+ /* Rangrez · westafrica-01 · BAOBAB — Senegalese baobab bark, savanna pale dawn */
18
  :root {
19
+ --gray-900: #1a1408; /* INK */
20
+ --gray-800: #2a2014;
21
+ --gray-700: #4a3818;
22
+ --gray-600: #7a5a28;
23
+ --gray-400: #b89a68;
24
+ --gray-200: #ddd6c0; /* line */
25
+ --gray-100: #f6f3ec; /* BODY */
26
+ --gray-50: #ece8de; /* row */
27
+ --white: #fdfbf4; /* PANEL */
28
+ --indigo-500: #08184a; /* ACT — savanna near-black navy */
29
+ --indigo-600: #050f30;
30
+ --indigo-100: #d8dceb;
31
+ --indigo-focus-ring: rgba(8, 24, 74, 0.20);
32
+ --success-bg: #dceadb;
33
+ --success-border: #2a8a3a;
34
+ --success-text: #0a3014;
35
+ --loading-bg: #fde6c4;
36
+ --loading-border: #c08018;
37
  --loading-text: #744210;
38
+ --error-bg: #f8d4dc;
39
+ --error-border: #b81848; /* BRAND — hot rose */
40
+ --error-text: #6a0a30;
41
  }
42
 
43
  * { box-sizing: border-box; margin: 0; padding: 0; }
 
377
 
378
  .msg.assistant .msg-bubble pre {
379
  background: var(--gray-900);
380
+ color: var(--gray-200);
381
  padding: 12px 14px;
382
  border-radius: 8px;
383
  overflow-x: auto;
 
487
  /* Tool call block */
488
  .tool-call-block {
489
  background: rgba(245, 158, 11, 0.06);
490
+ border-left: 3px solid var(--loading-border);
491
  padding: 8px 12px;
492
  border-radius: 0 8px 8px 0;
493
  margin: 8px 0;
 
498
  .tool-call-toggle {
499
  cursor: pointer;
500
  font-size: 0.75rem;
501
+ color: var(--loading-text);
502
  font-weight: 500;
503
  display: flex;
504
  align-items: center;
 
555
 
556
  /* Mermaid + KaTeX */
557
  .mermaid {
558
+ background: var(--white);
559
  border: 1px solid var(--gray-200);
560
  border-radius: 6px;
561
  padding: 12px;
 
564
  text-align: center;
565
  }
566
  .mermaid-error, .katex-error {
567
+ color: var(--error-text);
568
  background: rgba(185, 28, 28, 0.08);
569
  padding: 2px 6px;
570
  border-radius: 4px;
 
578
  border: 1px solid var(--gray-200);
579
  border-radius: 6px;
580
  overflow: hidden;
581
+ background: var(--white);
582
  }
583
  .artifact-header {
584
  display: flex;
 
599
  min-height: 200px;
600
  border: 0;
601
  display: block;
602
+ background: var(--white);
603
  }
604
 
605
  /* Message context menu (right-click / long-press) */
606
  .msg-context-menu {
607
  position: fixed;
608
  display: none;
609
+ background: var(--white);
610
  border: 1px solid var(--gray-200);
611
  border-radius: 6px;
612
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 
754
  bottom: 3px;
755
  left: 3px;
756
  background: rgba(0,0,0,0.6);
757
+ color: var(--white);
758
  font-size: 0.5rem;
759
  font-weight: 600;
760
  padding: 1px 4px;
 
807
  height: 18px;
808
  border-radius: 50%;
809
  background: rgba(0,0,0,0.55);
810
+ color: var(--white);
811
  border: none;
812
  font-size: 0.65rem;
813
  cursor: pointer;
 
825
  position: absolute;
826
  top: 2px;
827
  left: 2px;
828
+ background: var(--loading-border);
829
+ color: var(--white);
830
  font-size: 0.5rem;
831
  font-weight: 600;
832
  padding: 0 3px;
 
939
  .send-btn:disabled { opacity: 0.4; cursor: not-allowed; }
940
 
941
  .send-btn.stop { background: var(--error-text); }
942
+ .send-btn.stop:hover:not(:disabled) { background: var(--error-text); }
943
 
944
  /* Action buttons bar */
945
  .actions-bar {
 
1018
 
1019
  .progress-fill {
1020
  height: 100%;
1021
+ background: linear-gradient(90deg, var(--indigo-500), #b81848);
1022
  border-radius: 8px;
1023
  transition: width 0.3s ease;
1024
  width: 0%;
 
1151
  .api-log-row .t { color: var(--gray-500); }
1152
  .api-log-row .m { color: var(--gray-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1153
  .api-log-row .dur { color: var(--gray-600); text-align: right; }
1154
+ .api-log-row .ok { color: var(--success-border); }
1155
  .api-log-row .err { color: var(--error-text); }
1156
+ .api-log-row .busy { color: var(--loading-text); }
1157
 
1158
  .settings-panel label {
1159
  display: block;
 
1273
 
1274
  .msg-source-badge.web-enriched {
1275
  background: rgba(16, 185, 129, 0.1);
1276
+ color: var(--success-border);
1277
  }
1278
 
1279
  .source-links {
 
1415
  cursor: pointer;
1416
  flex-shrink: 0;
1417
  }
1418
+ .memory-source-del:hover { color: var(--error-border); border-color: var(--error-border); }
1419
 
1420
  .memory-source-group .memory-item {
1421
  border-radius: 0;
 
1463
  flex-shrink: 0;
1464
  }
1465
 
1466
+ .memory-item-del:hover { color: var(--error-border); }
1467
 
1468
  /* Category badges */
1469
  .mem-cat {
 
1567
  flex-shrink: 0;
1568
  }
1569
 
1570
+ .history-item-del:hover { color: var(--error-border); }
1571
 
1572
  /* History sidebar */
1573
  .history-backdrop {
 
1621
  }
1622
 
1623
  .btn-danger-text { color: var(--gray-400); }
1624
+ .btn-danger-text:hover { color: var(--error-border); }
1625
 
1626
  /* Camera overlay */
1627
  .camera-overlay {
 
1664
 
1665
  .cam-capture-btn {
1666
  background: var(--indigo-500);
1667
+ color: var(--white);
1668
  }
1669
 
1670
  .cam-cancel-btn {
 
1849
  width: 160px;
1850
  }
1851
  .import-banner button {
1852
+ background: var(--white);
1853
  color: var(--indigo-600);
1854
  border: none;
1855
  border-radius: 6px;