kowainik / colourista

‎️‍🌈 Convenient interface for printing colourful messages
https://kowainik.github.io/projects/colourista
Mozilla Public License 2.0
66 stars 18 forks source link

Colourista.Short #28

Closed vrom911 closed 4 years ago

vrom911 commented 4 years ago

I find myself writing

b :: Text -> Text
b = formatWith [bold]

i :: Text -> Text
i = formatWith [italic]

again and again.

I propose to add a module in colourista with such functions for faster small styling.

What do you think @chshersh ?

chshersh commented 4 years ago

@vrom911 I love the idea ❤️ I guess we can start with three functions: b (bold), i (italic) and u (underlining).