microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.94k stars 29.18k forks source link

Status bar background color #1884

Closed joe-watkins closed 7 years ago

joe-watkins commented 8 years ago

The blue color is very distracting.. a way to change the color of that would be great!

max-orhai commented 7 years ago

+1 I find bentx's vscode-custom-theme extension to be an acceptable workaround for now, but it would be really nice to see this as an official feature.

xiaofengqinyu commented 7 years ago

you can change it with the following steps:

  1. ctrl+shift+p and input develop tool open develop tool
  2. choose element focus on status bar and find the css style
  3. edit the vscode css file(workbench.main.css) change the style
  4. save the file and reload your vscode
chrisjimallen commented 7 years ago

Agree the blue is quite loud, but anyone who hates a :) needs to 'go home and rethink their life'

steph643 commented 7 years ago

+1

rfgamaral commented 7 years ago

I'm using CustomCSS and JS Loader to customize VS Code UI similar to So​Da​Reloaded (dark variant) Subliminal Text theme.

There's still a lot of things missing, a lot of things I want to do and customize (some I don't think are even possible) but for now, the status bar is one of those things that I had to "fix".

Nothing fancy, but for anyone interested, check it out here.

Preview: screenshot

RohovDmytro commented 7 years ago

+1

jshrssll commented 7 years ago

+1

simoniz0r commented 7 years ago

I made a script based on https://github.com/Microsoft/vscode/issues/1884#issuecomment-230790242 because I got tired of editing the file to reset the color every time lol... Script Link

bickycheese commented 7 years ago

ctrl+k + ctrl+z fixes the issue for me (zen mode, read: distraction free...) but it would indeed be nice to add customization to more UI parts.

bn-l commented 7 years ago

"We are working on enabling people to remove UI by right-clicking on it."

I.e: I need to personally grease a 1000 poles at M$ to get this very small change done as the marketing department (who are 1 step away from full blown psychopathy) want it to remain.

bickycheese commented 7 years ago

@blueredcat, why removing it? Styling or autohide or something will do, no?

Brunorccrx commented 7 years ago

Like someone said already, just a gray/black option would be nice, this blue bar looks so odd on dark theme.

cecilemuller commented 7 years ago

I think the cleanest way to handle it would be exposing the settings to the theme, that way theme creators can provide color settings that fits the theme.

equinusocio commented 7 years ago

Check https://github.com/Microsoft/vscode/issues/21923

cyphunk commented 7 years ago

Installed from latest git source branch. They changed the color from blue to purple. (or is this the default for development versions?)

2017-03-25-111158_1366x768_scrot

I tried some of the quick css hacks mentioned in this thread. Nothing seemed to work quickly. Now spent at least an hour or two on this horrible blue bar. Astonished that this bluebar was supposedly a "standard" accross all visual studio tools. I'll switch back to a different editor and check vscode in another years time.

jwigley commented 7 years ago

Nothing seemed to work quickly. Now spent at least an hour or two on this horrible blue bar.

bongraster commented 7 years ago

+1 for statusbar color change & hiding this weird smiley

joe-watkins commented 7 years ago

Building upon @jwigley 's great recommendation, here's a detailed how-to:

  1. Open Extensions: Mac: Shift+command+X, Windows: Ctrl+Shift+X, Linux: Ctrl+Shift+X
  2. Search for Custom theme for Visual Studio Code and install that extension
  3. Visit preferences: Mac: Command+, Windows/Linux: File > Preferences > Settings
  4. In the right pane add "theme.statusbar.background.color": "#161616" (make hex your favorite color) e.g.
{
    "editor.fontSize": 16,
    "editor.tabSize": 2,
    "workbench.welcome.enabled": false,
    "theme.statusbar.background.color": "#161616"
}
  1. Show All Commands: Mac: Shift+command+P, Windows: Ctrl+Shift+P, Linux: Ctrl+Shift+P
  2. Search for Theme and activate Custom theme: Apply
bickycheese commented 7 years ago

@joe-watkins Running the contributed command:'theme.apply' failed.

joe-watkins commented 7 years ago

@stannynuytkens hmmm I dunno? You running latest version?

ghost commented 7 years ago

@stannynuytkens make sure you're running as administrator on windows or have correct privileges on osx/linux, if still not working please open an issue I'll look into it

ghost commented 7 years ago

It looks like this ticket could be closed soon, by looking at the latest sources, that's good news :)

export const STATUS_BAR_BACKGROUND = registerColor('statusBarBackground', {
    dark: '#007ACC',
    light: '#007ACC',
    hc: null
}, nls.localize('statusBarBackground', "Standard status bar background color. The status bar is shown in the bottom of the window"));

That look like the theming capability we've been waiting for, go vscode team !

Tyriar commented 7 years ago

That look like the theming capability we've been waiting for, go vscode team !

Yes the start of workbench theming support will be part of the March update (1.11). You will be able to do this very soon, see https://github.com/Microsoft/vscode/issues/3112#issuecomment-289483970

equinusocio commented 7 years ago

Where we will find the documentation about that?

Tyriar commented 7 years ago

@equinusocio there will probably be some documentation in the release notes, most will likely be in 1.12.

nojvek commented 7 years ago

I find the whole argument of blue visual studio absurd. The blue would matter if there there was a vscode/visual studio logo , there is none in the status bar. Its not like users will get confused about what IDE they are using because the blue is changed to a subtle grey like what @bgashler1 has posted.

