POI2 themes27 portsGitHub
POIREADMEv0.1.0
A theme for the whole computer · Samaritan

Black screens, beige windows, a navy terminal

Near-black, off-white, one red

POI is one set of colour and shape tokens, written out for 27 tools: terminals, editors, the Rime candidate window, KDE and macOS, wallpapers and the web. Yellow marks the one thing in focus.

Samaritan is POI's second theme: the same tokens and the same 27 tools, drawn in flat one-pixel lines. Red is the only colour, and it marks the one thing in focus.

$npx github:pseudoyu/poi-theme install

Lists the tools it found and asks before each one. Every file it replaces is backed up first, and uninstall puts them back.

Or pick one of the 27 ports

Terminalzsh
># poi-theme apply machine
>#  ghostty:-------------------  Done
>#  neovim:--------------------  Done
>#  claude-code:---------------  Done
>#  rime-squirrel:-------------  Done
>#  zed:-----------------------  Done
>#  btop:----------------------  Done
># 
># poi-theme apply samaritan
>#  ghostty:-------------------  Done
>#  neovim:--------------------  Done
>#  claude-code:---------------  Done
>#  rime-squirrel:-------------  Done
>#  zed:-----------------------  Done
>#  btop:----------------------  Done
># 
Ghostty · Rime candidate window
Palette

Five surfaces, the same eight roles on each

One surface, eight roles

A tool draws on one surface and asks for a role, never for a hex. That is how one file can dress a black panel, a beige window and a navy terminal without the three drifting apart.

Every tool draws on the same near-black and asks for a role, never for a hex.

bgbg-2linetx-3tx-2txaccenton-accent
ScreenDesk, panels, status line
bg#050505
bg-2#101010
line#3c3c3a
tx-3#8b8b88
tx-2#c9c9c6
tx#e2e2df
accent#f2e02a
on-accent#0a0a0a
WindowApp windows, the web in light
bg#d4ccb8
bg-2#f7f3e8
line#8c8471
tx-3#5a5447
tx-2#3f3a31
tx#1d1b17
accent#f2e02a
on-accent#0a0a0a
TerminalGhostty, herdr, code
bg#0c1a3d
bg-2#1a2955
line#2a3a66
tx-3#8d93a8
tx-2#a9aec0
tx#ece4cf
accent#f2e02a
on-accent#0a0a0a
DataTables and monitors
bg#30301d
bg-2#4b4a2d
line#5c5a3b
tx-3#a69e72
tx-2#dccb8e
tx#f6ebc2
accent#f0c24a
on-accent#30301d
LogLogs, dark text on green
bg#46c27a
bg-2#2c9a5a
line#2c9a5a
tx-3#0f4424
tx-2#06200f
tx#000000
accent#06200f
on-accent#46c27a
bgbg-2linetx-3tx-2txaccenton-accent
ScreenEvery tool draws on this one
bg#0d0f0e
bg-2#171a19
line#3d423e
tx-3#7b827c
tx-2#bfc4be
tx#dfe2dc
accent#e3202b
on-accent#ffffff
Terminal, 16 colours
Signals, per surfacedangerokwarnlink

Three rules

Yellow is the one thing in focusRed is the one thing in focus

A selected row, the window in front, the candidate about to be typed. Never decoration, never two things at once. Whatever has the pointer or the keyboard also gets four corner marks.

Red is only for a threatFailure is said in words

Something failed, something will be destroyed. Never for emphasis, and always with the word beside it.

The accent is already red, so a failure is never colour alone: the word is always there, in the brighter red.

Square corners, one-pixel edgesFlat one-pixel lines

A thing you can press is raised, a thing you type in is sunken. No round corners, no blur, no shadow unless it floats.

Nothing is raised or sunken. A control is a one-pixel outline, and square.

Contrast, measured on every build

SurfacePairRatio
Windowtext10.7
Windowmuted text4.7
Terminaltext13.5
Terminalmuted text5.6
Screentext15.7
Datatext11.2
Logtext9.3
Screentext on the accent14.6
SurfacePairRatio
Screentext14.7
Screenmuted text4.9
Screentext on the accent4.7
Screenthe accent itself, marks and large text only4.1
Ports

27 tools, each written from the same token file

A port is one folder: the generator, the files it writes for each theme, and how to install and undo it. This is version 0.1: for the ports marked as in daily use, the files are the ones the author's computers run every day; the installer is new and has been tested against a temporary home folder only.

$npx github:pseudoyu/poi-theme install <id>
or open a port for its files and steps
Input method

The Rime candidate window, on macOS, Linux and Windows

One colour scheme for Squirrel, fcitx5 and Weasel. It goes in as a patch, so rime_ice and other schemas keep updating as they are.

