ZAGROS

Customize

Themes

A theme is a TOML file. Put it in %APPDATA%\Zagros\themes\ (or <ZAGROS_HOME>\config\themes\) and set theme = "<name>" in zagros.toml. Leave theme empty to follow the Windows light/dark setting, which picks boxy-light or boxy-dark.

Built-in themes: boxy-light, boxy-dark, classic (dark, Keypirinha-like) and nord. A user theme whose name matches a built-in replaces it.

Partial themes #

Every key is optional. Missing keys come from the built-in Boxy theme that matches the file's dark flag, so a theme can be three lines long. If name is missing, the file name (without .toml) is used.

Keys #

Top level:

KeyDefaultMeaning
namefile nameTheme name used in zagros.toml
authoremptyCredit line
darkfalseMarks a dark theme; selects which Boxy theme fills missing keys
fontSegoe UIUI font
mono_fontCascadia MonoFont for code-like text
font_size11Points
width640Window width in pixels at 96 DPI
input_height52Query box height
row_height44Result row height
padding12Inner padding
border_width1Window and row border, 0 disables
radius0Corner radius, 0 is sharp
show_iconstrueShow item icons
show_tagstrueShow the provider tag on each row

Metrics are in pixels at 96 DPI and are scaled by monitor DPI.

[colors] takes "#rrggbb" strings (#rgb also works):

KeyUsed for
backgroundWindow background
borderWindow border and hairlines
input_bg, input_text, placeholderQuery box
text, text_dimResult title and subtitle
sel_bg, sel_text, sel_text_dimSelected row
accentSelection marker and focus ring only
tag, tag_bgProvider tag

Boxy #

The Boxy themes use square corners, 1px hairline borders and a cool gray ramp. Color is reserved for the accent (#0f62fe light, #78a9ff dark), which marks the selected row and focus and nothing else.

Example #

toml
name = "midnight"author = "You"dark = trueradius = 4width = 720 [colors]background   = "#10131a"border       = "#2a3040"input_bg     = "#161a23"input_text   = "#e6e9ef"placeholder  = "#66708a"text         = "#e6e9ef"text_dim     = "#8a93a8"sel_bg       = "#222839"sel_text     = "#ffffff"sel_text_dim = "#b4bcd0"accent       = "#7aa2f7"tag          = "#8a93a8"tag_bg       = "#1b2030"

An invalid file is skipped and the remaining themes still load.

Edit this page on GitHub