In this PR I will introduce a new util function for creating a box kinda like boxen but without deps! This was initially created for unjs/citty but now moved to consola. Thanks @pi0 for the idea.
The functionality is less than boxen but will get the job done for now and we make it better eventually!
Context
Reference: https://github.com/unjs/citty/pull/21
In this PR I will introduce a new util function for creating a box kinda like
boxen
but without deps! This was initially created forunjs/citty
but now moved toconsola
. Thanks @pi0 for the idea.The functionality is less than
boxen
but will get the job done for now and we make it better eventually!solid
,double
,double-single
,double-single-rounded
,single-thick
,single-double
,single-double-rounded
&rounded
.colorette
to style the border while dynamically importing it to style it.Preview:
Thanks, CP 🚀