Skip to content

Conversation

@dreyfus92
Copy link
Member

@dreyfus92 dreyfus92 commented Oct 15, 2025

Closes: #338

@changeset-bot
Copy link

changeset-bot bot commented Oct 15, 2025

🦋 Changeset detected

Latest commit: 98c8c2a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@clack/prompts Minor
@clack/core Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dreyfus92 dreyfus92 changed the title refactor(core + prompts): replace picocolors with styleText utility for consistent styling across prompts refactor(core + prompts): replace picocolors with styleText Oct 15, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 15, 2025

@example/basic@example/changesets

npm i https://pkg.pr.new/bombshell-dev/clack/@clack/core@403
npm i https://pkg.pr.new/bombshell-dev/clack/@clack/prompts@403

commit: 98c8c2a

@43081j
Copy link
Collaborator

43081j commented Oct 15, 2025

looks good to me

i left a raft of comments but they're all the same thing:

you can use styleText(['dim', 'red'], str) for example (i.e. you can pass multiple styles)

@dreyfus92
Copy link
Member Author

looks good to me

i left a raft of comments but they're all the same thing:

you can use styleText(['dim', 'red'], str) for example (i.e. you can pass multiple styles)

Thank you for reviewing it, and nice catch. I forgot about using array notation for nested styles. It looks way much cleaner. 🫣

Copy link
Collaborator

@43081j 43081j left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

lets hold off merging until we (maintainers) catch up on the version constraint stuff but i think its good to go

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request] replace picocolors with styleText

2 participants