nunomaduro / termwind

🍃 In short, it's like Tailwind CSS, but for the PHP command-line applications.
MIT License
2.29k stars 78 forks source link

Add full ANSI color support #147

Closed AdamGaskins closed 2 years ago

AdamGaskins commented 2 years ago

PR for #141. Allows Termwind to output all 16 standard ANSI colors, so the colors output can match the user's configured terminal theme.

Symfony Docs

image

FYI: I went with the class name format text-brightwhite since dashes aren't currently supported in color names (e.g. text-bright-white).

xiCO2k commented 2 years ago

@AdamGaskins can you rebase, looks like the pint update needed a style fix 🍺

AdamGaskins commented 2 years ago

@xiCO2k 👍🏻

nunomaduro commented 2 years ago

@xiCO2k If we are sure there is no breaking changes, you can merge.