Keyboard Support

Contact and Search Homepage

Header bottom

Other versions
Version 18.0 (home page)Version 17.0 (current version)Version 16.0Version 15.0Version 14.0Version 13.0Version 12.0Version 11.0Version 10.0 (home page)Version 9.0 (home page)Version 8.0 (home page)Version 7.0 (home page)Version 6.0 (home page)Version 5.0 (home page)Version 4.0 (home page)

On this page

Custom Editor Themes

Keyman Developer embeds the Monaco open source text editor. The highlighting and styles for the text editor are customisable with a JSON file configured in the Options dialog. The JSON file must be a valid Monaco theme (passed as second parameter to monaco.editor.defineTheme).


  "base": "vs-dark",
  "inherit": true,
  "rules": [
    { "token": "comment", "foreground": "ffa500", "background": "303030", "fontStyle": "italic underline" },
    { "token": "comment.js", "foreground": "008800", "fontStyle": "bold" },
    { "token": "comment.css", "foreground": "0000ff", "fontStyle": "bold", "inherit": false, "background": "808080" }

Keyman keyboard language tokens

The Keyman keyboard language highlighting uses the following token names:

TokenSource Element
annotationSystem store names
identifierStore and Group names
invalidInvalid code
keywordKeywords such as begin, any
numberDecimal character codes, deprecated, e.g. d65
number.hexUnicode character codes, e.g. U+1234
number.octalCharacter codes expressed in octal
operator+, > and other operators
string.invalidUnterminated strings
string.quote' and " characters
tagVirtual keys