-
Notifications
You must be signed in to change notification settings - Fork 23
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
Question: conditional styles #26
Comments
I plan to support conditional styles in colorschemes, but I still don't know how to implement it in a template based generator. I'm open to ideas, do you have any suggestion? |
No ideas right now, but can try to think of something and make a PR |
I'll try this weekend |
I was thinking about this, and probably can be solved by some conventions. let s:bold = ""
if exists('g:<<colorscheme_name>>_terminal_bold')
let s:bold = "bold"
endif
let g:<<colorscheme_name>>_terminal_bold = get(g:, '<<colorscheme_name>>_terminal_bold', 0) The issue is that if some users change their colorscheme often they end up having a lot of colorscheme-specific variables in their let s:bold = ""
if exists('g:estilo_terminal_bold')
let s:bold = "bold"
endif
let g:<<estilo_name>>_terminal_bold = get(g:, 'estilo_terminal_bold', 0) I'd be happy to give it a crack, but I'm not that confortable with Javascript, but this could be fun 💃 |
In oceanic-next, I have support setup for conditional italics/bolds, if the terminal supports it.
And is used like so
Would something like this be supported by estilo?
The text was updated successfully, but these errors were encountered: