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

Add new Powerline Light theme #436

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

imran-uk
Copy link
Contributor

The regular Powerline theme is good... if you have a dark background in your Terminal ;)

If you use a light background such as "black on light yellow" or Solarized Light, then this theme is for you.

Tweak are done in themes/powerline-light/powerline-light.theme.sh used this colour chart as a reference: https://github.com/gawin/bash-colors-256

@akinomyoga
Copy link
Contributor

Thank you for your contribution!

Could you make the image smaller? The image will be used in themes/THEMES.md and the wiki page, where images typically have a size of around 700x290. Also, please update themes/THEMES.md.

@imran-uk
Copy link
Contributor Author

Thank you for your contribution!

Could you make the image smaller? The image will be used in themes/THEMES.md and the wiki page, where images typically have a size of around 700x290. Also, please update themes/THEMES.md.

Thanks for quick reply - done. Please let me know if OK.

@akinomyoga
Copy link
Contributor

OK

@akinomyoga akinomyoga force-pushed the powerline-light-theme branch from f6b1ea5 to 45d3bb4 Compare April 16, 2023 07:23
Copy link
Contributor

@akinomyoga akinomyoga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A powerline-based theme is supposed to source powerline/powerline.base.sh and then define its own functions. The base.sh of the new theme seems to be the same as powerline/powerline.base.sh, so I have removed the file and changed powerline-light.theme.sh to directly source powerline/powerline.base.sh (f6b1ea5).

I now tried the theme. It seems the color of error exit statuses seems to be now dark cyan. However, we usually expect warning colors for failures. Could you update the color of the error exit statuses?

@imran-uk
Copy link
Contributor Author

Error exit status now a shade of red/orange (which is much more logical).

Screenshot now a bit larger, previously a bit too small.

@akinomyoga
Copy link
Contributor

Error exit status now a shade of red/orange (which is much more logical).

Thank you!

Screenshot now a bit larger, previously a bit too small.

Now the image is too large; the height is 373px. Could you prepare a smaller image of the height around 290px? You can crop the image instead of reducing the resolution. The display background and the terminal frame are irrelevant to the OMB theme.

@imran-uk
Copy link
Contributor Author

Okay, I think it should be ready now.

@imran-uk imran-uk requested a review from akinomyoga April 20, 2023 14:47
@akinomyoga akinomyoga force-pushed the powerline-light-theme branch from 68ccc65 to a2266b4 Compare April 20, 2023 23:55
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
@akinomyoga akinomyoga force-pushed the powerline-light-theme branch from a2266b4 to a5020a3 Compare April 20, 2023 23:56
@akinomyoga akinomyoga merged commit 6d62b33 into ohmybash:master Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants