question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support fontName in textMateRules

See original GitHub issue

This is a feature request, and I am not sure how it will be received. Probably not overwhelmingly positive, but nonetheless:

I would like to have support to change font family in my textmate theme. Right now you support fontStyle, fontSize and foreground. I believe the correct term is fontName as per https://github.com/textmate/markdown.tmbundle/issues/7 which would control the css font-family property,

E g something like

  "editor": {
    "fontFamily": "Fira Code",
    "fontSize": "16",
    "tokenColorCustomizations": {
      "textMateRules": [
        {
          "name": "Variables",
          "scope": "variable",
          "settings": {
            "fontName": "Script12 BT",
          }
        }
      ]
    }
  }

This would be in order to conditionally change font-family and be able to support more creative themes.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:146
  • Comments:20

github_iconTop GitHub Comments

9reactions
giodestonecommented, Jan 9, 2020

Any progress on this feature?

8reactions
rolandlethcommented, Apr 9, 2019

Any chance this gets on the radar? Would be super awesome to have it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Any way to change the font family of only ... - Stack Overflow
Open your desired fonts separately in FontForge. From Element -> Font Info just change. "Fontname" : CustomFont-Regular, CustomFont-Italic; " ...
Read more >
Frequently Asked Questions - MonoLisa
How can I figure out which version of the typeface I have installed? Mac OS: Use either the Font Book app or a...
Read more >
Help finding cursive font name : r/vscode - Reddit
I think that it's Operator Mono, but this font it's very expensive. I suggest a free one very similar: https://rubjo.github.io/victor-mono/.
Read more >
Textmate 2: How can increase font size of sections in the ...
{ fontName = 'Courier'; fontSize = 36; } ... By clicking “Post Your Answer”, you agree to our terms of service, privacy policy...
Read more >
How to enable beautiful cursive fonts in your VS Code theme
... overflowing" for a while, I learned that you can overwrite your theme configuration by adding textMateRules to your settings.json .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found