# theme/list
List every theme file visible through the standard theme directory
chain, as sorted file stems.
## Syntax
[theme/list]
## Directory chain
The same chain `theme/load` searches: project `.deft/local/themes`,
user-home `local/themes`, prelude `:themes :dir`, the stdext mount's
`themes/`, and legacy `./themes` — deduplicated, first hit wins.
## Examples
[theme/list] # → @{:catppuccin-mocha :dracula :gruvbox-dark ...} [in? [theme/list] :dracula] # → true set t [theme/load [first [theme/list]]]
## Returns
A vector of keywords — the sorted `.dft` file stems. Feed any stem back
into `theme/load` (shadowed stems already appear once, under the layer
that wins).
## See Also
`theme/load`, `theme/save`