Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colourista.Short #28

Closed
vrom911 opened this issue Apr 30, 2020 · 1 comment · Fixed by #29
Closed

Colourista.Short #28

vrom911 opened this issue Apr 30, 2020 · 1 comment · Fixed by #29
Assignees
Labels
question Further information is requested

Comments

@vrom911
Copy link
Member

vrom911 commented Apr 30, 2020

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 ?

@vrom911 vrom911 added the question Further information is requested label Apr 30, 2020
@chshersh
Copy link
Contributor

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

@vrom911 vrom911 changed the title [RFC] Colourista.Short Colourista.Short May 2, 2020
@vrom911 vrom911 self-assigned this May 2, 2020
vrom911 added a commit that referenced this issue May 2, 2020
chshersh pushed a commit that referenced this issue May 2, 2020
* [#28] Colourista.Short

Resolves #28

* Fix 8.2.2 build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants