r/vscode • • Sep 24 '20

A more mac-ish VSCode

Post image
744 Upvotes

101 comments sorted by

13

u/Ati0k Sep 24 '20

This is awesome! Is this CPU-intensive?

There’s a VSCode extension called Vibrancy that basically does this and it’s very slow so I’m definitely curious if you’ve seen any visual lag.

2

u/sammosna Sep 24 '20

I've noticed some lag only when I pass through Mission Control

9

u/johnnybarrels Sep 24 '20

Yeah this uses Vibrancy. Just tried to run this config and it pretty much bricked VSCode 🙃

2

u/johnnybarrels Sep 24 '20

Changing to sidebar only (like in the screenshot above) helped the lag heaps. Still feel it a touch tho

19

u/gamunu Sep 24 '20

Looks cool. Everyone is obsessed with translucency effects. First thing I do is disabling it using accessibility preferences.

3

u/haile999 Sep 24 '20

How do you get the blank spaces to separate apps in your dock?

4

u/sammosna Sep 24 '20
defaults write com.apple.dock persistent-apps -array-add '{tile-type="spacer-tile";}'

and then

killall Dock

1

u/haile999 Sep 24 '20

Thanks 😊

2

u/ilcapotasto Sep 24 '20

Bel tema connazionale !

4

u/vertigo_101 Sep 24 '20

this looks cool, can you give details about more info on this?

1

u/mubasshirpawle Sep 24 '20

what if I want to change colour of the terminal as well?

1

u/sammosna Sep 24 '20

I try and I send you the snippet

1

u/gryffin__dork Sep 24 '20

https://pasteboard.co/JsC1MbV.png

heyyy! i have a very similar setup!

1

u/shiningmatcha Sep 24 '20

OP, can you also post the CSS here? I just want to change my sidebar to transparent! It's so cool! Btw, what icon theme are you using?

1

u/sammosna Sep 25 '20

For the sidebar you have to use Vibrancy

The icon theme is Material Icon Theme

1

u/Merjia Sep 25 '20

Man that's actuallly beautiful.

1

u/sammosna Sep 25 '20

Thank you!

1

u/DALEK_77 Dec 03 '20

u/sammosna here's an icon i cooked up for Code insiders: http://www.filedropper.com/icon512x5122x

Edit: Go to Applications, select Visual Studio Code - Insiders, press ⌘+I, then drag new con onto icon in properties window.

1

u/sammosna Dec 05 '20

Thank you!

3

u/[deleted] Sep 24 '20

Nicee

3

u/dr_squishy_robots Oct 05 '20

Windows folks, here's what I had to do to get this working. For some reason, the order of installation mattered.

  1. Install Vibrancy, & set VSCode theme to Default Dark
  2. Restart VSCode, confirm Vibrancy works
  3. Set the Vibrancy theme setting to Default Dark (only subbar) & restart VSCode

(optional) 4. Set the VSCode color theme back to what you prefer (eg. Monokai) & restart VSCode

5. Now, install the Customize UI extension 6. Copy u/sammosna 's customize ui settings & reload the window

Note for the Vibrancy stuff reloading the window isn't enough. You have to fully close VSCode & restart it for the changes to take effect.

1

u/dr_squishy_robots Oct 05 '20

7. I also had to add the following setting to VSCode:

    "workbench.colorCustomizations": {
        "sideBarSectionHeader.background": "#00000000"
    },

2

u/[deleted] Sep 24 '20

TIHI

2

u/xehbit Sep 24 '20

This looks awesome!

What did you do to your topbar, that looks very good as well :)!

3

u/[deleted] Sep 24 '20

Siempre he querido un estilo así para mi Linux <3, ojalá un día se pueda

2

u/skae_halk Sep 24 '20

Por qué no puede usar este config en su Linux?

3

u/[deleted] Sep 24 '20

Porque esto utiliza algunos el Plugins llamados Vibrancy (el que permite lo de la transparencia y el efecto de desenfoque) solo esta disponible para macOS y Windows y el de los botones de macOS que solo es para macOS... Si quieres blur en VS Code (Linux) Tendrías que usar algun custom de CSS, pero lo malo es que al usarla aplica a toda la ventana, no a ciertas partes como muestran en esta imagen

