v0.4.0 2de4e1d

app.css RawHistoryFolder

1/* Neutral desktop surfaces; tokens keep both themes on the same hierarchy. */
2app.app {
3  --canvas: #fafafa; --surface: #ffffff; --sidebar: #f4f4f5;
4  --ink: #18181b; --secondary: #52525b; --quiet: #71717a;
5  --line: #e4e4e7; --hover: #ededf0; --selected: #e4e4e7;
6  --control: #fafafa; --action: #27272a; --action-ink: #ffffff;
7  --disabled: #d4d4d8; --disabled-ink: #52525b;
8  display: flex; flex-direction: column; width: 100%; height: 100%;
9  box-sizing: border-box;
10  background: var(--canvas); color: var(--ink); font-size: 14px; line-height: 1.4;
11  accent-color: #52525b;
12}
13app.app.dark {
14  --canvas: #18181b; --surface: #202023; --sidebar: #1c1c1f;
15  --ink: #f4f4f5; --secondary: #d4d4d8; --quiet: #a1a1aa;
16  --line: #36363c; --hover: #303035; --selected: #36363c;
17  --control: #18181b; --action: #e4e4e7; --action-ink: #18181b;
18  --disabled: #36363c; --disabled-ink: #a1a1aa;
19  accent-color: #a1a1aa;
20}
21app, header, footer, aside, main, section, row, nav, button, input { box-sizing: border-box; }
22header.header {
23  display: flex; flex-direction: row; align-items: center; column-gap: 20px;
24  height: 48px; flex-shrink: 0; padding: 6px 12px;
25  background: var(--surface); border-bottom: 1px solid var(--line);
26}
27heading { font-size: 24px; font-weight: 600; margin: 0; color: var(--ink); }
28heading.logo { font-size: 18px; font-weight: 700; }
29section heading { font-size: 16px; }
30text.muted { color: var(--secondary); }
31text.hint { color: var(--quiet); font-size: 12px; }
32text.eyebrow { color: var(--quiet); font-size: 11px; font-weight: 600; letter-spacing: 1px; }
33spacer.stretch { flex-grow: 1; min-height: 0; min-width: 0; }
34row.body { flex-grow: 1; min-height: 0; height: 100%; align-items: stretch; }
35aside.sidebar {
36  display: flex; flex-direction: column; width: 200px; flex-shrink: 0;
37  padding: 24px 12px 20px; background: var(--sidebar); border-right: 1px solid var(--line);
38}
39aside.sidebar > text { margin-left: 12px; }
40nav.menu { display: flex; flex-direction: column; row-gap: 4px; margin-top: 16px; flex-shrink: 0; height: 84px; }
41button { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; }
42button:hover { background: var(--hover); }
43button:active { background: var(--selected); }
44button:focus-visible, input:focus-visible, radio:focus-visible, slider:focus-visible {
45  outline: 2px solid var(--quiet); outline-offset: 2px;
46}
47button.menu-item { height: 40px; flex-shrink: 0; width: 176px; text-align: left; border: 1px solid transparent; padding: 10px 12px; background: transparent; }
48button.menu-item:hover { background: var(--hover); }
49button.menu-item.active { background: var(--selected); font-weight: 600; }
50button.theme-toggle { width: 104px; font-size: 13px; }
51main.content { flex-grow: 1; min-width: 0; padding: 0; overflow: auto; }
52row.workspace { height: 100%; align-items: stretch; }
53column.editor-pane { flex-grow: 1; flex-basis: 0px; min-width: 0; background: var(--surface); }
54row.pane-bar { width: 100%; height: 36px; flex-shrink: 0; align-items: center; padding: 8px 16px; border-bottom: 1px solid var(--line); background: var(--canvas); }
55text.document-title { font-size: 13px; font-weight: 600; }
56textarea.document-editor { flex-grow: 1; min-height: 0; padding: 20px; background: var(--surface); color: var(--ink); font-size: 14px; line-height: 1.6; }
57aside.inspector { display: flex; flex-direction: column; width: 240px; flex-shrink: 0; padding: 16px; border-left: 1px solid var(--line); background: var(--sidebar); }
58aside.inspector input, aside.inspector slider { width: 208px; }
59aside.inspector button { margin-top: 8px; height: 32px; }
60text.field-label { margin-top: 16px; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
61separator { background: var(--line); margin-top: 16px; margin-bottom: 4px; flex-shrink: 0; }
62button:disabled { background: var(--disabled); color: var(--disabled-ink); }
63column.preferences-pane { padding: 16px 24px; row-gap: 8px; }
64input { background: var(--control); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; width: 320px; height: 40px; }
65input:hover { border-color: var(--quiet); }
66text.sidebar-note { color: var(--secondary); font-size: 12px; margin-bottom: 4px; }
67radio { padding-top: 6px; padding-bottom: 6px; }
68slider { width: 320px; margin-top: 8px; }
69footer.status-bar { display: flex; flex-direction: row; align-items: center; height: 28px; flex-shrink: 0; padding: 4px 12px; background: var(--surface); border-top: 1px solid var(--line); color: var(--secondary); font-size: 12px; }
70app.app.compact aside.inspector { padding-top: 8px; }
71app.app.compact textarea.document-editor { padding: 12px; }
72app.app.compact button.menu-item { padding-top: 6px; padding-bottom: 6px; }

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 12

↑↓ moveenter openesc close