Closed AdamGaskins closed 2 years ago
If you use try to use a color that doesn't exist, Termwind throws ColorNotFound:
ColorNotFound
render('<div class="text-fakecolor">Hello World</div>') /* PHP Fatal error: Uncaught Termwind\Exceptions\ColorNotFound: FAKECOLOR */
However orange is available as a color in Termwind, even though it's not supported by Symfony. This causes a different error:
render('<div class="text-orange">Hello World</div>'); /* PHP Fatal error: Uncaught Symfony\Component\Console\Exception\InvalidArgumentException: * Invalid "orange" color; expected one of (black, red, green, yellow, blue, magenta, cyan, * white, default, gray, bright-red, bright-green, bright-yellow, bright-blue, bright-magenta, * bright-cyan, bright-white). in /vendor/symfony/console/Color.php:141 */
Thanks for that
rebase like the other, please 🍺
@xiCO2k 👍🏻
If you use try to use a color that doesn't exist, Termwind throws
ColorNotFound
:However orange is available as a color in Termwind, even though it's not supported by Symfony. This causes a different error: