-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 dracula theme #1258
Add dracula theme #1258
Conversation
runtime/themes/dracula.toml
Outdated
"ui.background" = { fg = "foreground", bg = "background" } | ||
"ui.cursor" = { fg = "black", bg = "orange", modifiers = ["dim"] } | ||
"ui.cursor.primary" = { fg = "black", bg = "cyan", modifier = ["dim"] } | ||
"ui.cursor.match" = { fg = "green", modifiers = ["underlined"] } | ||
"ui.linenr" = { fg = "comment" } | ||
"ui.linenr.selected" = { fg = "foreground" } | ||
"ui.statusline" = { fg = "foreground", bg = "background_dark" } | ||
"ui.selection" = { fg = "black", bg = "purple", modifiers = ["dim"] } | ||
"ui.selection.primary" = { fg = "black", bg = "pink" } | ||
"ui.text" = { fg = "foreground" } | ||
"error" = { fg = "red" } | ||
"warning" = { fg = "cyan" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, this is missing a few styles, ui.popup
, ui.window
, ui.help
, ui.menu
, ui.menu.selected
etc. ui.text.focus
Also info
and hint
. Are you sure you don't want to style these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the reminder that I still needed to deal with these. Unfortunately I can't figure out what ui.menu
does.
ETA: The same goes for ui.cursor.insert
and ui.info
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the reminder that I still needed to deal with these. Unfortunately I can't figure out what
ui.menu
does.ETA: The same goes for
ui.cursor.insert
andui.info
.
ui.cursor.insert
is the color of the cursor in insert mode. It only works when ui.cursor.primary
isn't set, though.
It's the same case for ui.cursor.select
(-> visual mode).
info
(not ui.info
afaik) is used for infos such as suggestions and other lints from the LSP, like error
and warning
.
I wasn't able to find out what ui.menu
refers to, though :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ui.menu
is used for the completion menu, and the picker "menu" (the left pane with the file list)
Thanks! 🎉 |
I based this as closely as I could on the specification.