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

Set a default theme #18

Open
ysh7 opened this issue Aug 16, 2023 · 3 comments
Open

Set a default theme #18

ysh7 opened this issue Aug 16, 2023 · 3 comments
Labels
enhancement New feature or request on hold Features / bugs that do not have priority / are put on hold

Comments

@ysh7
Copy link

ysh7 commented Aug 16, 2023

Currently if no value is set for rose_pine_variant it errors out. Can we set a default theme variant?

@mrs4ndman mrs4ndman added enhancement New feature or request on hold Features / bugs that do not have priority / are put on hold labels Aug 30, 2023
@mvllow
Copy link
Member

mvllow commented Sep 19, 2024

Forgive my ignorance as I'm not too familiar with tmux but would it be possible to default to main and dawn depending on the terminal background? Our Neovim theme uses 'auto' as the default variant with an option to override the dark variant. Then, setting a variant would enforce that variant no matter the background.

@mrs4ndman
Copy link
Member

What do you mean by "depending on the terminal background"?
I haven't found a way to automate it depending on outside factors, but I'll be getting on the "default option" fix soon.
Sorry for not being very active to everyone who uses this plugin, it's been a rough while :)

@mvllow
Copy link
Member

mvllow commented Sep 20, 2024

I'm honestly not sure where the information comes from but if my terminal is using a dark theme (or perhaps it's based on my system theme?) then Neovim sets vim.o.background to dark and same for light so I thought it may be possible to detect that in tmux.

After a quick search, I found termbg which can work with tmux so this might be out of scope for this plugin but more on the tmux user to implement :)

Hope all is well, you are much appreciated <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request on hold Features / bugs that do not have priority / are put on hold
Projects
None yet
Development

No branches or pull requests

3 participants