https://www.dafontfree.net/freefonts-script12-bt-f141942.htm
https://github.com/be5invis/vscode-custom-css
sudo nano ~/.vscode/vs-code-styles.css
/* Set italics and comments to the script font */
.mtk3, .mtk4 {
font-family: 'Script12 BT';
font-size: 1.2em;
font-style: normal;
color: #57a649!important;
}
.comment {
font-family: 'Script12 BT';
font-style: italic;
font-size: 1.2em;
color: #57a649!important;
}
.comment:not(.punctuation) {
font-family: 'Script12 BT';
font-size: 1.5em;
color: #57a649!important;
}
// Somewhere in your user / workspace settings file !
.
.
.
.
"vscode_custom_css.imports": ["file:///<PATH TO CSS FILE>/.vscode/vs-code-styles.css"],
"vscode_custom_css.policy": true,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "comment",
"settings": {
"fontStyle": "italic"
}
}
]
}
I dunno, I tried this and there wasn't any change to my comment font, only the style. I'm not sure if it matters where the css file resides, I have it on my desktop just to see if this works and I have my json correctly pointing to it ( ["file:///Users/rich/Desktop/styles.css"] ) - but no change to the font.