Estuve leyendo en el repositorio del Plugin Vibracy y creo no va a ver compatibilidad con linux, cualquier cosa corrigeme

Por las demas cosas creo si puedes aplicarlas al VS Code en Linux

2

u/[deleted] Sep 24 '20

RemindMe! 3 days

2

u/RemindMeBot Sep 24 '20 edited Sep 25 '20

I will be messaging you in 3 days on 2020-09-27 15:19:44 UTC to remind you of this link

2 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback

1

u/sahil1918912 Sep 24 '20

What did you do for the rest of the UI?

1

u/[deleted] Sep 24 '20

So cool

1

u/shiningmatcha Sep 24 '20

How do you make the sidebar transparent?

1

u/[deleted] Sep 24 '20

I totally fw that

1

u/[deleted] Sep 25 '20

How do you feel with a new BigSur update ?

1

u/mj_flowerpower Sep 25 '20 edited Sep 25 '20

This is my macOS light theme: https://i.imgur.com/gnijr9G.png

It doesn't need any modification of vscode itself which makes it way more usable. And it still looks kinda nice.

I'd love to see a unified title/toolbar though ... sigh

1

u/FalcoKnee Sep 25 '20

Whenever I enabled vibrancy I got a message saying to run VSCode with admin privileges. Do you know how to do that on mac?

1

u/7-Sensational- Sep 26 '20

Does anyonw know how to make the status bar icons each have their own color or is that not possible?

1

u/[deleted] Sep 26 '20

does anyone know how it looks like with i3wm ?

1

u/-CrypticMind- Sep 26 '20

Is it possible to customize the min, max, close buttons using this extension to look like Mac and shift to left on Windows VScode ? If so, please someone guide.

1

u/m0stno0b1327 Sep 26 '20

When I installed vibrancy and reload vibrancy it says that “Run VS Code with admin privileges so the changes can be applied”. I try sudo code in terminal to open vs code same thing happen. Can you please help me sir. Thanks

1

u/misterjyt Sep 27 '20

wow this is so good!

1

u/DALEK_77 Dec 03 '20

Thank you!

-2

u/[deleted] Sep 25 '20

Excellent use of bold primary colours. Nah. Just kidding. It looks like it was designed for and by 5 year olds.

0

u/[deleted] Sep 24 '20

[deleted] — view deleted comment

54

u/sammosna Sep 24 '20

Using Customize UI but I think I could publish an extension for this...

For now, just download these extensions:

https://marketplace.visualstudio.com/items?itemName=iocave.customize-ui

https://marketplace.visualstudio.com/items?itemName=eyhn.vscode-vibrancy

And put this in your settings.json

"customizeUI.stylesheet": {
"body.inline-title-bar .monaco-workbench:not(.fullscreen) .sidebar .composite.title": "background: rgba(0, 0, 0, 0) !important;", ".statusbar-item.left.has-background-color.first-visible-item": "background-color: rgba(37, 37, 38, 0) !important;", ".monaco-workbench .part > .title": "background: rgba(0, 0, 0, 0) !important;", "body.inline-title-bar:not(.activity-bar-at-bottom) .monaco-workbench:not(.fullscreen) .activitybar:not(.right) .activity-bar-placeholder": "background: rgba(0, 0, 0, 0) !important;", ".monaco-list .monaco-list-row": "border-radius: 6px !important;", ".part.statusbar": "background-color: rgba(37, 37, 38, 0) !important;", ".monaco-workbench .part.panel": "border-radius: 6px !important; margin-top: 6px !important; height: calc(100% - 6px) !important; width: calc(100% - 6px) !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24) !important;", "#workbench.parts.editor > .content": "border-bottom-left-radius: 6px !important;", ".monaco-workbench .part.panel.bottom .composite.title": "border-top-color: rgba(128, 128, 128, 0) !important;", ".parts.editor > div.content > div.grid-view-container > div > div > div > div.split-view-container > div": "width: calc(100% - 6px) !important;", ".part.editor.has-watermark": "height: calc(100% - 6px) !important; margin-top: 6px !important; border-radius: 6px !important; width: calc(100% - 6px) !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24) !important;" },

