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

[Feature Request]Better support for light background? #19

Open
mrunhap opened this issue Dec 16, 2021 · 4 comments
Open

[Feature Request]Better support for light background? #19

mrunhap opened this issue Dec 16, 2021 · 4 comments

Comments

@mrunhap
Copy link

mrunhap commented Dec 16, 2021

No description provided.

@mrunhap mrunhap changed the title Better support for light background? [Feature Request]Better support for light background? Dec 16, 2021
@Erik262
Copy link

Erik262 commented Apr 1, 2023

I like this theme, but can it be adaptive to Light and Dark Appearances? Since it is not readable on white background.

2023-04-01 at 09 09 42

@Anifyuli
Copy link

Anifyuli commented May 7, 2023

I get same problem with light background with this theme too. CC to @zthxxx
image

@zthxxx
Copy link
Owner

zthxxx commented May 29, 2023

Sorry, but I do not have any plans to support for light background.

@Erik262
Copy link

Erik262 commented May 29, 2023

Solved:
I just added this in my .zshrc file and it works 👌

`
interfaceStyle=$(defaults read -g AppleInterfaceStyle 2>/dev/null)

if [[ "$interfaceStyle" != "Dark" ]]; then
JOVIAL_PALETTE[host]='%F{34}'
JOVIAL_PALETTE[user]='%F{234}'
JOVIAL_PALETTE[path]='%F{202}'
JOVIAL_PALETTE[git]='%F{27}'
JOVIAL_PALETTE[time]='%F{244}'
JOVIAL_PALETTE[elapsed]='%F{172}'
JOVIAL_PALETTE[normal]='%F{244}'
JOVIAL_PALETTE[typing]='%F{244}'
JOVIAL_SYMBOL[arrow]='-▶'
JOVIAL_SYMBOL[arrow.git-clean]='-▶'
JOVIAL_SYMBOL[arrow.git-dirty]='-▶'
JOVIAL_PALETTE[conj.]='%F{240}'

else
fi`

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

No branches or pull requests

4 participants