Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

fix(ui): restore the missing --gold-soft token (#1405)

Call Whiteb94507f3180c
diff --git a/ui/src/components/workbench/search/Snippet.tsx b/ui/src/components/workbench/search/Snippet.tsx
index ee6fcebdd..e00c3a0b8 100644
--- a/ui/src/components/workbench/search/Snippet.tsx
+++ b/ui/src/components/workbench/search/Snippet.tsx
@@ -7,8 +7,8 @@ type SnippetProps = {
// A single, truncated line of message text with the matched term highlighted.
// The server pre-splits the window into prefix / match / suffix, so this is
// purely presentational. The <mark> uses the design's gold highlight
-// (bg-gold/10 + text-gold — the Badge "warning" tone; there is no gold-soft
-// token) with a small radius, no underline. When ``match`` is empty (leading
+// (bg-gold-soft + text-gold, matching the `hl` frames in the Editor Search
+// design) with a small radius, no underline. When ``match`` is empty (leading
// context only) we render just the prefix.
export const Snippet: React.FC<SnippetProps> = ({ snippet }) => {
const { prefix, match, suffix } = snippet;
@@ -16,7 +16,7 @@ export const Snippet: React.FC<SnippetProps> = ({ snippet }) => {
<span className="block truncate text-[12.5px] leading-relaxed text-foreground">
{prefix}
{match && (
- <mark className="rounded-md bg-gold/10 px-1 font-medium text-gold no-underline">
+ <mark className="rounded-md bg-gold-soft px-1 font-medium text-gold no-underline">
{match}
</mark>
)}
diff --git a/ui/src/index.css b/ui/src/index.css
index db22c6c8a..01aa81d3d 100644
--- a/ui/src/index.css
+++ b/ui/src/index.css
@@ -56,6 +56,7 @@
--color-violet: var(--violet);
--color-violet-soft: var(--violet-soft);
--color-gold: var(--gold);
+ --color-gold-soft: var(--gold-soft);
--color-gold-foreground: var(--gold-foreground);
--color-pink: var(--pink);
--color-pink-soft: var(--pink-soft);
@@ -127,6 +128,7 @@
--violet: #8465ff;
--violet-soft: rgba(124, 91, 255, 0.16);
--gold: #ffc857;
+ --gold-soft: rgba(255, 200, 87, 0.16);
--gold-foreground: #080812;
--pink: #ff5b8a;
--pink-soft: rgba(255, 91, 138, 0.10);
@@ -210,6 +212,7 @@
--violet: #7c3aed;
--violet-soft: rgba(124, 58, 237, 0.14);
--gold: #ae4f08;
+ --gold-soft: rgba(217, 119, 6, 0.14);
--gold-foreground: #ffffff;
--pink: #c7204f;
--pink-soft: rgba(220, 38, 89, 0.10);
@@ -288,6 +291,7 @@
--violet: #7c3aed;
--violet-soft: rgba(124, 58, 237, 0.14);
--gold: #ae4f08;
+ --gold-soft: rgba(217, 119, 6, 0.14);
--gold-foreground: #ffffff;
--pink: #c7204f;
--pink-soft: rgba(220, 38, 89, 0.10);