drcika / apc-extension

https://marketplace.visualstudio.com/items?itemName=drcika.apc-extension
MIT License
588 stars 24 forks source link

Is It Possible to Customize the Font Used in PopUp Menus #86

Closed mfreeman-xtivia closed 11 months ago

mfreeman-xtivia commented 11 months ago

None of the options I have tried so far seem to be able to do this, including stylesheet options.

By the way thanks for a FABULOUS piece of work

drcika commented 11 months ago

they use os native, you can change system font

airtonix commented 7 months ago

apparently not on linux:

image

...

  "debug.console.fontFamily": "CozetteVector",
  "editor.codeLensFontFamily": "CozetteVector",
  "editor.fontFamily": "CozetteVector",
  "editor.inlayHints.fontFamily": "CozetteVector",
  "errorLens.fontFamily": "CozetteVector",
  "scm.inputFontFamily": "CozetteVector",
  "terminal.integrated.fontFamily": "CozetteVector",
  "notebook.output.fontFamily": "CozetteVector",
  "chat.editor.fontFamily": "CozetteVector",

  "debug.console.fontSize": 12,
  "editor.codeLensFontSize": 12,
  "editor.fontSize": 12,
  "editor.suggestFontSize": 12,
  "scm.inputFontSize": 12,
  "terminal.integrated.fontSize": 12,
  "notebook.markup.fontSize": 12,
  "notebook.output.fontSize": 12,
  "chat.editor.fontSize": 12,

  "apc.font.family": "CozetteVector",
  "apc.monospace.font.family": "CozetteVector",
  "apc.electron": {
    "frame": false,
    "backgroundMaterial": "acrylic"
  },
  "apc.buttons": [
  ],
  "apc.header": {
    "fontSize": 12
  },
  "apc.sidebar.titlebar": {
    "fontSize": 12
  },
  "apc.statusBar": {
    "fontSize": 12
  },
  "apc.listRow": {
    "fontSize": 12
  },
  "apc.activityBar": {
    "size": 32
  },
  "apc.stylesheet": {
    "body .monaco-workbench .part.titlebar>.titlebar-container>.titlebar-center>.window-title>.command-center .action-item.command-center-center": {
      "font-size": "12px"
    }
  }
...

My system font is definitely not CozetteVector

airtonix commented 7 months ago

this works:

  "debug.console.fontFamily": "CozetteVector",
  "editor.codeLensFontFamily": "CozetteVector",
  "editor.fontFamily": "CozetteVector",
  "editor.inlayHints.fontFamily": "CozetteVector",
  "errorLens.fontFamily": "CozetteVector",
  "scm.inputFontFamily": "CozetteVector",
  "terminal.integrated.fontFamily": "CozetteVector",
  "notebook.output.fontFamily": "CozetteVector",
  "chat.editor.fontFamily": "CozetteVector",

  "debug.console.fontSize": 12,
  "editor.codeLensFontSize": 12,
  "editor.fontSize": 12,
  "editor.suggestFontSize": 12,
  "scm.inputFontSize": 12,
  "terminal.integrated.fontSize": 12,
  "notebook.markup.fontSize": 12,
  "notebook.output.fontSize": 12,
  "chat.editor.fontSize": 12,

  "apc.font.family": "CozetteVector",
  "apc.monospace.font.family": "CozetteVector",
  "apc.electron": {
    "frame": false,
    "backgroundMaterial": "acrylic"
  },
  "apc.buttons": [
  ],
  "apc.header": {
    "fontSize": 12
  },
  "apc.sidebar.titlebar": {
    "fontSize": 12
  },
  "apc.statusBar": {
    "fontSize": 12
  },
  "apc.listRow": {
    "fontSize": 12
  },
  "apc.activityBar": {
    "size": 32
  },
  "apc.stylesheet": {
    "body .monaco-workbench .part.titlebar>.titlebar-container>.titlebar-center>.window-title>.command-center .action-item.command-center-center": {
      "font-size": "12px"
    },
    "body .monaco-workbench .activitybar .menubar.compact>.menubar-menu-button.open .menubar-menu-items-holder.monaco-menu-container *": {
      "font-size": "12px !important"
    }
  }
mfreeman-xtivia commented 7 months ago

Thanks but which of the changes listed in the file above affect the popup menu?

mubaidr commented 3 months ago

Thanks but which of the changes listed in the file above affect the popup menu?

"body .monaco-workbench .activitybar .menubar.compact>.menubar-menu-button.open .menubar-menu-items-holder.monaco-menu-container *": {
      "font-size": "12px !important"
    }

More specifically you need to target: .monaco-menu-container