Skip to content

fix: handle dim & bold modifier correctly#26

Merged
sindresorhus merged 4 commits intosindresorhus:mainfrom
hyperz111:fix-bold-dim
Aug 19, 2025
Merged

fix: handle dim & bold modifier correctly#26
sindresorhus merged 4 commits intosindresorhus:mainfrom
hyperz111:fix-bold-dim

Conversation

@hyperz111
Copy link
Copy Markdown
Contributor

@hyperz111 hyperz111 commented Aug 18, 2025

In this PR, i make yoctocolors handle dim and bold modifier correctly.

import y from "./index.js";

console.log(`Hello ${y.dim("world")}, ${y.bold(`are ${y.dim("you")} ok`)}?`)

IMG_20250818_200055.jpg

@sindresorhus sindresorhus merged commit 3fa605e into sindresorhus:main Aug 19, 2025
2 checks passed
@sindresorhus
Copy link
Copy Markdown
Owner

Thanks for fixing 👍

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.

2 participants