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"
}
}
]
}
@born2fly this post was some time ago now and you likely got it sorted but just looking at your stylesheet URL it seems you are missing the drive letter. Try
"vscode_custom_css.imports": ["file:///C:/Users/rich/Desktop/styles.css"],
, providing that your filename is styles.css and not vs-code-styles.css as mentioned in this ticket. Test it out by pasting it into your browser and if you get a result it's correct. Then do a "Reload Custom CSS and JS" as mentioned above.