One colour scheme for every zhu ti
# squirrel.custom.yaml, the part the installer adds
patch:
  style/color_scheme: poi_machine
  style/color_scheme_dark: poi_machine
  preset_color_schemes/poi_machine:
    name: Machine
    author: pseudoyu
    candidate_list_layout: linear
    candidate_format: "%c %@ "
    inline_preedit: true
    # square, with a thin line round the window
    corner_radius: 0
    hilited_corner_radius: 0
    border_height: 2
    border_width: 2
    shadow_size: 0
    font_face: "PingFangSC-Regular,HanaMinB"
    font_point: 16
    label_font_face: "IBMPlexMono-Regular"
    label_font_point: 12
    comment_font_face: "IBMPlexMono-Regular"
    comment_font_point: 13
    back_color: 0x101010   # #101010
    border_color: 0x3A3C3C   # #3c3c3a
    text_color: 0xC6C9C9   # #c9c9c6
    hilited_text_color: 0x2AE0F2   # #f2e02a
    hilited_back_color: 0x101010   # #101010
    candidate_text_color: 0xF2F4F4   # #f4f4f2
    comment_text_color: 0x888B8B   # #8b8b88
    label_color: 0x888B8B   # #8b8b88
    hilited_candidate_back_color: 0x2AE0F2   # #f2e02a
    hilited_candidate_text_color: 0x0A0A0A   # #0a0a0a
    hilited_candidate_label_color: 0x0A0A0A   # #0a0a0a
    hilited_comment_text_color: 0x0A0A0A   # #0a0a0a
# squirrel.custom.yaml, the part the installer adds
patch:
  style/color_scheme: poi_samaritan
  style/color_scheme_dark: poi_samaritan
  preset_color_schemes/poi_samaritan:
    name: Samaritan
    author: pseudoyu
    candidate_list_layout: linear
    candidate_format: "%c %@ "
    inline_preedit: true
    # square, with a thin line round the window
    corner_radius: 0
    hilited_corner_radius: 0
    border_height: 2
    border_width: 2
    shadow_size: 0
    font_face: "PingFangSC-Regular,HanaMinB"
    font_point: 16
    label_font_face: "IBMPlexMono-Regular"
    label_font_point: 12
    comment_font_face: "IBMPlexMono-Regular"
    comment_font_point: 13
    back_color: 0x191A17   # #171a19
    border_color: 0x3E423D   # #3d423e
    text_color: 0xBEC4BF   # #bfc4be
    hilited_text_color: 0x2B20E3   # #e3202b
    hilited_back_color: 0x191A17   # #171a19
    candidate_text_color: 0xEAEEEC   # #eceeea
    comment_text_color: 0x858B85   # #858b85
    label_color: 0x858B85   # #858b85
    hilited_candidate_back_color: 0x2B20E3   # #e3202b
    hilited_candidate_text_color: 0xFFFFFF   # #ffffff
    hilited_candidate_label_color: 0xFFFFFF   # #ffffff
    hilited_comment_text_color: 0xFFFFFF   # #ffffff
  1. Install

    ~/Library/Rime/squirrel.custom.yaml 3 keys under patch: the colour scheme itself, and which scheme is in use

    $npx github:pseudoyu/poi-theme install rime
  2. Redeploy

    Redeploy: the input menu, then Deploy, or ⌃ ⌥ `.

  3. Undo

    Puts the file back as it was before the first install.

    $npx github:pseudoyu/poi-theme uninstall rime
Wallpaper

Drawn for your screen, from the same tokens

No image files to scale. Give it a size and a name and it draws the panel, the frames and the table as vectors.

No image files to scale. Give it a size and a name and it draws the frame and this computer's node as vectors.

Theme
Size
×
A preview of the wallpaper at the chosen size

The table lists your own computers. Out of the box it holds only this one; add the rest in a small file of your own.

Out of the box it draws only this computer. Add the others in a small file of your own and each becomes a node.

The PNG is made in your browser, with the fonts this computer has.

Agents

Ask your coding agent to do it

The repository ships skills that teach an agent the theme, and a read-only server it can ask for tokens, files and previews.

Skills

$npx skills add pseudoyu/poi-theme
poi-theme
Install the theme here, switch between Machine and Samaritan, undo it. Checks each tool took the change.
poi-ui
Build or restyle a web page in the theme: roles for colours, the three rules, corner marks. Checks contrast before it says done.
poi-wallpaper
Draw a wallpaper for this screen's size and say how to set it.
poi-port
Write a port for an app that has none: the generator, its test and its entry in the list.

MCP server

$claude mcp add --transport http poi https://poi.pseudoyu.com/mcp
get_tokens
A theme's tokens as JSON, CSS variables or a Tailwind preset, whole or for one surface.
get_port
The files for one tool, where each goes, and the steps to install and undo.
preview
A picture of the palette, a terminal, the candidate window or a wallpaper in a theme.
check_colors
Colours in your CSS that are not in the theme, each with the nearest token, and the contrast of every pair.

POI (Palette of Interest) is an unofficial homage to how a certain machine saw the world. Every drawing here is original. It uses no footage, logos or names from any show.

MIT licence. The fonts are IBM Plex, under the SIL Open Font License. Line icons are Lucide, under ISC. The Telegram port alone is GPL-3.0.

v0.1.0Machine · classicMachine · darkSamaritantokens/machine.jsontokens/samaritan.jsonMIT