Skip to content

Instantly share code, notes, and snippets.

@douknow
Last active April 10, 2024 09:16
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save douknow/eae657279d43cd71504c021facb15e34 to your computer and use it in GitHub Desktop.
Save douknow/eae657279d43cd71504c021facb15e34 to your computer and use it in GitHub Desktop.
Custom VSCode use 'Operator Mono' font for italic font style and 'Fira Code' for other font styles.(I used theme is Palenight Operator)
{
"window.zoomLevel": 0,
"editor.fontSize": 15,
"editor.fontFamily": "'Fira Code', Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.lineHeight": 36,
"workbench.colorTheme": "Palenight Operator",
"dart.debugExternalLibraries": false,
"dart.debugSdkLibraries": false,
"vscode_custom_css.imports": [
"file:///Users/[your user name]/.vscode/vscode.css"
]
}
.mtki:not(.mtk13) {
font-family: 'Operator Mono' !important;
font-size: 1.1em;
}
@douknow
Copy link
Author

douknow commented Jul 29, 2020

Theme: material-palenight-theme
Custom css extension: vscode-custom-css
Fira Code: Fira Code
Operator Mono: Operator Mono

@douknow
Copy link
Author

douknow commented Jul 29, 2020

The result!

CSS

WeChat80f5991611f9026ccd948f0888af33b4

Swift

WeChat3cd1433d721207e5bcdf898cadecdea6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment