OPTY

调整vscode背景亮度


步骤:

  1. 打开 VSCode

  2. Ctrl+Shift+P

  3. 输入:Preferences: Open Settings (JSON)

  4. settings.json 里加入想调整的颜色

 

    "workbench.colorCustomizations": {
        "editor.background": "#2e2e2e",
        "sideBar.background": "#2e2e2e",
        "panel.background": "#2e2e2e",
        // 标题栏
        "titleBar.activeBackground": "#000000",
        "titleBar.activeForeground": "#ffffff",
        "titleBar.inactiveBackground": "#777777",
        "titleBar.inactiveForeground": "#020202",
        // 状态栏
        "statusBar.background": "#2e2e2e",

        // 标签容器背景
        "editorGroupHeader.tabsBackground": "#2e2e2e",
        "tab.activeBackground": "#2e2e2e",
        "tab.activeForeground": "#fad4d4",
        
        "tab.inactiveBackground": "#2e2e2e",
        "tab.inactiveForeground": "#8b8b8b", 
    }