Skip to content

Commit 3334c55

Browse files
author
EliasPereirah
committed
UX enhancement
1 parent 6b31584 commit 3334c55

File tree

5 files changed

+164
-161
lines changed

5 files changed

+164
-161
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ For better search results, you can configure a "RAG endpoint".
132132
Just follow the instructions at https://github.com/EliasPereirah/SearchAugmentedLLM/
133133

134134
After that you can enter the search endpoint you just created in the Orion Chat interface.
135-
Click on "⚙️" -> "Options" -> "Advanced" and enter the "RAG endpoint".
135+
Click on "Options" -> "Advanced" enter the "RAG endpoint" and click "Activate".
136136

137137
Now whenever you want the AI to do a search to answer your question, write at the beginning of your prompt
138138
"s:" + your question, e.g. "s: what's the news today?", The AI will search the web and respond based on the information found.

css/chat.css

+18-17
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
--btn-special-bg: #fff;
1414
--btn-special-cl: #7578e1;
1515
--system-before-border: #ccc;
16-
--copy-btn-bg: #fff;
16+
--copy-btn-bg: #35373b;
1717
--ft-group-bg: #fff;
1818
--copy-btn-border: #e8d7d7;
1919
--copy-btn-color: #fff1f1;
@@ -43,9 +43,9 @@
4343
--new-chat-border-cl: #ccc;
4444
--topic-color: #605b67;
4545
--topic-border-cl: #d6d5d5dd;
46-
--active-topic-bg: #7578e1e0;
47-
--active-topic-border-cl: transparent;
48-
--active-topic-color: #fff;
46+
--active-topic-bg: #f7f6f3;
47+
--active-topic-color: #17171d;
48+
--active-topic-border-cl: #000000;
4949
--dialog-color: #282828;
5050
--dialog-close-after-color: #7578e1;
5151
--dialog-close-after-bg: #fff;
@@ -87,12 +87,14 @@
8787
--no-history-cl: #fff;
8888
--chat-deleted-msg-bg: #7578e1;
8989
--chat-deleted-msg-border-cl: #1319ff;
90+
--theme-toggle-bg: #fff;
91+
--theme-toggle-cl: #605b67;
9092
}
9193

9294
/* Dark Theme */
9395
:root[data-theme="dark"] {
94-
--theme-bg: #1c1c1c;
95-
--theme-color: #b6b6b6;
96+
--theme-bg: #0f0f0f;
97+
--theme-color: #a3a3a3;
9698
--img-output-bg: #e7e7ec;
9799
--details-bg: #1c1c1c;
98100
--details-color: #60fc67;
@@ -135,8 +137,8 @@
135137
--topic-color: #e0dae3;
136138
--topic-border-cl: #828282dd;
137139
--active-topic-bg: transparent;
138-
--active-topic-border-cl: #7578e1;
139-
--active-topic-color: #7578e1;
140+
--active-topic-border-cl: #336235;
141+
--active-topic-color: #07d95e;
140142
--dialog-color: #f2f2f2;
141143
--dialog-close-after-color: #e4e4eb;
142144
--dialog-close-after-bg: #000000FF;
@@ -178,6 +180,8 @@
178180
--chat-deleted-msg-bg: #323232;
179181
--chat-deleted-msg-border-cl: #fff;
180182

183+
--theme-toggle-bg: #4c4c4c;
184+
--theme-toggle-cl: #07d95e;
181185

182186
}
183187

@@ -478,7 +482,7 @@ code.hljs::-webkit-scrollbar-track {
478482
}
479483

480484
.btn-group {
481-
margin-top: -31px;
485+
margin-top: -38px;
482486
text-align: end;
483487
}
484488
.btn-group-top{
@@ -497,7 +501,7 @@ code.hljs::-webkit-scrollbar-track {
497501

498502

499503
.btn-group .copy-btn, .btn-group .down-btn {
500-
background-color: transparent;
504+
background-color: var(--copy-btn-bg);
501505
}
502506

503507

@@ -510,7 +514,7 @@ code.hljs::-webkit-scrollbar-track {
510514

511515
.btn-ft-group{
512516
text-align: end;
513-
background: var(--ft-group-bg);
517+
background: transparent;
514518
}
515519

516520
.container {
@@ -842,11 +846,11 @@ select{
842846
margin-bottom: 2px;
843847
}
844848

849+
845850
#theme_toggle{
846-
background-color: #4c4c4c;
851+
background-color: var(--theme-toggle-bg);
847852
margin: 5px 0;
848-
color: #07d95e;
849-
border: none;
853+
color: var(--theme-toggle-cl);
850854
}
851855

852856
.history {
@@ -922,9 +926,6 @@ select{
922926
.active_topic{
923927
background-color: var(--active-topic-bg);
924928
color: var(--active-topic-color) !important;
925-
}
926-
927-
[data-theme='dark'] .active_topic{
928929
border: 1px solid var(--active-topic-border-cl) !important;
929930
}
930931

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</script>
1212
<link rel="icon" href="favicon.png">
1313
<link rel="stylesheet" href="css/highlight_js/themes/github-dark-dimmed.css?v=1.0.3">
14-
<link rel="stylesheet" href="css/chat.css?v=3.1.1">
14+
<link rel="stylesheet" href="css/chat.css?v=3.1.3">
1515
<link rel="manifest" href="manifest.json">
1616
<meta property="og:type" content="article">
1717
<meta property="og:title" content="Orion">
@@ -75,7 +75,7 @@
7575
<script src="js/prompts.js?v=1.0.3"></script>
7676
<script src="js/tools_list.js?v=1.1.2"></script>
7777

78-
<script src="js/script.js?v=3.0.1"></script>
78+
<script src="js/script.js?v=3.0.4"></script>
7979

8080
<script src="js/voice_rec.js?v=1.0.6"></script>
8181
<div class="recording-animation">

0 commit comments

Comments
 (0)