be5invis / vscode-custom-css

Custom CSS Plugin for Visual Studio Code. Based on vscode-icon
MIT License
855 stars 62 forks source link

Windows. CSS Font Family doesn't work #238

Open artemKerimoff opened 2 hours ago

artemKerimoff commented 2 hours ago

Customising the Explorer panel in VS Code. I have set the following style for it:

/* File Explorer Item Label */
.monaco-tree .monaco-tree-row .label-name,
.monaco-list .monaco-list-row
.monaco-icon-label .label-name,
.monaco-highlighted-label {
    font-family: 'Geist Mono', monospace !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #FFF !important;
}

however, even when I run the ‘enable custom css and js’ command, it's as if the Geist Mono font is not visible and the default font with monospace is set. this is how the explorer panel looks like after running the command: image and it should look like this (we are talking about the font): image

artemKerimoff commented 2 hours ago

By the way, other CSS methods work fine, for example, changing the font colour for the mtk3 class worked fine for me. the problem with font setting applies not only to the explorer class, but also to other classes, such as the same mtk3 class.