-
Notifications
You must be signed in to change notification settings - Fork 30.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
[theming] Allow theming workbench fonts #26128
Comments
Also see this similar issue about allowing the setting of a custom font on non-editor parts of the app: #519 |
This is probably my biggest annoyance switching from Atom, that I have to live with the standard font. EDIT: "Fixed" by hacking |
Adding these as per @aeschli and @chrisdias These are not all about the fonts. some are letter spacing, font-style, color, too. Font settings for the VS Code ShellThe font-family for the shell itself, so we can change the title bar, sidebar, status bar, file tabs, and more. This would be the default for the shell and help match the code. .monaco-shell {
font-family: 'Operator Mono', 'Fira code', 'Inconsolata', monospace;
letter-spacing: 0.5px;
} Panel headersExpose the color, font settings and letter spacing for the panel header titles. Letter spacing is sometimes needed as the titles' letters are very close and more difficult to read in some fonts. .vs-dark .monaco-panel-view .panel > .panel-header > .title {
font-weight: normal;
letter-spacing: 1px;
} Window titlesExpose color, font settings, and letter spacing for window titles .vs-dark .monaco-workbench > .part.titlebar > .window-title {
color: #fafafa;
letter-spacing: 1px;
font-weight: 200;
} File TabsExpose color, font settings, and letter spacing for tabs (file tabs) .monaco-workbench .tabs-container .tab * {
font-style: italic;
} |
@aeschli Can you provide some feedback on which of these may be within your roadmap? |
Any news on this? |
Starting to hate vscode on ubuntu because I dont like the ubuntu font in the UI. |
I'm in the camp of people who would like to use an alternate UI font on Ubuntu. Here's how I managed to do it. I downloaded a copy of my font of choice -- Lato -- and used FontForge to rename it to "Ubuntu". (I'd wanted to name it "BlinkMacSystemFont" so it wouldn't collide, but VS Code applies OS-specific font settings, so that wasn't possible.) I updated Regular, Italic, Bold, and Bold Italic, then copied the new font files to It would be nice if there were an unused font name at the start of the |
You don't have to mess with system fonts, since there is an extension called Custom CSS and JS Loader, which allows you to theme VSCode in a similar way to Firefox with The rule to change the UI font would be like: body {
font-family: "Roboto" !important;
font-size: 9.5pt !important;
} |
@wsdfhjxc However we want an official way to do this, so theme authors can fully implement their design. |
I thought i was the only one.. My whole system is Roboto except VS Code |
another workaround is to add the following to
|
Hi @johnpapa! |
This sounds related to this older issue #519 |
If not a duplicate. |
With about 2000 upvotes more and 8 years older... |
I'd like to offer a solution for Windows which might be preferable for some users due to its simplicity of usage, and might seem like an overkill for others since it requires running a (lightweight) program in the background. The solution boils down to injecting extra CSS code to VSCode, similarly to what Monkey Patch does, but this method is different and has pros and cons. Pros:
Cons:
Steps:
See the example screenshot below. Disclaimer: I'm the author of Windhawk. |
thank, It works, and could you please do not hide the command center ,Thanks |
Including
The text was updated successfully, but these errors were encountered: