Introducing a new way to review your PRs.

Read the announcement

omacom / omarchy

Beautiful, Modern & Opinionated Linux

View on GitHub

29 documents · Updated Nov 23, 2026

docs / theme-catalog-and-assets

Theme catalog and assets

The theme catalog provides named visual packages for the desktop and its supported applications. Each package uses a shared palette as its visual contract, then adds backgrounds, previews, intro media, templates, or application-specific settings where needed. Themes and visual customization gives the wider model; theme switching and application sync explains how a selected package becomes active.

Theme catalog

The catalog combines bundled themes under themes/ with themes under ~/.config/omarchy/themes. A theme directory is the unit shown by the list and picker, applied by the selector, and named by current-theme state.

Bundled theme directories

Each directory under themes/ is one visual choice. Names use lower-case words joined with hyphens, such as tokyo-night, rose-pine, catppuccin, and catppuccin-latte. Related themes can share a family while remaining separate choices.

The catalog does not require every theme to have the same optional assets. A package can provide a palette and backgrounds, while another can add settings for an editor, browser, compositor, or hardware device. This keeps the theme flow stable as the catalog grows.

catppuccin and catppuccin-latte show how related themes remain separate choices while using the same role-based palette contract. The first declares a dark mode and the second declares a light mode. Both also set icon_mark because the application icon palette needs a Catppuccin mauve that is not represented by a standard palette role.

References: themes/…/colors.toml• L1-34 themes/…/colors.toml• L1-34 bin/omarchy-theme-list• L6-9

Theme directory conventions

The common layout keeps colors.toml and other theme settings at the root, puts selectable desktop media in backgrounds/, and places matching intro clips in backgrounds/intros/. A preview helps the picker show a theme; it is not the palette or the active desktop background.

Bundled content is the base for the active theme. A matching user theme can add or replace content before the palette generates settings for supported tools. This lets a user adjust a bundled choice without changing its catalog name.

References: bin/omarchy-theme-set• L12-33 bin/omarchy-theme-set• L343-360 manual/43-making-your-own-theme.md• L1-17

Shared palette

colors.toml is the common color contract for a theme. It names colors by role, such as background, foreground, accent, selection, and status colors, so one visual choice can supply many tools without forcing them to share a file format.

Palette role

The palette also declares whether the theme is light or dark. That mode guides desktop settings and generated application themes. The named colors provide values for surfaces, text, emphasis, and status states.

The palette is the source for generated settings, not a complete description of every application. A tool that needs a special name, extension, or layout can use an application-specific asset in the same theme directory.

References: themes/…/colors.toml• L1-34 themes/…/colors.toml• L1-34 themes/…/colors.toml• L1-29 bin/omarchy-theme-set-gnome• L13-34 manual/43-making-your-own-theme.md• L3-5

Template relationship

A template turns palette names into a settings file for one tool. Omarchy renders built-in and user templates when a theme has a palette. An existing theme file can provide a direct override instead of a generated file.

The palette is the shared input and templates are the translation layer. The result is application-specific output that keeps one source of visual intent.

This diagram shows how a theme package feeds shared and tool-specific results.

flowchart LR
    A[Theme directory] --> B[colors.toml palette]
    B --> C[Built-in or user templates]
    C --> D[Generated application settings]
    A --> E[Direct application assets]
    E --> F[Application-specific sync]
    A --> G[Background and preview media]
    G --> H[Picker and desktop background]

References: bin/omarchy-theme-set-templates• L428-453 default/…/chromium.theme.tpl• L1 default/…/btop.theme.tpl• L1-20 manual/43-making-your-own-theme.md• L31-35

Background and catalog media

Backgrounds and previews have different jobs. Background media can become the desktop surface. Preview media helps a person choose a theme before activation.

Background media

Files in backgrounds/ form a theme's selectable background set. The set accepts image and video media. User media under ~/.config/omarchy/backgrounds/<theme-name>/ joins the bundled set without changing the bundled package.

The current theme remembers the last background chosen for that theme. When a theme changes, the system restores that choice when the file still exists. Otherwise, it selects the first available item. Changing the background changes desktop media without changing the palette.

The Ethereal theme includes 3-roadster-starlight.webp as a bundled still background. It is a selectable desktop image and does not change the theme palette or application settings.

References: themes/…/3-roadster-starlight.webp themes/…/1-starbase.webp themes/…/omarchy.webp• L1 bin/omarchy-theme-set• L120-170 bin/omarchy-theme-bg-next• L6-16 bin/omarchy-theme-bg-set• L12-25

Background intro media

An intro is an optional video paired with a still background by file stem. For example, a still named 1-starbase.webp can use backgrounds/intros/1-starbase.mp4. The intro plays during a theme change or at session start when animation is enabled.

The pairing keeps the still image as the stable desktop choice while the matching video supplies a transition effect. A missing intro does not prevent the background or palette from applying.

References: themes/…/1-starbase.webp bin/omarchy-theme-bg-boot-intro• L15-37 bin/omarchy-theme-set• L188-218

Preview and unlock media

A root-level preview image or video represents the theme in the picker. If it is missing, the picker can use the first suitable file from backgrounds/. preview-unlock.png and unlock.png serve a different flow: they represent the optional boot unlock design and its preview.

These files describe how a theme is shown or started. They do not provide application colors, and changing them does not change palette-driven settings.

