monaspace icon indicating copy to clipboard operation
monaspace copied to clipboard

Mix & Match? 😢

Open raskyld opened this issue 1 year ago • 12 comments

Hello!

This is somehow related to #6 but I would like to ask for a more generic one, I know some monospaced fonts are capable of mixing standard monospaced and handwritten style when the text is in comment block (probably they just change the italic variant?).

Could be build monaspace to allow that? In my specific case, I would like to Argon for my code and Radon for my comments 🙏

Thanks for your awesome work ❤️

raskyld avatar Nov 10 '23 08:11 raskyld

I'm also looking for this. In the way "Operator Mono" or "Victor Mono" does it

anyway, awesome work, awesome project ❤️ ⭐ thanks to anyone involved in this 👏

goldenraphti avatar Nov 10 '23 10:11 goldenraphti

This is not possible to implement in the font, it needs to be implemented in VS Code (or whatever editor you're using).

VS Code already allows making certain scopes italic or bold, only the font family isn't configurable yet.

Aloso avatar Nov 10 '23 12:11 Aloso

in VSCode, this is doable if you install the APC extension and provide a custom stylesheet.

E. g., to use Radon for comments:

.mtk5 {
  font-family: "Monaspace Radon Var";
}

(look up specific classes using dev tools)

urzhumskov avatar Nov 10 '23 12:11 urzhumskov

Has anyone found the class for copilot suggestions? Whenever I click on the eyedropper to find it, the suggestion goes away.

taciturnaxolotl avatar Nov 10 '23 14:11 taciturnaxolotl

@kcoderhtml the class for an Copilot inline suggestion is class="mtk1 ghost-text-decoration" for me.

You can inspect transient DOM elements by e.g. halting the app with a debugger after a delay with a console statement like:

setTimeout(() => { debugger; }, 10000);

fspoettel avatar Nov 10 '23 15:11 fspoettel

(probably they just change the italic variant?)

I've seen this done before. IIRC it was Cascadia Code who had a cursive font for their italics.

ketozhang avatar Nov 10 '23 19:11 ketozhang

Helpful thread... My current settings for MacOS APC extension. Radon comments and Thin Krypton Copilot

"apc.stylesheet": {
    ".mtk3": "font-family: 'Monaspace Radon Var'; font-weight: 500;",
    ".ghost-text-decoration, .ghost-text-decoration-preview": "font-family: 'Monaspace Krypton Var'; font-weight: 200;"
}

mashaal avatar Nov 10 '23 20:11 mashaal

Just curious, can I enable such feature in neovim?

WindSoilder avatar Nov 11 '23 00:11 WindSoilder

Helpful thread... My current settings for MacOS APC extension. Radon comments and Thin Krypton Copilot

"apc.stylesheet": {
    ".mtk3": "font-family: 'Monaspace Radon Var'; font-weight: 500;",
    ".ghost-text-decoration, .ghost-text-decoration-preview": "font-family: 'Monaspace Krypton Var'; font-weight: 200;"
}

🤩 thank you. This worked for me.

fpigeonjr avatar Nov 12 '23 14:11 fpigeonjr

Helpful thread... My current settings for MacOS APC extension. Radon comments and Thin Krypton Copilot

"apc.stylesheet": {
    ".mtk3": "font-family: 'Monaspace Radon Var'; font-weight: 500;",
    ".ghost-text-decoration, .ghost-text-decoration-preview": "font-family: 'Monaspace Krypton Var'; font-weight: 200;"
}

Thanks! BTW 'var' is not needed for macOS users. Just use font-family: 'monaspace krypton'

x-tropy avatar Nov 14 '23 16:11 x-tropy

Has anyone found the class for copilot suggestions? Whenever I click on the eyedropper to find it, the suggestion goes away.

@kcoderhtml OOB, you can control the font for code blocks the AI suggests in chat with the following settings:

chat.editor.fontFamily
chat.editor.fontSize
chat.editor.fontWeight
chat.editor.lineHeight

I assume typing chat will give you additional syntax for further customization.

pa-0 avatar Apr 07 '24 17:04 pa-0

Just curious, can I enable such feature in neovim?

Hi @WindSoilder, here's a workaround I made: monaspace.nvim if you are still interested and can't wait to try it out!

jackplus-xyz avatar Jan 11 '25 08:01 jackplus-xyz