Add prompt integrations for Pure and Tide#7
Merged
mvllow merged 3 commits intorose-pine:mainfrom Mar 7, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Exposes the base palette color (main: 191724, moon: 232136, dawn: faf4ed) as a fish_color_* variable, enabling prompt integrations like Tide to reactively pick up the value via --on-variable handlers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Mar 6, 2026
Collaborator
Author
|
@mvllow Once this is merged, we can archive/remove the tide/pure repos. |
Member
|
I don't think the .nvmrc is needed, but otherwise looks good! Also readme should be updated. |
Collaborator
Author
Thanks for the feedback. I'll update the readme. |
65f2e9b to
863a2d2
Compare
Reactive color configs that automatically apply Rosé Pine palette colors to Pure and Tide prompts using --on-variable handlers. Colors update automatically when switching between Rosé Pine theme variants. Each file guards against the prompt not being installed (type -q) and against non-Rosé Pine themes (set -q on custom palette vars). Update README with prompt integration docs, screenshots, and fish_color_base in the custom variables list. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
863a2d2 to
5c2be22
Compare
Collaborator
Author
|
Updated the Readme 😄 |
Member
|
Thanks for working on this @simono and thank you @ThatOneCalculator for taking a look. Merging :) |
Member
|
Also, as far as the nvmrc, I will be going through our repos one day using our bloom tool and can cleanup that file once npx is no longer required. |
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
fish_color_basecustom variable to all themes (exposes the base palette color)conf.d/rose-pine-pure.fish— reactive Pure prompt colorsconf.d/rose-pine-tide.fish— reactive Tide prompt colors.nvmrcfor build scriptHow it works
Each conf.d file defines individual
--on-variablehandlers that map Rosé Pine palette vars (fish_color_rose,fish_color_foam, etc.) to prompt-specific vars (pure_color_*,tide_*). Each handler only fires when its source var actually changes between variants.Guards:
type -q _pure_prompt/type -q tide— skips entirely if the prompt isn't installedset -qon each palette var — skips if no Rosé Pine theme is activeInstallation
Zero config — just
fisher install rose-pine/fishand set a Rosé Pine theme. If Pure or Tide is installed, their colors are applied automatically.This replaces the need for separate
rose-pine/pureandrose-pine/tiderepos.Related: rose-pine/rose-pine-theme#161
🤖 Generated with Claude Code