docs/ui: the shell and swatch pictures at 1440 by 960

The committed pictures were 1438 by 935 (and the form 1280 by 800): taken
on a screen as large as the window, where openbox fits the window and its
frame into the screen. Regenerated the five shell pictures and the two
swatch pictures on a headless X display of 3840 by 2160 (scripts/gpui-shot.sh
under spikes/gpui/headless.sh; the form with xdotool clicks and typing), all
exactly 1440 by 960 and truecolour. docs/ui.md and the script's header now say
the screen must be larger than the window, and how the form was taken.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Sonnet 5.5 committed 2026-10-27 19:31:30 +03:00
1 parent 302524a144
commit 806f9c6f2e
9 files changed
+17 -5

No files matched your search

+13 -4
View File
@@ -1113,9 +1113,16 @@ GPUI_SHOT_HEADLESS=1 DELAY=4 VOELIN_DEMO_UI=1 VOELIN_DEV_THEME=dark spikes/gpui/
Wayland, the desktop's session bus and its portals are out of the environment,
and the state directories are temporary ones: a run never touches the desktop
or `~/.local/state/voelin`. `docs/ui/gpui-swatch-dark.png` and
`gpui-swatch-light.png` are two such pictures (truecolour: a reduction to 256
colours would change the tokens' values).
or `~/.local/state/voelin`. **The screen must be larger than the window**:
`headless.sh`'s default is 3840 by 2160 and `xvfb-run` gets twice the window.
On a screen as large as the window, openbox fits the window and its frame into
it and the picture comes out smaller (1438 by 935 for 1440 by 960, which is how
the first set of pictures was made); on a larger one it is exactly the size
asked for. `docs/ui/gpui-swatch-dark.png` and `gpui-swatch-light.png` are two
such pictures (truecolour: a reduction to 256 colours would change the tokens'
values), and the five of the shell are made the same way (1440 by 960, on
Xvfb `:143` of 3840 by 2160 with openbox and Mesa's lavapipe, the debug build,
a state directory under the checkout's `.scratch/`).
![The swatch page, dark](ui/gpui-swatch-dark.png)
![The swatch page, light](ui/gpui-swatch-light.png)
@@ -1134,7 +1141,9 @@ callbacks), on the client's store.
The pictures are the shell at 1440 by 960 under `scripts/gpui-shot.sh`; the
server on screen is the first of the sample servers (`VOELIN_DEMO_UI=1`),
connected, with its voice card and the user's card. `gpui-shell-form-dark.png`
is the server form.
is the server form: the empty shell at the same size, the rail's plus clicked
and an address and a name typed with `xdotool` (the nickname is the login's;
the picture was taken as `nova`).
![the server form, dark](ui/gpui-shell-form-dark.png)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 156 KiB

+4 -1
View File
@@ -12,7 +12,10 @@
# GPUI_SHOT_HEADLESS=1 spikes/gpui/shell.sh spikes/gpui/headless.sh -- \
# scripts/gpui-shot.sh docs/ui/gpui-swatch-dark.png swatch 1440x960
#
# Needs xdotool, xwd (x11-apps) and ImageMagick.
# Needs xdotool, xwd (x11-apps) and ImageMagick. The screen must be larger
# than the window (headless.sh's is 3840x2160; xvfb-run gets twice the window):
# on one as large as the window the window manager fits the window and its
# frame into the screen, and the picture is smaller than the size asked for.
#
# Wayland is taken out of the environment (GPUI prefers it, so the window
# would open on the desktop), and so are the desktop's session bus and its