References: bin/omarchy-theme-switcher• L23-41 bin/omarchy-theme-switcher• L89-107 bin/omarchy-plymouth-set-by-theme• L15-53 manual/43-making-your-own-theme.md• L27-29

Application-specific assets

An application-specific asset is a theme file written in the format expected by one tool or device. It carries choices that a palette alone cannot express, such as an editor theme, an icon set name, or keyboard colors.

Direct application settings

Bundled themes can include files such as neovim.lua, vscode.json, icons.theme, chromium.theme, btop.theme, keyboard.rgb, or shell.lock.toml. These files are optional. Their presence gives a sync path a direct theme choice or a ready-made format. Missing settings can fall back to palette-based output.

For example, vscode.json can name an editor theme supplied by an extension. Without that descriptor, editor sync can use a generated local theme from the shared palette. icons.theme supplies the desktop icon set name, so it is a setting rather than an image asset.

Application icons are a related case. The icon system derives roles such as icon_main, icon_mark, and neutral surface roles from the resolved palette because raw names do not have the same meaning in every theme. A palette may set icon_mark directly, as both Catppuccin palettes do, while a theme can also supply a complete icon that takes precedence over the template.

References: themes/…/vscode.json• L1-4 themes/…/neovim.lua• L1-12 themes/…/icons.theme• L1 themes/…/shell.lock.toml• L1-6 themes/…/colors.toml• L33-34 themes/…/colors.toml• L33-34 bin/omarchy-theme-icon-palette• L7-33 bin/omarchy-theme-icon-palette• L182-209 bin/omarchy-theme-set-vscode• L106-136 bin/omarchy-theme-set-gnome• L28-34 docs/theming.md• L395-410

Bundled and installed asset trust

Bundled themes and themes written by the user are trusted local inputs. A theme cloned from a Git repository is treated as visual data. Its palette, media, and color settings can be used, but files that can run code or change what a session starts are withheld.

This boundary does not make the palette unusable. Supported outputs can still be generated from colors.toml, and the installed theme can still contribute backgrounds, previews, icons, and other retained color-only settings.

References: bin/omarchy-theme-set• L22-33 bin/omarchy-theme-set• L214-316 bin/omarchy-theme-set• L347-360 manual/43-making-your-own-theme.md• L9-17

Change checklist

When these files or sections are changed, remember to consider these:

  • A new palette name must be understood by direct palette consumers and every template that uses it.
  • Palette roles used by generated icons must keep a clear fallback or a deliberate override such as icon_mark.
  • A new direct application asset must have a matching sync path. Otherwise, the file can exist in the theme and never affect the application.
  • A new background still that should animate must have a same-stem video in backgrounds/intros/ with a supported format.
  • Background media changes must keep bundled media, per-theme user media, remembered choices, and the active background link aligned.
  • Preview naming changes must preserve picker fallback and cache refresh behavior.
  • Changes to files allowed from cloned themes must keep visual data separate from files that can run code or change launch behavior.
  • A new template output must not replace a direct theme asset unless that precedence is intentional.

Important failure modes

TriggerConsequenceGuard
A theme has no colors.toml and no usable legacy palette sourcePalette-based templates do not produce application settingsKeep a valid palette in the theme or provide a supported legacy source for conversion
A theme has no supported background mediaThe palette can apply, but the desktop cannot select a theme backgroundAdd supported media under backgrounds/ or choose user background media
A still has no matching intro or uses an unsupported intro formatThe background applies without an animated transitionUse a same-stem video in backgrounds/intros/ with a supported video extension
A preview file uses an unsupported name or media typeThe picker has no dedicated preview and may show no useful thumbnailUse a supported root preview name or provide suitable media in backgrounds/
An application-specific file is added without a sync consumerThe asset remains in the active theme but the application keeps its old appearanceConnect the asset to the application's theme action or use a template output
A cloned theme supplies code-bearing or launch-related filesThose files are ignored during staging, so the theme may look only partly like its sourcePut visual choices in colors.toml or retained color-only assets
A theme remembers a background that no longer existsBackground selection falls back to the first available itemKeep remembered paths valid when renaming or removing theme media
A palette omits usable background, foreground, or accent colorsGenerated application icons cannot use the theme paletteProvide readable colors in colors.toml or accept the packaged icons

Key files

FileWhy to read it
themes/…/colors.tomlExample of a dark related palette and an explicit application-icon role.
themes/…/colors.tomlExample of a light related palette and its light-mode color contract.
themes/…/3-roadster-starlight.webpExample of a bundled still background in the Ethereal theme.
themes/starship/backgrounds/Example of still backgrounds that can be paired with intro media.
themes/…/vscode.jsonExample of an application-specific editor preference.
themes/tokyo-night/neovim.luaExample of a tool-specific theme selection.
bin/omarchy-theme-setShows how theme assets become active and how backgrounds are selected.
bin/omarchy-theme-set-templatesShows how the shared palette becomes generated application settings.
bin/omarchy-theme-icon-paletteShows how palette values become stable roles for application icons.
default/themed/Shows the common output shapes available to palette-driven applications.
bin/omarchy-theme-switcherShows how preview media represents themes in the catalog.
bin/omarchy-theme-bg-boot-introShows how still backgrounds map to optional intro videos.
bin/omarchy-theme-set-vscodeShows the choice between a theme-supplied editor descriptor and a generated editor theme.
docs/theming.mdExplains the application-icon palette roles and direct icon override.
manual/43-making-your-own-theme.mdStates the user-facing conventions and the trust boundary for installed themes.