Customize Jupyter background error color in visual studio code
Asked Answered
D

3

6

I have problems with vs-code Jupyter Notebook colors ( after install ohmyzsh default theme ) .. where can I change the color values ​​to remove this annoying yellow background?

Example

Dalpe answered 18/1, 2022 at 15:3 Comment(0)
D
5

I find a solution. To find all possible vs-code color customization ran:

press F1 then write Developer: Generate Color Theme from Current Settings

then press F1 -> setting.json

on setting json add

"workbench.colorCustomizations": {
        "terminal.ansiYellow": "#8400ffe1",
}
Dalpe answered 18/1, 2022 at 15:23 Comment(0)
P
2

To clarify @Marco idea, press F1: Preferences: Open workspace settings (Json)

add this line to that json, Ctrl + S to save

"workbench.colorCustomizations": {
        "terminal.ansiYellow": "#8400ffe1",
}

The background would turn to purple

enter image description here

Puckery answered 3/10, 2022 at 9:13 Comment(0)
F
0

I was not able to find the settings described in the other answers.

Finally managed to do it:

  1. Open VS Code’s settings:

    • On Mac, click Code > Preferences > Settings (or press Command+,)
    • On Windows, click File > Preferences > Settings
  2. In the User tab, click Workbench > Appearance > Color customizations > Edit in settings.json

  3. Then add the lines given in the other answers:

    "workbench.colorCustomizations": {
        "terminal.ansiYellow": "#8400ffe1",
    }
    
Flection answered 27/6 at 22:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.