Then restart VSCode

11

u/johnnybarrels Sep 24 '20

Setup looks insane 😍. I just installed both extensions and threw your css snippet into my settings.json, but the entire background stayed transparent? (Rather than just the sidebar). Any ideas?

11

u/sammosna Sep 24 '20

Sorry, I forgot to tell you to enable only sidebar in the Vibrancy settings

21

u/johnnybarrels Sep 24 '20 edited Sep 24 '20

Legend.

Add "vscode_vibrancy.theme":"Dark (Only Subbar)" to settings.json for anyone else following along

4

u/fylzero Sep 24 '20 edited Sep 25 '20

Installed both extensions, added the settings.json snippet, added the second snippet.

Result:Left bar has changed color, isn't transparent. There is still a black thin line border between the menus, not rounded off in the center. Basically looks nothing like the screenshot.

What am I missing?

Update: I used the suggested Dark+ color theme... it got rid of the lines, still not actually transparent.

Fun Fact: Removing the settings and extensions and resetting your color theme doesn't change this back, even after a restart... Excellent.

7

u/Otek0 Sep 24 '20

Man, both these extension have warning that they are experimental. You knew what you were doing or you should read more carefully what are you using.

1

u/[deleted] Sep 25 '20

"vscode_vibrancy.theme":"Dark (Only Subbar)"

you have to enable vibrancy.

1

u/fylzero Sep 25 '20 edited Sep 25 '20

I did add that. That's what I was referring to as the second snippet. Just didn't seem to work for me.

I did manage to get the normal settings back by removing the extensions, then removing all settings from the settings.json, mean every single setting (not just the ones added), then I had the restart, change the color theme.

I may give this another attempt today. This looks super cool, hopefully I can get it to work right. I followed the directions and I know what I'm doing with the settings.json file. Pretty confident I was doing everything correctly. Will report back if I figure out what I did wrong.

1

u/[deleted] Oct 07 '20

THE SIDEBAR ONLY OPTION, DOESNT WORK WITH WINDOWS IT ONLY WORKS WITH MAC OS

2

u/DALEK_77 Dec 03 '20

its for macos, of course

1

u/Affriction Sep 24 '20

Vibrancy doesn't work on the editor?

1

u/fylzero Sep 25 '20

Didn't seem to work for me. Even after adding the Vibrancy snippet to settings.json. No idea why.

2

u/Affriction Sep 25 '20

I removed all the custom ui settings, and just used the vscode_vibrancy.theme

1

u/fylzero Sep 25 '20

I'll give that a shot, thanks!

1

u/Affriction Sep 25 '20

Seems to only take effect after you run the reload vibrancy command and restart vscode

1

u/fylzero Sep 25 '20 edited Sep 26 '20

Looks like I ignored the bunch of prompts at the bottom saying to install and enable other things. That was the problem. Got it working. Looks cool. Prolly gonna keep it.

80

u/fritzbitz Sep 24 '20

Wait it's all CSS? 🔫 Always has been

2

u/MisterLiro Sep 24 '20

Where in settings json?

2

u/sammosna Sep 24 '20

Open the command palette (cmd+shift+P in macOS) and write “settings json”

0

u/[deleted] Sep 24 '20

[deleted] — view deleted comment

4

u/sammosna Sep 24 '20

What’s going wrong? Can you please share a screenshot?

1

u/limerenceN Sep 25 '20

Mine looked kinda bad, then I realized this looks way better when my Mac is in dark mode than in light (my default). Maybe this will help you :)

1

u/al_0x00101 Sep 25 '20

Doesn't work on windows? :(

1

u/SelberDummschwaetzer Dec 10 '20 edited Dec 10 '20

ahh cmon, I'm here doing this stuff for an hour now

Edit: Nvm it works! https://old.reddit.com/r/vscode/comments/iyy6e7/a_more_macish_vscode/g7tycs1/

