programs.opencode.themes

Custom themes for opencode.

This option can either be:

If an attribute set is used, the attribute name becomes the theme filename, and the value is either:

If a path is used, it is expected to contain theme files. The directory is symlinked to $XDG_CONFIG_HOME/opencode/themes/.

Set programs.opencode.settings.theme to enable the custom theme. See https://opencode.ai/docs/themes/ for the documentation.

Type
(attribute set of (JSON value or absolute path)) or absolute path
Default
{ }
Declared
<home-manager/modules/programs/opencode.nix>