Match the page prompts to the server prompt

All of the prompt is in the normal green now, except the blue ~.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Zebreus 2026-10-25 01:08:58 +02:00
commit 3c61a3c419
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
<p class="prompt"><b>root@khaos-im-kiez</b>:~# <slot /></p>
<p class="prompt">root@khaos-im-kiez:<span class="cwd">~</span># <slot /></p>

View file

@ -54,8 +54,8 @@ a:hover, a:focus-visible {
}
/* Prompt */
.prompt { color: var(--dim); white-space: pre-wrap; }
.prompt b { color: var(--fg); font-weight: normal; }
.prompt { white-space: pre-wrap; }
.prompt .cwd { color: #3465a4; } /* the shell prompt's blue, as xterm.js renders it */
.cursor {
display: inline-block;
width: .6em; height: 1.1em;