Simply put, the blue is so strong that it pulls attention away from code users are writing. This is literally a user experience issue. Please please please treat it as such.

bpasero commented 7 years ago

With our work on workbench theming (release notes) you can now customise the color of the statusbar background. The relevant keys are:

Here is an example of how to change this via settings:

"workbench.experimental.colorCustomizations": {
    "statusBarBackground": "#00EECC",
    "statusBarNoFolderBackground": "#CCEE00",
    "statusBarDebuggingBackground": "#CCFFFF"
}

It is likely that the name of the setting will change and we also think the color names are not final yet.

As for being able to hide the smiley button in the status bar, I suggest to continue via https://github.com/Microsoft/vscode/issues/7893

Note: there are still a lot of colors missing from workbench theming support (continues via https://github.com/Microsoft/vscode/issues/3112) and there is still some issues with coloring icons in the status bar (continues via https://github.com/Microsoft/vscode/issues/23526).

honood commented 7 years ago

I like the original blue statusbar, however, the lastest relase uses purple instead. I hate purple.

Tyriar commented 7 years ago

@HoNooD the status bar has always been purple when no folder is opened.

simoniz0r commented 7 years ago

Woo!! This update is really nice! Thank you guys so much; the ability to theme the entire workbench is great!

bickycheese commented 7 years ago

Oh the irony, lol! (hint: titlebar color) Thanks guys, looking forward to theme the h*ll out of vscode!

bmewburn commented 7 years ago

Everything is purple for me now :( . Quiet Light theme, status bar with open folder, 1.11.1 on Debian Stretch screenshot from 2017-04-07 06-13-51

simoniz0r commented 7 years ago

That would be the theme. Define the color of your status bar in the settings with the new experimental workbench setting.

"workbench.experimental.colorCustomizations": {
        "statusBarBackground" : "#1A1A1A",
        "statusBarNoFolderBackground" : "#0A0A0D",
        "statusBarDebuggingBackground": "#511f1f"
    }
stefangabos commented 7 years ago

lovely! now how to change the color of the white icons? :)

Tyriar commented 7 years ago

@stefangabos do the icons not change with statusBarForeground?

image

stefangabos commented 7 years ago

it seems to have no effect here nm9nnca

Tyriar commented 7 years ago

@stefangabos if you're on Insiders, I'd file a bug. Otherwise testing in Insiders might be a good idea.

xconverge commented 7 years ago

@bpasero I know that this is a stretch but are there any plans to expose any of this through the extension API? Currently I am modifying settings on the fly and it seems like a bad hack...

Sorry for using an experimental feature right away :/ there was high demand..

https://github.com/VSCodeVim/Vim/issues/1056

image

bpasero commented 7 years ago

Currently no plans to expose this as API other than changing settings directly.

xconverge commented 7 years ago

Ok, related https://github.com/VSCodeVim/Vim/issues/1565

I will leave this open, unfortunately it means it won't work too well for the extension ever then for performance reasons as is but atleast it works OK

yuhaozhang commented 7 years ago

For those of you who has tried the above solution but found it not working, this has now been changed to:

"workbench.colorCustomizations": {
    "statusBar.background" : "#1A1A1A",
    "statusBar.noFolderBackground" : "#0A0A0D",
    "statusBar.debuggingBackground": "#511f1f"
}
stefangabos commented 7 years ago

This is working as expected in the new release. It can be closed as far as I'm concerned. Thanks!

On May 6, 2017 00:29, "Yuhao Zhang" notifications@github.com wrote:

For those of you who has tried the above solution but found it not working, this has not been changed to:

"workbench.colorCustomizations": { "statusBar.background" : "#1A1A1A", "statusBar.noFolderBackground" : "#0A0A0D", "statusBar.debuggingBackground": "#511f1f" }

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/vscode/issues/1884#issuecomment-299580210, or mute the thread https://github.com/notifications/unsubscribe-auth/AAtPLShnXBvyBcatp60Vpd5RR0CXS_zHks5r25SfgaJpZM4HBWq2 .

pravdomil commented 7 years ago

@bgashler1 it's not consistent it's distracting, you Microsoft

rogaha commented 7 years ago

👍 thanks for the tip @yuhaozhang! It worked like a charm!

rogaha commented 7 years ago

I ended up with:

"workbench.colorCustomizations": 
    {
        "statusBar.background" : "#303030",
        "statusBar.noFolderBackground" : "#222225",
        "statusBar.debuggingBackground": "#511f1f"
    }

Preview

screen shot 2017-06-06 at 7 51 18 am
DreadKnight commented 7 years ago

@rogaha Awesome, that did it for me, thanks! First time I'm using Visual Studio and that blue bar was distracting me big time, almost ditched this editor and went for the competition. I don't care about the whole family of Visual Studio editors if they want to stay flawed, but I must say awful consistency by design is bad.

Haroenv commented 7 years ago

@bpasero could you close and lock this thread to make it clear that a solution is possible now with workbench.colorCustomizations? Thanks!

hbend1li commented 7 years ago

+1

Tyriar commented 7 years ago

Themes can now set the status bar background. You can also override the colors by adding the following to your settings.json file:

"workbench.colorCustomizations": 
{
  "statusBar.background" : "#303030",
  "statusBar.noFolderBackground" : "#222225",
  "statusBar.debuggingBackground": "#511f1f"
}

Locking as this feature has been in since v1.11 and so the solution doesn't get buried.