Theming
pulsar theme set <name> recolors the whole desktop in one step;
pulsar theme revert restores stock GNOME. The Pulsar theme is on by
default.
What ships
| Piece | Where |
|---|---|
| engine (python, stdlib only) | /usr/libexec/pulsar/pulsar-theme, from scripts/pulsar-theme; pulsar theme ... execs it |
| Themes app (libadwaita) | /usr/libexec/pulsar/pulsar-theme-picker, “Themes” in the app grid |
| 24 themes (listed below) | /usr/share/pulsar/themes/<slug>/theme.toml + backgrounds/*.jxl |
| per-target templates | /usr/share/pulsar/theme/templates/ |
| Shell extension (+ glass and light) | /usr/share/gnome-shell/extensions/pulsar-theme@arclight.digital, settings schema org.gnome.shell.extensions.pulsar-theme |
| image default | zz1-pulsar-theme.gschema.override: enabled-extensions only |
| first-login units | pulsar-theme-init.service, pulsar-theme-notice.service (user, --global) |
| GTK3 recoloring | adw-gtk3-theme |
| agent skill for making themes | /usr/share/pulsar/skills/pulsar-theme/SKILL.md, linked by pulsar agent add |
The 24 themes, in the order pulsar theme list and Themes show them. Dark
and light (16): Pulsar, Pulsar Holo, Ayu, Catppuccin, Everforest, Flexoki,
Gruvbox, Kanagawa, Nord, One, Oxocarbon, Redshift, Regolith, Rosé Pine,
Solarized, Tokyo Night. Dark only (7): Amber, Dracula, Eclipse,
Magnetosphere, Phosphor, Poimandres, Synthwave ’84. Light only (1): Alucard
(Dracula and Alucard are separate one-variant themes, as upstream ships
them).
- One-variant themes set Dark or Light Style when chosen and don’t change when it flips.
- Phosphor and Amber (CRT terminals) pull every ANSI color toward the phosphor while keeping its meaning.
- The classic themes (the 18 ported from published palettes) are generated
by
scripts/build-themes.py, from the base16/base24 schemes inassets/themes/imports/or from the upstream palette where there is no faithful base16 port. That file records each scheme, corrected slots (Tokyo Night’s base16 “red” is pale blue-white), and the contrast fit: text hues move in OKLab lightness only until they clear WCAG AA, keeping hue and chroma. - Pulsar, Pulsar Holo, Eclipse, Magnetosphere, Redshift and Regolith are written by hand; Pulsar and Pulsar Holo from DESIGN.md.
pulsar theme auditre-checks all of it; the Containerfile refuses to build if any theme fails.
What one switch writes
All in the user’s own config, each file replaced with rename(2), in one transaction:
- accent: the libadwaita accent nearest the theme accent’s hue (live
everywhere, Flatpaks included, via the settings portal);
slateonly for a gray accent, andgnome_accentin theme.toml overrides it. A Dark Style flip re-sets it when the other variant’s differs.color-schemeis written only by a one-variant theme or--variant. ~/.config/gtk-4.0/gtk.css: libadwaita color variables in a marked block appended to the user’s file, both variants under@media (prefers-color-scheme).~/.config/gtk-3.0/gtk.css+gtk-theme=adw-gtk3[-dark]for the current scheme (GTK3 has no media queries). On a Dark Style flip the extension runspulsar-theme follow-schemeto redo it (open apps on their next window).- Ptyxis: a palette on every profile, following Dark Style.
- GtkSourceView: a scheme pair; Text Editor recolors its window from it.
- btop: a theme for the current scheme, redone by
follow-scheme. - wallpaper: the pair.
- Shell: two stylesheets in
~/.local/state/pulsar-theme/shell/, layered over the stock Shell theme by the extension and swapped on Dark Style. - terminal coding agents, where set up: Claude Code
(
~/.claude/settings.jsontheme), Gemini CLI (~/.gemini/settings.jsonui.theme, only where that file exists) and opencode (opencode 2’s~/.config/opencode/cli.jsontheme.name, or 1.x’stui.jsontheme) draw with the terminal’s 16 colors. Antigravity CLI does by default. Light themes give Claude Code and Gemini their own light theme instead (their ANSI light modes use color 7, nearly the background). Redone on a Dark Style flip; revert takes back only that key.--without agentsskips them. - Flatpak override: a read-only grant on
~/.config/gtk-4.0and~/.config/gtk-3.0so Flatpak apps read the same gtk.css.--without flatpakturns it off until--with flatpak; revert removes exactly the two entries.
Fonts and icons are never touched.
follow-schemenever overwrites a choice: a btop, agent or GTK theme the user changed after theming stops following. A fullsetoverwrites. First login keeps an agent theme the user already picked.- Dotfiles symlinked within the home folder (stow, chezmoi) are written through, on set and revert. Links outside home (Nix store, shared files) are skipped with a note. Files keep their permissions.
Revert
The first time the engine touches a file or key, the original goes into
~/.local/state/pulsar-theme/baseline/. Then:
- engine-only files (palettes, schemes, the btop theme, the Shell sheets) are restored byte for byte, or removed if new;
- shared files keep every user line, including later edits; only the
engine’s part goes (the
gtk.cssblock, the twobtop.confkeys, the Text Editor key, the two Flatpak entries); - dconf keys return to their original value, unless the user changed them since;
- Ptyxis profiles stay; only their palette key is reset.
Keys that showed the image default get GNOME’s upstream defaults (from the
schema XML, not Fedora’s or Pulsar’s overrides). The extension is removed
from enabled-extensions; other extensions stay. revert --to image resets
to the image defaults. tests/theme-gate checks the round trip.
First login
zz1-pulsar-theme.gschema.overrideonly enables the extension. Theme colors aren’t image defaults (they’d reach accounts init leaves alone); init writes them into a fresh account’s dconf before the Shell starts.pulsar-theme-init.servicerunspulsar-theme initonce per account, before the Shell. A fresh account gets the full theme, plus Themes on Super+T if unused. An account with its own look (gtk.css, accent, wallpaper, GTK or Shell theme, terminal palette, editor scheme or btop theme) is left alone.initwrites~/.local/state/pulsar-theme/init.json(the unit’s condition), so it runs once. A killed run leavesinit.pending, and the next login finishes it without mistaking engine values for the user’s.revertwrites it too, so a reverted account is never re-themed.pulsar-theme-notice.serviceshows the one notification after the Shell starts, then deletes the queued notice.- Existing accounts get this once, on the first login after the update. GDM’s
greeter accounts are skipped: init, the notice and the welcome check
pulsar-theme login-account.
Open apps
GTK reads gtk.css at startup. After a switch the engine lists open GTK apps
and offers Restart / Later / Don’t ask again (a dialog in Themes, a
terminal prompt, or a one-line note). Restart activates each app’s
app.quit (Ctrl+Q), so unsaved work gets its save dialog; nothing is killed,
and only apps that exited are relaunched. Don’t ask again sets
restart-prompt = off in ~/.config/pulsar/theme.conf
(pulsar theme config restart-prompt on undoes it).
Wallpapers
Pulsar has eight shader looks, one .glsl file each in
assets/shaders/looks/. looks.json there lists them in u_look order; the
folder also holds shared.glsl, which every look uses, and warp.glsl, an
alternative that doesn’t ship. Every classic theme
ships two of them rendered in its palette from assets/shaders/theme.frag,
dark and light, for bg-next; the site’s hero can show any of the eight in
any theme. What each one draws:
- nebula: a warped noise field with stars in its dark parts and thin glowing
lines along its contours, over a faint grid of circuit traces. It was
called silk until 2026-09-29: a render table that still says
look = "silk"renders it, and the old wallpaper paths (pulsar-silk-*.png,backgrounds/silk-*.jxl) stay as links; - leak: smooth beams of light whose edges split into color, with rays and specks of dust in them;
- satin: a pile of satin cloth with a sheen along its folds;
- holo: holographic foil in three columns of color, with rainbow fringes;
- relief: the contour lines of a topographic map, lit by one moving light;
- tide: the light patterns on the floor of a pool, each line split a little into color;
- orbit: the dark edge of a ringed planet, lit from behind by a low sun;
- beacon: a pulsar’s two beams sweeping through dust.
A look a theme has no render table for takes its colors and light
direction from the theme’s primary table. Light variants draw the looks in
low contrast, as white highlights and slight darkening on the light ground.
Highlights roll off
through a soft knee below the theme’s highlight color; no scanline raster
(it moirés when GNOME scales). glow, signal, web and grain tune each
render; the phosphor themes run stronger. The brand wallpapers and the
site’s live hero sky both use assets/shaders/pulsar.frag, which is written
GLSL 1.20-style. The wallpaper renderer compiles it under a #version 330
preamble, and the site runs it live in WebGL 1.
scripts/build.sh renders PNGs on the builder; the Containerfile converts
them to JPEG XL at q99. Measured on Phosphor’s Nebula, q99 is about 1.2 MB
against a 3.7 MB PNG; q97 kept about 60% of the film grain in the dark
gradients, and that grain is also their dither, so they banded. q99 keeps
about 90%. Both shaders end with a ±1-step
triangular dither. A --no-wallpapers build ships none, and every theme
falls back to the brand pair.
docs/theming/wallpapers-before.jpg and wallpapers-after.jpg are contact
sheets (regenerate with scripts/render-theme-wallpapers.py --sheet).
Glass and light
The Shell extension’s effects, each a setting in the Extensions app and on
the Appearance page of Pulsar Settings (the gear in Themes opens it;
org.gnome.shell.extensions.pulsar-theme), where Reset restores the
defaults. All are on by default except glass-off-gaming.
| Key | What it does |
|---|---|
glass |
Menus, the top bar, OSDs and notification banners go translucent over a live blur of what’s beneath, with a soft drop shadow. The dash gets the light and shadow without blur. |
glass-tint |
A slider from clear (0) to fully tinted (1), default 0.5: how far the color of what’s behind pulls the glass’s color, from twice the default pull at 0 to none at 1 (the theme’s color alone). Every blur takes it at once. |
window-glass |
Every GTK 4 and GTK 3 window’s ground is the palette’s background at 80% (alpha in gtk-4.0/gtk.css and, on a real window, gtk-3.0/gtk.css), over a blur the extension draws inside each window; Ptyxis’s profile opacity goes to 0.8, so the terminal matches (unless you set your own opacity). Sidebars, views and flat title bars paint nothing over that ground, so a window is one level. Bars drawn apart from the window (a raised title bar such as Image Viewer’s, plain header bars, tab, search and action bars) are solid in the header color. GTK 3 apps that draw their own window (Firefox, Chromium and Electron apps, Steam’s web views) get no blur and are unchanged. Sublime Text draws its own editor but gets the blur, because its menu bar is GTK’s and shows the ground. Popovers’ ground is 50%, floating dialogs 80% in the popover color; in-window sheets and toasts are opaque, and fullscreen windows are solid. Cards go a step lighter with a hairline edge. The GTK half applies to apps opened after a change; the terminal changes live. Windows open when it’s switched off keep their blur until closed. Needs glass. |
lighting |
The button that opened a menu glows, and the menu’s edge is brighter on the side facing that button, with a little light spilling past it. OSDs are lit from the bottom, banners from the top. Low battery warms the edge (orange); critical battery or a critical banner turns it red. Phosphor, Amber and Synthwave ’84 (shell_glow in theme.toml) also glow the clock and headings. |
power-on |
A surface’s rim traces out from the light as it appears (instant with animations off). Needs lighting. |
glow |
Accent-filled things glow softly: a checked quick toggle (a split one as one pill), today in the calendar, the default button, switches, checked boxes, the active workspace, slider fills. Reach and strength scale with each element’s size (wider and stronger on big pills, tight and faint on bars); weaker on light schemes. In apps opened after a change: suggested buttons, switches, checks and radios (GTK4 and GTK3), plus scale fills and progress bars (GTK4 only). Nothing inside list cells, nothing disabled. |
focus-brackets |
Four corner brackets follow the keyboard-focused control, beside the stock focus ring (not for pointer hover). |
glass-off-gaming |
Off by default. While a game is running (GameMode has a client), the Shell’s glass and light are off, as if switched off. Windows opened with glass keep it. |
glass-off-power-saver |
On by default. While the power mode is Power Saver, the Shell’s glass and light are off, as if switched off. Windows opened with glass keep it. |
- High contrast turns every effect off. On the lock screen,
glassputs a blurred ground over the wallpaper; the other effects are off there. window-glassandglowhave engine halves (window_glass(),glow_on()): flipping them makes the extension runpulsar-theme window-glass, which rewrites the GTK and terminal halves.- The Shell sheet’s
.pulsar-glass,.pulsar-litand.pulsar-glowblocks (glow fromgnome-shell-glow.css, appended to each scheme’s sheet) key off classes the extension puts on the UI group. - The blur: a half-size copy of the pixels beneath a surface, patched with
what each frame redraws, run through a dual-filter (Kawase) pyramid and
drawn through a full-resolution mask with rounded corners. It sits beside
each menu, not inside it, because GNOME paints menus through an offscreen
buffer (see
glass.js). Glass window surfaces sit at opacity 254 so Mutter still paints what’s beneath their opaque parts. - The theme gate’s account has every effect off (they move the pixels it measures).
When GNOME changes
The Shell stylesheet and the extension’s glass.js are built on GNOME Shell
internals. tests/theme-gate/gate.sh checks every selector against the new Shell’s
stock stylesheet and every theme in a real headless Shell (see its README).
The Containerfile refuses to build when the extension doesn’t declare the
image’s Shell major; shell-version is bumped only after the gate passes.
Written with help from AI and reviewed by a person before publishing. If you find a mistake, open an issue on GitHub.