johnpapa / vscode-peacock

Subtly change the color of your Visual Studio Code workspace. Ideal when you have multiple VS Code instances, use VS Live Share, or use VS Code's Remote features, and you want to quickly identify your editor.
MIT License
1.03k stars 115 forks source link

Theme auto change from one project to another #515

Open viccabezos opened 1 year ago

viccabezos commented 1 year ago

πŸ™πŸΌ I am not sure it is really a bug, but i couldn't find a solution πŸ™πŸΌ

Versions (please complete the following information):

Describe the bug I have different projects with different colours settings with their own document vscode settings json. When i open one of this projects, the settings will change automatically to violet, so each time i open a project i have tu undone this and put back the right colours.

Expected behavior Each project should keep their colours

Screenshots If applicable, add screenshots to help explain your problem. Capture d’écran 2023-03-01 aΜ€ 11 58 23

Additional context

johnpapa commented 1 year ago

Thank you @viccabezos for creating this issue!

willpower232 commented 1 year ago

When you say each project has its own colours, does it have all of the colours or just a couple specified?

I think peacock will always kick in if it sees peacock.color so it might be worth experimenting with making sure all the colours are specified and/or removing peacock.color if you only want a few colours to change or are happy with that projects specific colours

viccabezos commented 1 year ago

hi @johnpapa and @willpower232 , thank you for your quick answering, i'm not really sure to fully understand your message, i know i have specified each part of the vscode template with their own colour, and that it changes anyway, when i close and reopen the project. i have tried giving only partially coloring and it does still happens the same. I will try removing the line peacock.color and let you know if it does help :) txs

viccabezos commented 1 year ago

Hi again, so i've tested it, and even if i delete the line peacock.color, i sil have the same 'issue' when i close my computer or vscode and open again all of my projects change it's colour :) here an example of a couloured project in case there's an issue with it ? :

{ "workbench.colorCustomizations": { "activityBar.activeBackground": "#fd7022", "activityBar.activeBorder": "#fd7022", "activityBar.background": "#fd7022", "activityBar.foreground": "#ffffff", "activityBar.inactiveForeground": "#ffffff99", "activityBarBadge.background": "#ffffff", "activityBarBadge.foreground": "#fd7022", "sash.hoverBorder": "#7cc0e3", "statusBar.background": "#fd7022", "statusBar.foreground": "#ffffff", "statusBarItem.hoverBackground": "#fd7022", "statusBarItem.remoteBackground": "#fd7022", "statusBarItem.remoteForeground": "#ffffff", "titleBar.activeBackground": "#fd7022", "titleBar.activeForeground": "#ffffff", "titleBar.inactiveBackground": "#ed7726", "titleBar.inactiveForeground": "#ffffff99", "commandCenter.border": "#ffffff99" } }

willpower232 commented 1 year ago

If they aren't the colours you want, you can remove them? Are there other colours in your main vscode config?