v0.1.0 3f267b5

00-tokens.css RawHistoryFolder

1@layer reset, tokens, base, components, utilities;
2
3/* Palette: the neferbar "mono" theme, black and grays only.
4   Page surfaces follow the OS theme; the two bars stay black in both themes,
5   like neferbar under a light or a dark terminal. */
6@layer tokens {
7  :root {
8    color-scheme: light dark;
9
10    /* page */
11    --paper:     light-dark(#f2f2f2, #000000);
12    --paper-alt: light-dark(#e8e8e8, #0c0c0c);
13    --row:       light-dark(#dddddd, #1a1a1a);
14    --sel:       light-dark(#cbcbcb, #303030);
15    --ink:       light-dark(#161616, #d0d0d0);
16    --ink-hi:    light-dark(#000000, #ffffff);
17    --ink-dim:   light-dark(#4a4a4a, #9a9a9a);
18    --ink-mute:  light-dark(#5c5c5c, #8a8a8a);
19    --rule:      light-dark(#bcbcbc, #303030);
20    --focus:     light-dark(#000000, #ffffff);
21
22    /* bars (neferbar mono.conf: background, foreground, color4 accent, color0 ink) */
23    --bar:       #000000;
24    --bar-ink:   #d0d0d0;
25    --bar-dim:   #8a8a8a;
26    --accent:    #c8c8c8;
27    --on-accent: #000000;
28    /* lib.sh fade(): four cells from the accent to the bar, each pulled halfway to the bar */
29    --fade-1: #505050;
30    --fade-2: #3c3c3c;
31    --fade-3: #282828;
32    --fade-4: #141414;
33
34    /* Colour, sparingly, from the owner's Despair theme: only code and diffs carry hue.
35       Dark values are Despair's own; light values are the same hues darkened to AA on --paper. */
36    --teal:    light-dark(#2f6b6b, #7db5b5); /* Despair bright teal: keywords, additions */
37    --teal-2:  light-dark(#355f5f, #5a8585); /* slate teal: types, numbers */
38    --red:     light-dark(#a8404b, #d96c75); /* soft red: deletions */
39    --rose:    light-dark(#6b6570, #a7a2a9); /* rose quartz: strings */
40
41    --syn-plain:   var(--ink);
42    --syn-keyword: var(--teal);
43    --syn-string:  var(--rose);
44    --syn-comment: light-dark(#5c5f63, #6a6e73);
45    --syn-number:  var(--teal-2);
46    --syn-func:    var(--ink-hi);
47    --syn-type:    var(--teal-2);
48    --syn-punct:   var(--ink-dim);
49
50    /* diff rows: the line keeps the normal ink; the hue is in a faint row tint and the marker */
51    --add:     light-dark(#d8e5e5, #121919);
52    --del:     light-dark(#eedadc, #231113);
53
54    /* one family (the neferbar font when installed), three sizes, two weights */
55    --font: "Adwaita Mono", "AdwaitaMono Nerd Font Mono", ui-monospace, "Cascadia Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace;
56    --fs: 14px;
57    --fs-code: 13px;
58    --fs-s: 12px;
59    --lh: 20px;
60    --lh-code: 18px;
61
62    --pad: 2ch;
63    --bar-h: 20px; /* one text line, like neferbar: no padding above or below */
64    --stick: var(--bar-h); /* top offset of sticky headers inside the content (0 in the app shell) */
65    --measure: 80ch;
66    --rail: 40ch;
67  }
68}

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 4

Tags 45

↑↓ moveenter openesc close