You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There shouldn't be too difficult to add additional function and maybe data type to wrap Colour from colour package so that user can write a message with any foreground or background colour (thanks to the this line). That would require to add colour package in the dependency list and to add some additional function available for users. If you think that this is a good idea, I can start working on this.
🎄 🎅 🎁
The text was updated successfully, but these errors were encountered:
Hi @dariodsa! I see that the SGR data type from the ansi-terminal library has the SetRGBColor constructor, that allows specifying the colour in RGB.
I don't mind introducing a function called rgb (as well as impure analogue in the spirit of our API). Feel free to start working on this 🙂 That would be really appreciated! ❤️
dariodsa
added a commit
to dariodsa/colourista
that referenced
this issue
Apr 3, 2021
As I saw currently user can only select colours mentioned in this data type.
https://github.com/feuerbach/ansi-terminal/blob/5d65f48485182320ea05f90b5b002003515c089b/src/System/Console/ANSI/Types.hs#L39-L47
There shouldn't be too difficult to add additional function and maybe data type to wrap
Colour
fromcolour
package so that user can write a message with any foreground or background colour (thanks to the this line). That would require to addcolour
package in the dependency list and to add some additional function available for users. If you think that this is a good idea, I can start working on this.🎄 🎅 🎁
The text was updated successfully, but these errors were encountered: