programs.opencode.themes

Home-Manager option

Custom themes for opencode. The attribute name becomes the theme filename, and the value is either: An attribute set, that is converted to a json A path to a file containing the content Themes are stored in $XDG_CONFIG_HOME/opencode/themes/ directory. 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)
Default
{ }
declared in: <home-manager/modules/programs/opencode.nix>source unavailable