-
Notifications
You must be signed in to change notification settings - Fork 12
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
Product icon theme #11
Comments
This would be fantastic! |
Okay, I've replaced most icons in the title bar. I won't replace any other icons for now in order not to create a mess of default and Adwaita icons next to each other. Not until the process is automated, then it could be a separate opt-in icon theme. |
Wow, that looks fantastic! I didn't expect it to make vscode feel so much like a native gtk/adwaita app, it's great! Would it be possible to change the padding between window controls? That's the only thing that looks a bit off. Regardless, I'm so excited to start testing this out! |
No worries, that's completely understandable! I look forward to the icons being added 🤠 |
Please feel free to test the icons by cloning this repo, opening it in VS Code, and hitting F5. I'll publish a new version for everyone tomorrow. |
Just tested it with VSCode 1.74-insider on Fedora 37 and the icons look perfect, thank you for implementing this! |
I was able to get the icons looking near-native! Albeit with some very janky custom css: /* Make titlebar and window controls look more native */
#workbench\.parts\.titlebar {
padding: 0px 2px !important;
}
.monaco-workbench .part.titlebar > .window-controls-container > .window-icon {
border-radius: 100%;
height: 19.92px;
width: 19.92px;
transform: scale(1.3);
margin-top: 8px;
}
.monaco-workbench .part.titlebar > .window-controls-container {
width: 112px !important;
justify-content: space-around !important;
}
/* Close button hover is now gray */
.monaco-workbench
.part.titlebar
> .window-controls-container
> .window-icon.window-close:hover {
background-color: hsla(0, 0%, 100%, 0.1) !important;
} This isn't something I ever expect to see in this project, and it's more obvious now why you'd want to avoid this. But, something I wanted to note that I noticed was the icon padding within the circle. With SVGs having I know this is a tiny pet peeve issue, so it isn't an issue if it's put on the back burner, but do you know if there's any practical way to reduce the size of the icons? |
Just curious, if this technique was ever implemented (although it seems like it won't be, from the discussion) would it be possible to only show the window buttons present in native apps? For example, if someone's using stock Gnome and does not have a minimize or maximize button, would only the close button appear? |
In a hypothetical scenario where custom CSS gets added, yes, that would be possible. We'd check which buttons are enabled with |
Something was changed in VS Code 1.74 or 1.75, and the CSS above now results in invisible icons. To fix it, replace content: "" !important;
height: 100% !important; with height: 24px !important;
width: 24px; |
Does anyone know how you would change ceiphr's CSS to hide the maximise button? |
Try .window-controls-container {
width: auto !important;
}
.window-max-restore {
display: none;
} |
Now that the Command Center, a command/search/navigation bar in the custom title bar, has been introduced, it makes more sense to use that instead of the native title bar.
Unfortunately, the custom title bar comes with Windows-styled window buttons. It'd be great if we could ship a product icon theme that'd replace just these three icons first, then it could potentially be expanded to replace more icons across the app.
The text was updated successfully, but these errors were encountered: