-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
vscode: adjust theme #271
vscode: adjust theme #271
Conversation
Although this makes the hints themselves more difficult to read, it improves readability overall since you can easily skip over the hints and see what is real code.
@danth Yes, the only case the status bar changes color is when you're debugging actually, i've never seen other cases where the status bar changes color. |
#272 i improved the button font contrast |
Suggestion: make editor rulers less distracting "editorRuler.foreground": "#{{base01-hex}}", Those that you declare with |
Suggestion: I think the status bar draws way too much attention with a seperate color. If you allow to make the vscode-stylix theme a bit more unique, I would change the whole status bar background ( |
If we were to do that, I would suggest matching the color of the sidebar. We could have it match the sidebar by default, but keep a unique color for the debugging state? |
Yes, exactly what i meant. So the following would be the only changes. "statusBar.background": "#{{base01-hex}}",
"statusBar.foreground": "#{{base05-hex}}",
"statusBar.noFolderBackground": "#{{base01-hex}}",
"statusBar.noFolderForeground": "#{{base05-hex}}", Opinions on the font color |
I committed these. |
I think this is not possible with the "native" menubar, because then it uses the system colors. With the "custom" menubar it uses the stylix theme, which looks good. You need to change the menubar style this in the settings: For the selected tab, i think |
By the way, here is the vscode theming reference: https://code.visualstudio.com/api/references/theme-color |
Looking at the guide I think this uses the input control colors |
We may be able to change the native menubar via GTK/Qt instead, but I'll work on that separate from this PR. |
@danth Could you please check with your light theme, if you still see the ruler with that color? And make a quick commit for me? |
Btw will this be backported to 23.11? I use stable nix os |
We don't really have a system in place for backporting right now, but it can be done. |
@danth you can just copy and paste the template.mustache file in the release-23.11 branch, it's not really a problem. |
It's very difficult to see with
This still isn't the best, but my scheme is quite low contrast in general, so it could just be down to that. Refer to this GNOME menu to see what I mean. The original value for comparison. I see what you mean about it being distracting. I think we should compromise on |
I discovered several newer options were missing from the template. These are now set to null, and most should be given a value before this is merged. I also added a script to do this by parsing the reference page. (Quicker than doing it by hand 😅) |
Only good changes with this pull request! I'm liking it! 📈 |
Absolutely, we can work on converting to that method after this PR is done. |
Thank you @danth for your time, you're awesome! I wonder how you are testing the changes. I just put the changes manually into my nix-hm-configuration under programs.vscode.userSettings."workbench.colorCustomizations" like you saw in my issue. |
Change your Flake input to Then press |
See #277 for screenshots and reasons behind this
The background is transparent since it should vary between the current line (base01) and other lines (base00).
Modified from #278 Co-authored-by: David Schaller <[email protected]>
Modified from #278 Co-authored-by: David Schaller <[email protected]>
Modified from #278 Co-authored-by: David Schaller <[email protected]>
Modified from #278 Co-authored-by: David Schaller <[email protected]>
Modified from #278 Co-authored-by: David Schaller <[email protected]>
There are a few minor tasks left to do, but I'm planning to merge this soon so the bigger changes aren't delayed for too long. Of course, follow-up PRs are welcome. |
I tried implementing this, but any colors we set to With the current implementation, it inherits from other colors within our extension instead. We could work around this by defining all the colors explicitly, but then any update would cause newly added options to default to |
Various adjustments to the VSCode theme.
To do:
null
)We may also want to look into other uses of
base06
andbase07
and whether they could be replaced with something else, since these colors are rarely used in other modules.Fixes #155