Skip to content

Instantly share code, notes, and snippets.

@james-see
Created April 3, 2019 12:59
Show Gist options
  • Select an option

  • Save james-see/38dcc2413256705877fea9f7217e7af4 to your computer and use it in GitHub Desktop.

Select an option

Save james-see/38dcc2413256705877fea9f7217e7af4 to your computer and use it in GitHub Desktop.
vscode css custom for ligatures and nice font!
/* /// OPTIONAL ///
you can comment out this part if you don't want to change the default font for the UI
*/
.monaco-shell {
font-feature-settings: "ss01";
font-family: "Cartograph Mono CF", monospace;
}
/* /// REQUIRED ///
classes for italics
*/
[class^="mtk"].mtki {
font-feature-settings: "ss01";
font-family: "Cartograph Mono CF";
}
.type.storage,
.type.storage.declaration,
.storage.class.modifier {
font-feature-settings: "ss01";
font-family: "Cartograph Mono CF";
}
.mtk7,
.mtk3,
.mtk13,
.mtk16,
.mtk10 {
font-feature-settings: "ss01";
font-family: "Cartograph Mono CF";
}
.mtk10 {
font-style: italic;
}
.mtk7,
.mtk18,
.mtk46 {
font-style: italic;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment