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

Customized background support #35

Closed
TimothyYe opened this issue Dec 1, 2017 · 6 comments
Closed

Customized background support #35

TimothyYe opened this issue Dec 1, 2017 · 6 comments

Comments

@TimothyYe
Copy link

TimothyYe commented Dec 1, 2017

Hello, this tool is awesome!
Do you have a plan to support the customized background color for select templates?
For example, support customized background color for active, inactive, selected items, etc.

@louisbranch
Copy link
Contributor

@TimothyYe do you mean the text background or the entire line? If the former, you can check this PR: #36

Eg: Active: "{{ .Name | white | bgRed }}"

Adding color to the entire line is a bit more complicated. As far as I know, we would need to fill the size of the screen with spaces.

@TimothyYe
Copy link
Author

TimothyYe commented Dec 1, 2017

Yes, I mean the background color of the entire line.

@TimothyYe
Copy link
Author

Hi, just reviewed that PR, I think the text background is what I want.

@TimothyYe
Copy link
Author

Waiting for that PR to be merged :-)

@louisbranch
Copy link
Contributor

Awesome, just merged!

@TimothyYe
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants