Files
luxe/crates/luxe-remote/app/github.css
Evan Whittaker d2129a886f Luxe 0.1.3: your sessions on your phone, joinable sessions, and nested AGENTS.md
- luxe remote puts the sessions on your computer in reach of your own phone or tablet over
  Tailscale: write, steer, answer prompts, send photos, browse files, diffs and GitHub, with a
  paired device and your own Tailscale login.
- luxe join lets another program on the same machine join a running session over the RPC protocol.
- An AGENTS.md in a subfolder reaches the model the first time it works there.
- Long sessions stay fast: no stall before each model call, lighter memory, cheaper drawing.
- A session is open in one Luxe at a time, web_search shares results across its phrasings, and a
  grep glob starting with ! excludes.

The CHANGELOG has the full list.
2026-10-20 02:40:13 -05:00

251 lines
4.8 KiB
CSS

/* The GitHub tab and its peek, as /github draws them: rows on two lines, the second quiet; a
detail of facts beside their marks in a label column; and the conversation as cards washed in
their tone, the hue mixed 9% into the canvas as the TUI tints a card */
/* The sections are the picker's tab line: one row, the open tab a slab on the selection surface
in the accent, the rest muted words padded to the same footprint */
.gh-sections {
flex-wrap: nowrap;
gap: 0;
overflow-x: auto;
scrollbar-width: none;
}
.gh-sections::-webkit-scrollbar {
display: none;
}
.gh-sections .tab {
flex: none;
white-space: pre;
}
.badge.picked {
--slab: var(--luxe-selected-bg, #2c2925);
color: var(--luxe-accent, #ddc084);
text-transform: none;
}
.gh-tab {
padding: 0 2ch;
color: var(--luxe-muted, #97938c);
}
.gh-view {
padding: 0 1.5ch 1lh;
}
.gh-count,
.gh-note {
margin: 0.5lh 0;
}
/* A row is the TUI's two lines, the tap target the whole of both */
.gh-row {
display: block;
width: calc(100% + 3ch);
min-height: var(--tap);
margin: 0 -1.5ch;
padding: 0.35lh 1.5ch;
text-align: left;
}
.gh-row:active {
background: var(--luxe-tool-bg, #2a2724);
}
.gh-line {
display: flex;
gap: 0;
white-space: pre;
}
.gh-mark {
flex: none;
width: 2ch;
}
.gh-title {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
.gh-right {
flex: none;
margin-left: auto;
padding-left: 1ch;
}
/* the second line starts under the title, past the mark */
.gh-sub {
padding-left: 2ch;
color: var(--luxe-muted, #97938c);
}
.gh-who {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
/* The detail's header: what it is, then who and where, then its state and labels as chips */
.gh-head {
margin-bottom: 0.5lh;
}
.gh-heading {
margin: 0.5lh 0 0.25lh;
font-size: inherit;
font-weight: bold;
color: var(--luxe-text, #e4dfd6);
}
.gh-meta,
.gh-chips {
margin: 0;
}
.gh-state,
.gh-label-chip {
display: inline-block;
padding: 0 1ch;
border-radius: var(--corner);
}
/* the state chip is cut from its own color, the canvas as ink */
.gh-state {
color: var(--luxe-background, #12100e);
background: currentColor;
}
.gh-state.hue-success { background: var(--luxe-success, #81caa0); }
.gh-state.hue-error { background: var(--luxe-error, #e68485); }
.gh-state.hue-secondary { background: var(--luxe-accent-secondary, #d2a5cd); }
.gh-state.hue-muted { background: var(--luxe-muted, #97938c); }
.gh-label-chip {
background: var(--luxe-user-msg-bg, #201e1a);
}
.gh-view .gh-sections {
padding-inline: 0;
}
.gh-section {
display: flex;
margin: 1lh 0 0.25lh;
font-size: inherit;
font-weight: bold;
color: var(--luxe-md-heading, #ddc084);
}
/* a fact: its mark, its label in a column, then the evidence wrapping under itself */
.gh-check {
display: grid;
grid-template-columns: 2ch minmax(8ch, 15ch) 1fr;
margin: 0;
}
.gh-evidence {
min-width: 0;
overflow-wrap: anywhere;
}
.gh-open,
.gh-more,
.gh-unfold {
color: var(--luxe-accent, #ddc084);
text-decoration: underline;
}
.gh-more,
.gh-unfold {
display: block;
}
/* The conversation: each entry a card, its frame and wash its tone */
/* the column never grows past the pane, so a long unbroken word wraps instead of pushing the
cards off the screen */
.gh-conversation {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 0.75lh;
padding-top: 0.5lh;
}
.gh-body {
overflow-wrap: anywhere;
}
.gh-card {
--tone: var(--luxe-muted, #97938c);
padding: 0.25lh 1ch;
border: 1px solid color-mix(in srgb, var(--tone) 45%, transparent);
border-radius: var(--corner);
background: var(--luxe-user-msg-bg, #201e1a);
}
.gh-card.tone-quiet { background: none; }
.gh-card.tone-approved { --tone: var(--luxe-success, #81caa0); }
.gh-card.tone-changes,
.gh-card.tone-unresolved {
border-color: var(--tone);
background: color-mix(in srgb, var(--tone) 9%, var(--luxe-background, #12100e));
}
.gh-card.tone-changes { --tone: var(--luxe-error, #e68485); }
.gh-card.tone-unresolved { --tone: var(--luxe-info, #85c7d7); }
.gh-card-title {
margin: 0;
}
.gh-mine {
color: var(--luxe-accent, #ddc084);
}
/* a long comment shows its first lines until it's unfolded */
.gh-card.folded .gh-body {
max-height: 6lh;
overflow: hidden;
}
.gh-card:not(.folded) .gh-unfold {
display: none;
}
/* A thread opens and closes itself, its fold mark the TUI's */
.gh-thread summary {
list-style: none;
cursor: pointer;
}
.gh-thread summary::-webkit-details-marker {
display: none;
}
.gh-thread summary::before {
content: "\25b8 ";
color: var(--luxe-muted, #97938c);
}
.gh-thread[open] summary::before {
content: "\25be ";
}
.gh-last {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.gh-thread[open] .gh-last {
display: none;
}
.gh-reply {
margin: 0.5lh 0 0 4ch;
}