MyNixOS website logo

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 conaining 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.
Declarations
Type
attribute set of (JSON value or absolute path)
Default
{ }