refactor: archive GUI clients; keep minimal TUI with hooks/API
Move Qt/Tauri/full Web SPA under archive/, ship hermit as CLI/TUI plus libcstcore and cst-webui/1 HTTP+SSE (turn lifecycle hooks, capabilities). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,117 @@
|
||||
/* DSH dark surfaces + Hermit brand accents */
|
||||
:root {
|
||||
/* Brand from color card + agent-motion eye */
|
||||
--brand: #009cc6;
|
||||
--brand-bright: #70cde5;
|
||||
--brand-dim: #007a9c;
|
||||
--accent: var(--brand);
|
||||
--accent-bright: var(--brand-bright);
|
||||
--crab: #ffa939;
|
||||
--crab-dim: #e8922a;
|
||||
--cream: #f9f3ee;
|
||||
--eye: #9957ad;
|
||||
--send: var(--crab);
|
||||
--send-hover: var(--crab-dim);
|
||||
--ok: #22c55e;
|
||||
--warn: #f59e0b;
|
||||
--danger: #f25a5a;
|
||||
|
||||
/* DSH dark bluish neutrals (design-platform.css) */
|
||||
--bg: #151517; /* bluish-950 */
|
||||
--bg-elev: #1b1b1c; /* bluish-900 sidebar */
|
||||
--bg-layer: #232325; /* bluish-875 */
|
||||
--bg-card: #2c2c2e; /* bluish-850 input */
|
||||
--bg-hover: rgba(255, 255, 255, 0.08);
|
||||
--bg-active: rgba(255, 255, 255, 0.14);
|
||||
--border-l1: rgba(255, 255, 255, 0.06);
|
||||
--border-l2: rgba(255, 255, 255, 0.12);
|
||||
--border-l3: rgba(255, 255, 255, 0.16);
|
||||
--border-l4: rgba(255, 255, 255, 0.2);
|
||||
--border: var(--border-l1);
|
||||
--border-2: var(--border-l2);
|
||||
--border-3: var(--border-l3);
|
||||
--border-4: var(--border-l4);
|
||||
--text: #f9fafb;
|
||||
--text-dim: #ebf0f4;
|
||||
--text-muted: #cfd3d6;
|
||||
--text-faint: #adb2b8;
|
||||
--text-caption: #81858c;
|
||||
--bubble-user: #2c2c2e;
|
||||
|
||||
--radius-xs: 4px;
|
||||
--radius-sm: 8px;
|
||||
--radius: 12px;
|
||||
--radius-lg: 16px;
|
||||
--radius-xl: 20px;
|
||||
--radius-panel: 28px;
|
||||
|
||||
--rail-w: 280px;
|
||||
--rail-collapsed: 56px;
|
||||
--chat-w: 820px;
|
||||
--composer-w: 852px; /* chat + 32 */
|
||||
--composer-side: 16px;
|
||||
--header-h: 52px;
|
||||
--new-session-h: 38px;
|
||||
|
||||
--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
|
||||
"Noto Sans SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
--mono: "SF Mono", "JetBrains Mono", "Fira Code", Consolas, Menlo, monospace;
|
||||
--ease: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
--elevation-stroke: 0 0 0 0.5px var(--border-l2);
|
||||
/* DSH soft: hairline + very light lift (not heavy drop shadow) */
|
||||
--elevation-soft: var(--elevation-stroke), 0 4px 16px rgba(0, 0, 0, 0.03),
|
||||
0 0 24px rgba(0, 0, 0, 0.03);
|
||||
--sidebar-wash: linear-gradient(
|
||||
to bottom,
|
||||
rgb(0 156 198 / 0.1),
|
||||
rgb(112 205 229 / 0) 38%,
|
||||
rgb(153 87 173 / 0) 68%,
|
||||
rgb(153 87 173 / 0.07)
|
||||
);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,
|
||||
body,
|
||||
#root {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: var(--font);
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
button,
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
background: none;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--accent-bright);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
border-radius: 8px;
|
||||
}
|
||||
Reference in New Issue
Block a user