Skip to content
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

activityBar.activeBorder and activityBar.activeBackground is not recognized #84316

Closed
aniskhan001 opened this issue Nov 8, 2019 · 4 comments
Closed
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@aniskhan001
Copy link

  • VSCode Version: 1.40.0
  • OS Version: MacOS High Sierra 10.13.6

Steps to Reproduce:

  1. Open the settings.json file
  2. Type in activityBar.activeBorder or activityBar.activeBackground and enter some values

Screenshot:
Screen Shot 2019-11-09 at 2 37 38 AM

Does this issue occur when all extensions are disabled?: Yes

@hannawalter
Copy link

hannawalter commented Nov 8, 2019

For those settings to be recognized they have to be nested in
workbench.colorCustomizations

Like so:

 "workbench.colorCustomizations": {
        "activityBar.activeBorder": "#ff00a8",
        "activityBar.activeBackground": "#ff00a822"
},

@alexdima alexdima added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Nov 8, 2019
@vscodebot
Copy link

vscodebot bot commented Nov 8, 2019

Please ask your question on StackOverflow. We have a great community over there. They have already answered thousands of questions and are happy to answer yours as well. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Nov 8, 2019
@zachvalenta
Copy link

I asked (and answered) this on Stack Overflow: https://stackoverflow.com/questions/47390242/how-to-modify-vscode-activity-bar

@temurih
Copy link

temurih commented Nov 14, 2019

I believe this has to be better documented than this,

You can control the active indicator via the new color token, activityBar.activeBorder. We also introduced an optional background color for the active element, activityBar.activeBackground, and when configured can look like so:

I was making the same mistake as OP.

@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

5 participants