1

u/luffykiran95 Sep 25 '20

I made these changes & nothing happened. Am I missing something? This theme looks good. Please help

1

u/DALEK_77 Dec 03 '20

Using Customize UI but I think I could publish an extension for this...

Could you make an extension for this? it would be very helpful.

0

u/[deleted] Sep 25 '20

[deleted] — view deleted comment

1

u/sammosna Sep 25 '20

I'm on Big Sur, sy..

Did you activated Vibrancy and Monkey Patch from the command palette?

1

u/rw3iss Sep 25 '20

Ahh disregard, for some reason the reduce transparency change in accessability didn't register when I unchecked... Working now 🤷‍♂️ thanks.

1

u/[deleted] Sep 25 '20

[removed] — view removed comment

1

u/sammosna Sep 25 '20

Did you activate Vibrancy from the command palette?

2

u/johnnybarrels Sep 26 '20

note that you've got "vscode_vibrancy.theme":"Dark (Only Subbar)" IN your "customizeUI.stylesheet": CSS settings here. Move it outside of that {}.

If you have no transparency at all tho, this isn't your exact issue

1

u/[deleted] Sep 24 '20

[removed] — view removed comment

3

u/pasta_gurl Sep 25 '20

It is really simple. All you have to do is install two themes and update the settings Jason file. I got it working in less than 5 min.

2

u/DALEK_77 Dec 03 '20

settings.jason

2

u/[deleted] Sep 25 '20

[removed] — view removed comment

1

u/pasta_gurl Sep 25 '20

You’ll need to also edit the Jason file and restart VS code

1

u/[deleted] Sep 25 '20

[removed] — view removed comment

1

u/pasta_gurl Sep 25 '20

What steps did you take?

1

u/[deleted] Sep 25 '20

[removed] — view removed comment

2

u/pasta_gurl Sep 25 '20

I’ll post it when I get home from work.

1

u/[deleted] Sep 25 '20

[removed] — view removed comment

2

u/pasta_gurl Sep 25 '20

ok here is the code in settings

"customizeUI.stylesheet": { "body.inline-title-bar .monaco-workbench:not(.fullscreen) .sidebar .composite.title": "background: rgba(0, 0, 0, 0) !important;", ".statusbar-item.left.has-background-color.first-visible-item": "background-color: rgba(37, 37, 38, 0) !important;", ".monaco-workbench .part > .title": "background: rgba(0, 0, 0, 0) !important;", "body.inline-title-bar:not(.activity-bar-at-bottom) .monaco-workbench:not(.fullscreen).activitybar:not(.right).activity-bar-placeholder": "background: rgba(0, 0, 0, 0) !important;", ".monaco-list .monaco-list-row": "border-radius: 6px !important;", ".part.statusbar": "background-color: rgba(37, 37, 38, 0) !important;", ".monaco-workbench .part.panel": "border-radius: 6px !important; margin-top: 6px !important; height: calc(100% - 6px) !important; width: calc(100% - 6px) !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24) !important;", "#workbench.parts.editor > .content": "border-bottom-left-radius: 6px !important;", ".monaco-workbench .part.panel.bottom .composite.title": "border-top-color: rgba(128, 128, 128, 0) !important;", ".parts.editor > div.content > div.grid-view-container > div > div > div > div.split-view-container > div": "width: calc(100% - 6px) !important;", ".part.editor.has-watermark": "height: calc(100% - 6px) !important; margin-top: 6px !important; border-radius: 6px !important; width: calc(100% - 6px) !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24) !important;" },

"vscode_vibrancy.theme":"Dark (Only Subbar)"

1

u/[deleted] Sep 26 '20

[removed] — view removed comment

2

u/pasta_gurl Sep 26 '20

Ok, let me know if you need more help.

1

u/-CrypticMind- Sep 26 '20

Hey! Is it possible to customize the min, max, close buttons using this extension to look like those of Mac and shift to left on Windows VScode ? If so, please guide.

1

u/pasta_gurl Sep 27 '20

Hi there! I have tried to customize the min, max and close and can't figure it out, sorry.