Skip to content

Commit

Permalink
Notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
thesoftwarephilosopher committed Aug 22, 2024
1 parent 93e0368 commit c07db38
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions site/token-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
// vs-dark monaco: https://github.com/microsoft/vscode/blob/main/src/vs/editor/standalone/common/themes.ts#L82
// dark-plus vscode: https://github.com/microsoft/vscode/blob/main/extensions/theme-defaults/themes/dark_plus.json

/**
* Differences from official typescript monarch token provider:
*
* 1. `...` is highlighted as a keyword now
* 2. `export/etc` are highlighted as control-flow keywords
*
*/

export const rules = [
// { token: "identifier.ts", foreground: "9CDCFE" },
{ token: "property.ts", foreground: "9CDCFE" },
Expand Down

0 comments on commit c07db38

Please sign in to comment.