Skip to content

Add built-in color presets with one-command switching #1243

Description

@sharziki

Problem

Jcode exposes all 22 semantic color roles through /colors, but switching to a cohesive theme currently requires manually setting every role or pasting TOML into config.toml. This makes experimentation and sharing themes cumbersome.

Proposed behavior

  • Add a small set of accessible built-in color presets.
  • Let users list presets and apply one with a single local command.
  • Persist the selected palette through the existing [display.colors] configuration.
  • Apply changes immediately without restarting.
  • Keep /theme dark|light|auto focused on terminal background mode.

Example:

/colors presets
/colors preset sonic

Acceptance criteria

  • Presets populate all semantic roles.
  • Unknown names return a useful error with available choices.
  • Existing custom colors and reset behavior remain unchanged.
  • Command completion, help text, documentation, and tests cover the new workflow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    autonomous: noNeeds your brain: a product/design decision is required before anyone acts.enhancementNew feature or requesttriage: needs-decisionNeeds maintainer decision/design thought

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions