Skip to content

Latest commit

 

History

History
451 lines (385 loc) · 31.9 KB

design-system.md

File metadata and controls

451 lines (385 loc) · 31.9 KB

Design system

简体中文

vfox-plus follows Material 3 Expressive, the 2025 evolution of Material Design that adds springs, a richer shape library, emphasized typography and new components to Material 3. This document lists the tokens and components the application uses, and where the mygo implementation defines them.

Colour

  • Colour schemes are generated from a seed colour with the Material colour utilities, tonal spot variant, for light and dark themes, in the 2021 specification of the colour utilities, so that the application shows the same colours as the specification.
  • The seed is the desktop accent colour when the user allows it and the desktop exposes one (XDG desktop portal org.freedesktop.appearance accent-color, falling back to the GTK theme), otherwise the colour chosen in Settings. The default is the orange of the vfox logo, #F28C1B.
  • Large surfaces use the surface container roles: the window is surface, page panes surfaceContainerLow, list items surfaceContainer, prominent cards surfaceContainerHighest. Primary, secondary and tertiary containers mark the avatars.
  • Destructive actions use error.
  • The web interface (the --m3-* variables of mygo/gateway/webapp.html) holds the 48 roles of the scheme as literal values, and the test TestTheColoursOfThePageAreTheSchemeOfTheSeed in mygo/gateway fails when they are not the roles that mygo/ui/mcu computes for the seed. The phone app holds no table of colours: it computes the scheme from the same seed, with the same ui/kit, for the light or the dark appearance that the system shows.

mygo: PaletteFor in mygo/ui/kit/theme.go, computed from mygo/ui/mcu (a Go port of the Material colour utilities, tonal spot).

Shape

Corner radius scale

Token Radius Used for
none 0 dp
extra small 4 dp Inner corners of segmented lists, tooltips
small 8 dp Pressed buttons, inner corners of button groups, chips
medium 12 dp Text fields, snack bars
large 16 dp Cards, menus, floating action buttons
large increased 20 dp Outer corners of segmented lists, plugin cards
extra large 28 dp Page panes, dialogs
extra large increased 32 dp
extra extra large 48 dp
full 50 % Buttons at rest, search bars, tags

mygo: the Corner* constants in mygo/ui/kit/draw.go.

Shape library and morphing

The expressive shapes of the Material shape library give the interface its character:

  • Avatars of plugins use a shape derived from a stable hash of the plugin name (9-sided cookie, 4-leaf clover, sunny, soft burst, 6-sided cookie, gem, pentagon, flower, puffy diamond, 4-sided cookie, arch, 8-leaf clover) and one of three colour pairs: primary fixed dim, secondary and tertiary container. Not secondary container, which marks selected list items, nor primary container, which some seeds (the vfox orange among them) make just as light. Hovering spins the shape by 30° on the fast spatial spring.
  • Empty and error states show their icon on a large shape.
  • Colour swatches morph from a circle into a flower, turning slightly, when selected.
  • The loading indicator morphs through soft burst, 9-sided cookie, pentagon, pill, sunny, 4-sided cookie and oval.

Shapes come from mygo/ui/shapes, a Go port of androidx.graphics.shapes; its Polygon and Morph types turn a shape, or a morph between two shapes, into a path that the components of mygo/ui/kit draw.

Shape morphing on interaction

Interactive elements change shape as they are used:

  • Buttons are fully rounded at rest and their corners shrink to 8 dp while pressed.
  • Connected button groups have fully rounded outer corners and 8 dp inner corners; the selected button becomes fully rounded and a pressed button's inner corners shrink to 4 dp.
  • Segmented list items have 20 dp outer and 4 dp inner corners; the inner corners grow to 12 dp while hovered, pressed or selected.
  • The trailing button of a split button becomes a circle while its menu is open.

Typography

The application uses the platform's sans-serif font (Ubuntu Sans on Ubuntu, with Noto Sans CJK for Chinese) and the Material 3 type scale. Material 3 Expressive adds an emphasized variant of each role with a heavier weight, used for page titles, list titles that need attention (the current version) and card titles.

Role Baseline weight Emphasized weight
Display, headline, title L 400 500
Title M, title S 500 700
Body L, body M 400 500
Label L, label M 500 700

mygo: Emph in mygo/ui/kit/theme.go.

Copy and density

