-
-
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
Make fleet-dark
accurate to the official theme
#5605
Conversation
\cc @krfl |
Comparison screenshots? |
Yep, I've updated the description with them. |
@kirawi Thank you for taking the time to do all this work. I have three comments:
|
c922390
to
96fc422
Compare
Thanks for the review! I didn't notice the background nor the missing underline for diagnostics. Personally, I'm using |
78c0302
to
f9c0d64
Compare
"diagnostic.error" = { underline = { color = "red_error", style = "curl" } } | ||
"ui.background" = { bg = "Gray 10" } # .separator | ||
"ui.statusline" = { fg = "Gray 120", bg = "Gray 10" } # .inactive / .normal / .insert / .select | ||
# "ui.statusline.normal" = { fg = "lightest", bg = "darker"} |
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.
I commented out these since I didn't know what would be good colors.
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.statusline.normal" = { fg = "lightest", bg = "darker"} | |
"ui.statusline" = { fg = "Gray 120", bg = "Gray 20" } | |
"ui.statusline.insert" = { bg = "Blue 80" } | |
"ui.statusline.select" = { bg = "Yellow 40" } |
I think it's important to separate fleet
features from helix
features and just make an educated guess at what people will prefer. Fleet relies heavily on blue, so I think it will be a safe and familiar color for insert mode.
Yellow 40 or Green 40 might work too. The yellow is darker and warmer and reminds me of vim, but the green might be more in the style of fleet. What do you think?
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.
I would very much to know whether all themes should use curly lines or not, because that's the understanding I got from #5419
Also, I think that Gray 80
for hints might be too subtle? It's not that it's hard to see or read, but I feel like it should pop a lot more.
Here i have the old theme on the left and this update on the right. Also a comparison screenshot of fleet below.
IIRC curly underlines were only applied to all themes that didn't explicitly specify the line type. |
I think the curly part is less important (it looks nice but for tgis theme I can see that the continous lines make sense to match the original) as long as the underlines are colored so its possible to tell whether we are looking at a warning or an error. |
I checked the source again, and it looks like |
I agree that Since I'm so torn, I'll let you decide. I will be okay either way. Promise :) |
Personally, I feel that it should be accurate to the official theme so it's not jarring for users. Users can customize the theme if they prefer :P |
Secondary selection highlighting is actually pretty bad, so I'll have to fix that before this could get merged. |
Fixed. I misread 50 as 80. |
Objective
The current palette for the theme didn't use the official palette, and some scopes used the wrong colors. The contrast between the cursorline and comments also caused eye strain.
Solution
I copied the palette from
dark.json
in the themes folder, and reworked the theme to reflect the official one. I'm a bit displeased with the color fortype.enum.variant
, which the official theme doesn't highlight, as well as the contrast betweenvariables.builtin
and the background (for which I preferred the old color).Fleet vs.
new fleet-dark
(top) vs.old fleet-dark
(bottom)Changelog
updated
fleet-dark
's palette to be identical to the one in the official theme