A set of popular dark color themes extended to enhance support for XSLT/XPath Semantic Highlighting.
These themes are for use with the XSLT/Path for Visual Studio Code and XPath Notebooks extensions maintained by DeltaXML.
The following themes are included. The 'X' prefix is used to distinguish the XSLT/XPath extended variant. Links are to the VS Code marketplace entries for the original themes.
- X Darcula From IntelliJ
- X Gruvbox Material Dark
- X Iceberg
- X Moegi Dark Vitesse
- X Nord
- X Tokyo Night Storm
- X Zenburn
The immediate goal of this extension is to add support for language-specific XSLT and XPath semantic tokens for a range of popular themes.
These theme enhancements are provided as a convenient alternative to managing custom user settings.
You can override specific XSLT token colors in user settings, as in the following example:
"editor.semanticTokenColorCustomizations": {
"[Kimbie Dark]": {
"enabled": true,
"rules": {
"simpleType": "#98676a",
"anonymousFunction": "#889b4a",
"axisName": "#98676a",
}
}
}
Property names like simpleType
correspond to the XSLT/XPath-specific Semantic Tokens names. Here's a full list:
attributeName,
attributeEquals,
attributeValue,
xmlnsName,
dtd,
elementName,
elementValue,
processingInstrName,
processingInstrValue,
entityRef,
xmlComment,
xmlPunctuation,
xslElementName,
xmlText
attributeNameTest,
comment*,
number*,
operator*,
variable*,
string*,
uriLiteral,
nodeType,
simpleType,
axisName,
nodeNameTest,
functionNameTest,
complexExpression,
function*,
entityRef,
anonymousFunction,
mapKey
* 'Standard' semantic tokens - used by other languages
-
Alongside adding support for XSLT/XPath Semantic Tokens, for some themes there may have been slight adjustments. Specifically:
- Ensure active indent-guide-line has sufficient contrast with non-active lines
- For XPath Notebooks, ensure the code cell background color is different to the general background color
-
For some themes it was necessary to adjust colors for semantic tokens that are not specific to XSLT/XPath