The three interfaces say as little as they can. A text earns its place when it helps a person to understand, to judge or to act; what the layout already says is not said again.

  • A label is not explained. A title and its control say what a row does. A line under it is for what the control cannot say: the value (Default), a consequence that a person has to weigh, or a limit that an error would name later. What a setting is, where it is stored and what a mirror is belong in the documentation.
  • A format is an example in the empty field (j17, 17-system, KEY=value), not a caption under it. The field names the mistake when one is made.
  • An empty list has no sentence. It has what fills it: the button that names an alias, or an icon, a title and the action.
  • A page is not announced by a card. Nothing counts what the list below it holds, and nothing is a shortcut to a page that the navigation reaches.
  • No pane waits for a choice. Side by side, the list has its first item open, the one in use; the ways to add something besides the list are one menu, not a button each.
  • A section has a title and no caption, and a page has its title in the bar and no subtitle.
  • A consequence is said once, in the confirmation that asks, and not again in the row that opens it.
  • A name is explained where it is typed. The guide of a plugin is in the dialog of the names, not in its options. The notes of a profile are the few sentences that no control says, at most three.
  • An icon tells rows apart. Rows that start with the same icon have an icon that says nothing; the rows of a settings list each have their own.
  • A row has one action. The others are in its menu: a split button, or the overflow button. The segments of a segmented control are one action.
  • Sizes are the ones of the type scale (11, 12, 14, 16, 22, 24, 28, 32, 36, 45 and 57 px); the monospace of code, 13 px, is read as a size of its own.

Budgets

The census of a screen is taken by webheap -audit for the web interface, and by TestTheScreensAreWithinTheBudgets for the desktop application (how to take them). The test draws 39 scenes in fourteen windows: 1280 dp wide in the light and in the dark theme, 700, 412 and 360 dp wide (the narrowest that the application opens in), with the text that the system makes larger, 130 % and 150 % at 360 dp, 150 % at 412 dp, and 200 % at 360, 700 and 1280 dp, and in Chinese, 360 dp wide at 100 % and at 200 %, and 1280 dp wide. The 18 screens that are a dialog, a menu or a tooltip are drawn in three windows more, the shortest that the application opens in, 360 by 480 dp, at 100 % and at 200 %, and a window as short and 1280 dp wide: the screen is reached in a window as tall as it needs, and the window is made shorter, as a person makes it, and a menu is opened from a button that has been scrolled to. What a dialog has below its fold is counted there, too: its content is scrolled to its end, and to the position between its start and its end, as the list of a page is. It fails when one of them is over a budget. A dp of the desktop is a px of the web interface. A page that is taller than the windows (the settings, the options of a plugin, the lists of the plugins and of the distributions of Java: up to 9 500 dp at 200 %) is drawn in a window as tall as it is, so that what it has below the fold is counted, too; a page that has a list with more rows than any window shows (the versions of Node.js) is counted by the rows that it shows, and a list that scrolls (that one, and the distributions of Java in their dialog) is drawn at its end, too. A screen is held to:

