Skip to main content

Module presets

Module presets 

Source
Expand description

All 27 preset themes — the single source of truth for every colour used by both the GUI and TUI front-ends.

Each public function returns a fully-populated AppTheme with concrete RGB values. The theme_by_index dispatcher maps a 0..=26 index to the matching constructor; out-of-range indices silently fall back to default().

Constants§

THEME_COUNT
Total number of themes.
THEME_NAMES
Ordered theme names. The position in this slice is the canonical index.

Functions§

catppuccin_frappe
catppuccin_latte
catppuccin_macchiato
catppuccin_mocha
default
dracula
forest
grape
gruvbox_dark
gruvbox_light
kanagawa_dragon
kanagawa_lotus
kanagawa_wave
mono
moonfly
neon
nightfly
nord
ocean
oxocarbon
rose
solarized_dark
solarized_light
sunset
theme_by_index
Get a theme by index (0-based). Returns default() for out-of-range.
theme_index_by_name
Find theme index by name (case-insensitive ASCII). Returns 0 (Default) if no match is found.
tokyo_night
tokyo_night_light
tokyo_night_storm