Visual Studio代码菜单栏不主题

发布于 2025-02-10 05:17:53 字数 1687 浏览 0 评论 0原文

我正在使用代码1.68.1-1-1 用于Arch Linux的软件包。我还在运行等离子桌面。

settings.json中的所有颜色设置都在工作,但菜单栏(具有文件编辑选择等)。它仍然是白色的。

我安装了 libdbusmenu-glib 也没有帮助。

有人知道如何纠正吗?

我的颜色设置:

workbench.colorCustomizations": 
    {
        "editor.background": "#21202e",
        "activityBar.background": "#21202E",
        "activityBar.border": "#000000",
        "activityBar.foreground": "#37ddcf",
        "activityBar.inactiveForeground": "#44465f",
        "menu.background": "#21202E",
        "menu.border": "#000000",
        "tab.hoverBackground": "#0f0e20",
        "tab.activeBackground": "#000000",
        "tab.inactiveBackground": "#18171f",
        "tab.activeForeground": "#FFFFFF",
        "titleBar.activeBackground": "#282738",
        "titleBar.border": "#000000",
        "editorGroupHeader.tabsBackground": "#21202E",
        "editorGroupHeader.tabsBorder": "#282e38",
        "sideBar.background": "#232334",
        "sideBar.border": "#000000",    
        
        "gitDecoration.modifiedResourceForeground": "#00ffb3",
        "gitDecoration.untrackedResourceForeground": "#f7aeae",
        "list.errorForeground": "#ff0000",
        "list.warningForeground": "#ff7221",

        "editorBracketHighlight.foreground1": "#EEEEEE",
        "editorBracketHighlight.foreground2": "#66ff00",
        "editorBracketHighlight.unexpectedBracket.foreground": "#ff0000", 
    }

I am using the code 1.68.1-1 package for Arch Linux. I am also running the plasma desktop.

All of the color settings in settings.json are working except for the Menu Bar (the one with File Edit Selection, etc). It remains white.

I installed libdbusmenu-glib as well but it did not help.

Does anyone know how to correct this?

My color settings:

workbench.colorCustomizations": 
    {
        "editor.background": "#21202e",
        "activityBar.background": "#21202E",
        "activityBar.border": "#000000",
        "activityBar.foreground": "#37ddcf",
        "activityBar.inactiveForeground": "#44465f",
        "menu.background": "#21202E",
        "menu.border": "#000000",
        "tab.hoverBackground": "#0f0e20",
        "tab.activeBackground": "#000000",
        "tab.inactiveBackground": "#18171f",
        "tab.activeForeground": "#FFFFFF",
        "titleBar.activeBackground": "#282738",
        "titleBar.border": "#000000",
        "editorGroupHeader.tabsBackground": "#21202E",
        "editorGroupHeader.tabsBorder": "#282e38",
        "sideBar.background": "#232334",
        "sideBar.border": "#000000",    
        
        "gitDecoration.modifiedResourceForeground": "#00ffb3",
        "gitDecoration.untrackedResourceForeground": "#f7aeae",
        "list.errorForeground": "#ff0000",
        "list.warningForeground": "#ff7221",

        "editorBracketHighlight.foreground1": "#EEEEEE",
        "editorBracketHighlight.foreground2": "#66ff00",
        "editorBracketHighlight.unexpectedBracket.foreground": "#ff0000", 
    }

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

阳光下慵懒的猫 2025-02-17 05:17:53

转到VSCODE设置并搜索“ window.titlebarstyle”,然后将其设置为“自定义”

https://i.sstatic.net/uzcnd.png“ alt =”在此处输入图像描述”>

Go to VSCode settings and search for "window.titleBarStyle" and set it to "custom"

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文