Census Budget
Texts under the contrast of WCAG AA (4.5:1; 3:1 for large text) 0
Page wider than its window no
Page taller than its window (what is below the fold is not counted) no
Controls under 24 px 0
Sizes off the type scale 0
Rows of a list with two buttons that have words on them 0
Lists in which three rows or more start with the same icon 0
Sentences of eight words or more 3
Small lines of four words or more 3
Titles, the texts of controls and of tooltips that an ellipsis cuts short, in a line or in the lines they may have 0
Controls and texts that a row of a list holds and that are drawn beyond its padding 0
Texts drawn over one another (a field's label is a little over the line that it holds, and its letters do not touch it) 0
Texts drawn beyond the control that they are the label of 0
Dialogs and menus that have their actions, or their panel, where a person cannot reach them 0
Icons that the table of the icons does not have (desktop only) 0

The Chinese windows are held to the budgets of the layout, and not to the two of the copy (the sentences and the small lines), which count the words as English has them: a character of Han is a word for the census, and a sentence of eight of them is a short one. A language that has no spaces has another way to be too wide for its room, a word that is all one run of characters, and what breaks a word at any character (see Long words below) is what it breaks by.

Larger text. The text of the system may be larger, up to 200 %, which the budgets promise, and the largest that a system offers is 225 % (the "Make text bigger" of Windows), where the screens are drawn, too; the budgets hold at every size in every window. What holds text is as wide as the text: where there is no room for it, a control goes under the text that it was beside (the end of an item of a list, the actions of the header of a page and of a dialog), a group of segments gives up its padding and its icons and then is a dropdown (the tabs, the theme, the language, the filters, the addresses of the pairing), and a button, a chip, a tag, the name of a choice, the title of a group and of a card, the choice that a dropdown shows and an entry of a menu go on as many lines as they need, and are not cut by an ellipsis. A text field is as high as its label and its line need (56 dp at 100 %), and the label of it is as wide as its line, which a button beside it leaves; the label is copy, and goes on as many lines as the room of the field needs, and the field is as high as they are ("Project directory" wants 252 dp of the 232 that the field of the dialog that uses a version in a project has, at 200 % in a text that is wider by two fifths, and is two lines). The title of a group and of a card are copy, and the census counts them where it says that a text is cut, as it counts the text of a tooltip, which is the name of its button and goes on as many lines as it needs. What has a room that does not grow is read at 130 % at the most, and smaller where the longest of its labels does not fit the room, down to 100 %: the labels of the navigation bar, which has a fifth of the window for each, and those of the rail, which has its 96 dp. The bar is as high as its labels are, which a font may set higher than they ask (Noto Sans, and the font that the Han characters of a Chinese label fall back to, by 2 to 3 dp): it grows by that, and is not a height that holds a line as high as it was meant to be. So is each item of the rail, and the count of a badge is as large as they are.

Short windows. A window may be as short as 480 dp, which is less than the dialog of the mirrors or of the pairing is at 100 %. A dialog keeps its title and its actions where they can be pressed, and what is between them scrolls; a menu is as tall as the room that the side of its button with the most has, and scrolls (kit.Menu). The census asks it (Census.Spilling): the actions of a dialog are drawn, in the dialog and in the window; the panel of a menu is in the window; nothing of a dialog is drawn wholly outside it.

Long words. A word that has no space to break at, a name, an address, a path or a link, and that is longer than its room, breaks at any character (kit.Breakable, which an item of a list does for its strings): it is not cut with an ellipsis, it does not stick out of what holds it, and what is beside it goes under it before it is broken, so only a word that does not fit alone is. A box that holds such a word has to be told it may be narrower than the word (MinWidth(0)): the least width of a box in a row is that of its longest word, and it carries up through every box that holds it.

The widths that follow the text are measured (the segments, a button, the lines of a fingerprint, the room of an item) or grow with the text scale (a field, the cards of the registry), and none is a width that was measured once with one font. The census takes 200 % in the narrowest window, in one of the rail and in the widest, which are the three layouts, and 130 % and 150 % where the room is the least. The layouts do not promise that what holds at 200 % holds below it, so the sizes in between are looked at and not assumed: TestTheScreensAreWithinTheBudgetsAtEverySizeOfText takes 115, 130, 150 and 175 % in four widths, in English and in Chinese, when VFOX_PLUS_CENSUS_SWEEP=1 asks for it, which CI does on every platform and the sandbox does; run it after a change of a layout to know before the push.

Fonts. Nothing of the layout is written for the width of Ubuntu Sans, which the pictures are in: the widths follow the text as the font sets it. That is shown, and not said. TestTheScreensAreWithinTheBudgetsInTheFontsThatTheSystemChooses draws the scenes in what the system gives for sans-serif and monospace (its log says which font that is on the machine that runs it), and TestTheScreensAreWithinTheBudgetsInTheWidestFontsThatTheSystemHas in the three widest of the families that systems and desktops set their interface in (Verdana, DejaVu Sans, Geneva, Inter and the like, as the text engine measures them; its log says how much wider than sans-serif each is). Both take the narrowest window at 100 % and 200 %, and the widest. Verdana is the widest of the fonts of text that every Windows and every Mac has, 15 % wider than Segoe UI and 10 % wider than the system font of macOS, and the test fails on those systems where it is not among the fonts that it tries. The widest of every family that the engines list is not the choice: that is Segoe Script, Zapfino and an emoji font, which no screen is set in. The widest of them is drawn in Chinese, too (360 dp at 100 % and at 200 %, and 1280 dp), where what is not Chinese on a screen, the names of the SDKs, the versions and the paths, is set in it, and the Han characters in the font that the system chooses for them.

Text that is wider than any font. No system sets its interface in a font wider than Verdana, and a translation is wider than that: German, Finnish and Russian set the same words in a third to a half more characters than English (the W3C leaves a third, and more for what is short). No machine has the font that would show it, so TestTheScreensAreWithinTheBudgetsInATextThatIsWider makes the text wider by letter spacing, as the tools of pseudo-localization do (kit.Tracking, which the labels draw and every layout that measures a text measures with, calibrated on a line of English in the font of the machine): by two fifths at every size of text, in 360 dp at 100 %, 150 %, 200 % and 225 %, at 700 and at 1280 dp at 100 % and 200 %, in English and in Chinese. The machines that CI takes are held to a width of text that no font of theirs has. This is how the labels of the navigation bar and of the rail, a text field and the entries of a menu were found not to hold. CI takes the census where the text engine and the fonts are not those of Linux, and in more than one version of each, so that the layout is held in them and not assumed to hold: on Windows Server 2025, Windows Server 2022 and Windows 11 on ARM, where DirectWrite has Segoe UI and Arial for sans-serif and Cascadia Mono, Consolas and Courier New for monospace, and on macOS 26, macOS 15 and macOS 15 on Intel, where Core Text gives the system font and its monospaced kind. There is no Ubuntu Sans on those, so that the census itself is in the font of the platform. On Linux the job installs the fonts that the desktops set their text in (Adwaita Sans, Cantarell, Noto Sans, Inter, Open Sans, Roboto, Lato, Liberation Sans and FreeSans) beside DejaVu Sans, which the runners give for sans-serif and which found a chip that the others did not. The screens are within the budgets in all of them. What the census trusts is what the text engine measures: TestTheScreensAreWithinTheBudgetsMeasureWhatTheyDraw draws the labels of the navigation bar, at the weights and sizes that it uses, in the default family and in the widest, once as wide as they want and once in a box of the width that the engine measured, and fails when the box cuts one or the width is not the one that is drawn: it has found no label, on any platform that CI takes, that a box of the measured width cuts. The census holds a text to that width to 0.05 dp, as the engine ends a line with an ellipsis for any width that it has less than the text wants. A dp of slack, which the census had, hid a label that was short by 0.4 dp: Settings drawn as Settin… in the bar on macOS, in Verdana (which has a regular and a bold, so that the weight of 500 is drawn as bold) at 200 % in 360 dp, where CI measured it at 72.26 dp on the three Macs, and its slot had 72.

Motion

Material 3 Expressive replaces durations and easing curves with springs. Spatial springs move, resize and reshape and may overshoot; effects springs change colour and opacity and never overshoot. Each comes in three speeds: fast for small components, default for partial-screen changes, slow for full-screen changes. All springs have unit mass.

Spring Expressive (damping ratio / stiffness) Standard
Fast spatial 0.6 / 800 0.9 / 1400
Default spatial 0.8 / 380 0.9 / 700
Slow spatial 0.8 / 200 0.9 / 300
Fast effects 1 / 3800 1 / 3800
Default effects 1 / 1600 1 / 1600
Slow effects 1 / 800 1 / 800

vfox-plus uses the expressive scheme:

Element Spring
Button, button group, split button and list shapes fast spatial
Hover spin of avatars, selection of colour swatches fast spatial
Navigation rail expanding and collapsing default spatial
Navigation indicator growing, icon fill fast spatial / fast effects
Dialogs scaling in default spatial (scale), default effects (fade)
Page transitions (fade through, shared axis) slow effects in the web interface; none on the desktop and in the phone app
Progress of the wavy indicator, wave amplitude default spatial / default effects
Loading indicator morph 0.6 / 200, every 650 ms, plus a 4666 ms rotation

A spring keeps its velocity when its target changes mid-flight, so interrupted animations stay smooth. Where an API only accepts a duration and a curve (dialogs), the spring is sampled into a curve over the time it needs to settle; page transitions, which bring their own curves, last as long as the slow effects spring needs to settle. The desktop asks for less motion whatever the platform asks: springs jump to their target and indeterminate indicators stop, and its views give way at once, since the layers that a transition draws its children in cost memory (memory).

The web interface is such an API: CSS has durations and curves, no springs. Its --sp-* variables are the six springs, each as --sp-NAME-t, the milliseconds that it needs to settle, and --sp-NAME, its step response sampled into a linear() curve with as few stops as keep the line within 0.6 % of the curve. Every transition and animation takes its time and its curve from them; a dialog scales in on the default spatial spring while it fades in on the default effects spring, which makes two animations. A test in mygo/gateway recomputes the variables from kit.Expressive and fails, printing the lines to paste, when they differ, and when a declaration has a duration or a curve of its own (the wavy progress and the loading indicator, which run until the work is done, are the exception). A browser without linear() keeps the Bézier curves that the page had before. The phone app takes the springs from the same theme. When the system asks for less motion, it follows that, as the desktop does: its springs jump to their target.

mygo: the springs and AnimateTo in mygo/ui/kit/motion.go, drawn only while they move, so the window is idle when nothing changes.

Transitions

On the desktop and in the phone app none of these is drawn, for the memory that the layers cost (see above).

  • Between top-level destinations: fade through.
  • From the SDK list to an SDK on narrow windows: shared axis, horizontal.
  • Between SDKs in the detail pane: fade through.
  • Pages opened from the application's own routes (licenses): fade forwards.

Refresh rate

A frame has 8.3 ms at 120 Hz, and every client keeps within it:

  • mygo: the toolkit draws at the refresh rate of the display, and the desktop draws a frame when something changes (see Motion). Where the CPU draws the window (no GPU, as in virtual machines and WSL), a transition that scales redraws every pixel of the page in each frame and takes 10 to 40 ms, which is why the toolkit's transitions only fade there (kit.Env.Software, set from Painter.Accelerated).
  • Web interface: animate transform and opacity, which the compositor runs without the main thread of the page, and not left, top or height. A long list sets content-visibility: auto, so that opening its page lays out only what is on the screen (the plugin cards took 58 ms to lay out on a phone six times slower than a desktop, 16 ms with it).
  • Android: many phones keep ordinary windows at 60 Hz, so mygo's Android host asks the display for its highest refresh rate, with Surface.setFrameRate on Android 11 and later (SurfaceWindow.kt of mygo), and the phone app runs in that host.

Components

Component Specification mygo
Navigation rail (collapsed 96 dp, expanded 240 dp, with menu button and FAB) Navigation rail NavRail in ui/kit/nav.go
Navigation bar (compact windows) Navigation bar NavBar in ui/kit/nav.go
Connected button group (single selection) Button groups ButtonGroup in ui/kit/group.go
Split button Split button Button in ui/kit/button.go
Icon buttons (expressive sizes and shapes) Icon buttons IconButton in ui/kit/button.go
Common buttons with pressed shape morph Buttons Button in ui/kit/button.go
Loading indicator (contained and uncontained) Loading indicator LoadingIndicator in ui/kit/loading.go
Wavy linear progress indicator (determinate and indeterminate) Progress indicators WavyProgress in ui/kit/loading.go
Segmented lists Lists ListGroup, ListItem in ui/kit/list.go
Filter chips Chips FilterChip in ui/kit/chip.go
Search bar, cards, dialogs, menus, snack bars, switches, text fields Material 3 SearchBar, Card, Menu, dialogs and snack bars in ui/kit, themed in ui/kit/theme.go

Phone app

The phone app is a native mygo application (mygo/phone). It builds its screens from the components of ui/kit, the same components as the desktop application, in the same theme (seed colour #F28C1B). It shows no web page: it talks to the server for other devices through its API, and its screens follow the web interface (the home, SDKs, plugins, tasks and settings tabs, and the pairing screen). Its build and signing are in packaging-android.md.

Wavy progress indicator

  • Track and active indicator: 4 dp thick, rounded ends; a 4 dp gap between them.
  • Active indicator colour primary, track secondaryContainer.
  • The wave has an amplitude of 3 dp and travels one wavelength per second. Its wavelength is 40 dp when determinate and 20 dp when indeterminate.
  • Determinate: the wave flattens below 10 % and above 95 %, and a 2 dp stop indicator marks the end of the track.

Filter chip

  • 32 dp high, 12 dp padding, label labelLarge. Off: an 8 dp pill with a 1 dp outlineVariant outline and onSurfaceVariant content. On: a secondaryContainer pill with onSecondaryContainer content, no outline, a check mark in front.
  • The chip morphs with the fast spatial spring when its state changes: the corners grow from 8 dp to the full height as the filter comes on, the outline fades out, the fill fades in, and a check mark of 18 dp slides in by widening the chip; while the chip is pressed its corners pinch to 4 dp.
  • A row of chips wraps; the chips of one row are alternatives. The web interface draws the same chip in CSS (.chip), with the same radii and the same spring (--sp-fast-spatial).

Loading indicator

  • 48 dp by default; the active indicator is 38/48 of the size.
  • Uncontained: primary. Contained: onPrimaryContainer on a primaryContainer circle.

Icons

Icons are Material Symbols, Rounded style, at weight 400, grade 0 and optical size 24: the icon of the selected navigation destination is filled (FILL 1) and the others are outlined (FILL 0). The icons and their meanings are listed in shared/icons.json, which also pins where they come from: the npm package @iconify-json/material-symbols (Apache-2.0, 1.3 MB; its version and the SHA-512 of its tarball). vfxtool prepare downloads it once into the cache, checks it and cuts the SVGs of the symbols in use out of it, SYMBOL.svg outlined and SYMBOL-fill.svg filled, so that no icon is committed. mygo draws an SVG in the colour of the text (ui.Icon), so the application carries no icon font; the fill that the navigation and the buttons animate is the cross-fade of the outlined and the filled icon, and the SVGs (about 70 KB) are parsed when an icon is first drawn.

The phone app draws the same symbols from the same SVGs: its build embeds the icons that shared/icons.json names, as the desktop application does, and ui/kit draws them in the colour of the text. Nothing is added for the phone app. Its launcher icon has another source, drawn by vfxtool appicon (Application icon).

Application icon

The application icon is the fox of the vfox logo, redrawn in the Material 3 Expressive shape language (shared/packaging/linux/dev.vfox.VfoxPlus.svg).

  • Character. The same fox as the avatar of the version-fox organisation: an orange face with cream cheeks that form a "V", cream inner ears, a dark nose and round dark eyes with a highlight. It has no outline, and its corners are rounded with large radii, like the shapes of the library. The two ears and the two cheek tufts make a silhouette that is still a fox at 16 px.
  • Plate and halo. An indigo plate, the colour opposite the fur, and behind the fox the 9-sided cookie of the shape library as a soft halo.
  • Colour. Fur #FFB63F to #FF8419 (top to bottom), cheeks #FFFFFF to #FFE7CB, inner ears #FFE3C4, eyes and nose #17123F; plate #5444E4 to #1B1268 (top left to bottom right); halo white at 12 % to 3 %.
  • Legibility. One large, simple shape without text. Measured on the drawing, the fur is at least 3.2:1 against what is behind it (WCAG asks 3:1 for graphics), the cheeks at least 5.9:1, and the eyes against the fur at least 7.1:1. The fox is two thirds of the plate on the desktop, and on Android it stays inside the 66 dp safe zone of the adaptive icon, so that circle, squircle and rounded square masks show it whole.

One drawing serves every platform:

Platform Files Notes
Linux shared/packaging/linux/dev.vfox.VfoxPlus.svg The master, on a squircle plate. vfxtool build-deb installs it as the scalable icon. The AppStream metadata next to it names the colours that software centres put behind the icon: #FFDCC1 for the light and #6B3B04 for the dark theme, the primary containers of the colour scheme of the vfox orange (the --m3-primary-container of the web interface).
Android launcher icon.png and icon-foreground.png in mygo/phone/resources, written by vfxtool appicon mygo/phone/resources and named by mygo/phone/mygo.json The launcher icon, and the adaptive icon of Android 8.0 and later: the foreground is the full-bleed plate with the halo and the fox, and the background #1B1268 shows where a launcher moves the foreground. The adaptive icon has no monochrome layer: mygo.json names only the foreground and the background.
Windows Assets/*.png in the .msix Drawn by vfxtool build-msix from the same paths (shared/tooling/internal/appicon), because no image is committed.
Web interface mygo/gateway/favicon.svg The plate and the fox without the halo, and the fox larger, which still reads at 16 px. Every page of the gateway inlines it as a data URI (favicon.go), so that the pages make no request for an icon; the web interface shows it as the brand mark of its navigation rail, and its web app manifest names it as the icon of the installed application (an SVG icon of the size any is one that Chromium accepts for installing).

The SVG is the master: the icons that appicon draws (the phone app's, and the Windows tiles) and the favicon repeat its paths, and go test in shared/tooling (for appicon) and in mygo/gateway (for the favicon) fails when they differ.