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

Doesn't use colours from Dracula theme #38

Closed
lougreenwood opened this issue Jan 15, 2022 · 3 comments
Closed

Doesn't use colours from Dracula theme #38

lougreenwood opened this issue Jan 15, 2022 · 3 comments
Labels
subtask Will be fix by other issue
Milestone

Comments

@lougreenwood
Copy link

lougreenwood commented Jan 15, 2022

Somewhat surprisingly given how mature the Dracula theme is, it seems that tabby doesn't use colours from that theme, instead my tab bar has no selected tab highlights etc

Can confirm other themes work fine (e.g onedarkhalf).

Screenshot

@nanozuki
Copy link
Owner

The vim/neovim ecosystem story is that the plugin announces the highlight groups used, and the theme author assigns values to these highlight groups. But tabby's key feature is highly configurable, so I have no way to announce several highlight groups and wait for the themes author to find this plugin.
I'm planning to develop the next version of tabby.nvim, I plan to make some preset styles from popular statusline/tabline plugins. It will provide a nice default config.

@nanozuki
Copy link
Owner

For now, you can use require('tabby.util').extract_nvim_hl(<highlight>) to extract a color from highlight.

@nanozuki nanozuki added this to the 2022 Q1 Edition milestone Jan 23, 2022
@nanozuki nanozuki added the enhancement New feature or request label Jan 23, 2022
@nanozuki nanozuki added subtask Will be fix by other issue and removed enhancement New feature or request labels Jan 23, 2022
@nanozuki
Copy link
Owner

The "decura" theme does not set background in highlight 'TabLineSel', preset in tabby will be a glitch. I think onedarkhalf is right. You can define your own color in tabby's tabline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
subtask Will be fix by other issue
Projects
None yet
Development

No branches or pull requests

2 participants