Repository navigation
feat: add Prelude themes for Process Compose - #68
Merged
Merged
Conversation
Co-authored-by: cooper <czxtm@users.noreply.github.com>
cooper (czxtm)
had a problem deploying
to
docs-preview
September 29, 2026 03:44 — with
GitHub Actions
Failure
Contributor
|
Preview |
Co-authored-by: cooper <czxtm@users.noreply.github.com>
cooper (czxtm)
marked this pull request as ready for review
September 29, 2026 03:46
Contributor
|
Docs preview |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
github:Platonic-Systems/process-compose-flake, pinned inflake.lockto464ff6880737f063c3f0d3d2c7781fda9190868f.process-compose-flakeexposesflakeModule,lib, and a template; its module exposes process settings and CLI wrapper options, but no Process Compose theme-definition hook (theme,themes, style attrsets, or custom-theme file option).inputs.prelude.lib.themes) and map those Nix theme definitions into Process Compose's supported customtheme.yamlschema.stackpanel.process-compose.themeto select a Process Compose theme, defaulting to the active Prelude theme orminted..stack/gen/process-compose/theme.yamland launch Process Compose with--theme "Custom Style"via the existingdevwrapper.Approach
process-compose-flakedoes not expose a first-class theme mechanism. Because upstream Process Compose itself loads custom TUI themes from a config directory (theme.yaml) and activates them asCustom Style, Stackpanel now uses Prelude's Nix theme attrset as the source of truth and renders only the required Process Compose custom theme file. This avoids hand-copying Prelude colors while still using the only theme mechanism Process Compose provides.Ported themes
Sourced from
inputs.prelude.lib.themes:phosphormintedambersolarizednordgruvboxmonoapathypaperpreludeConfig paths and selection
nix/stackpanel/modules/process-compose/themes.nix.stack/gen/process-compose/theme.yamlstackpanel.prelude.theme; if that is unset, it falls back tominted.Verification
git diff --checkandgit diff --cached --checkpassed.nix,bun,nixfmt,alejandra, orbdavailable on PATH.