1Prelude
This color scheme is influenced by the music and the cover artwork of modern. Note Braces and parens should be the same color as the foreground color of the currently scoped position in the document (e.g. Purple for headings, Foreground for regular text).
1.1Interpreting this specification
Language syntaxes and scopes will be referred to in the following manner throughout this document:
ScopeOfInterest(ForegroundColor,BackgroundColoropt)ItalicoptBoldopt
NoteThroughout the document, broad ranges of syntax tokens will be referred to using TextMate Naming Conventions
1.2Color Palette
1.2.1Standard
1.2.2ANSI
1.3Example spec-compliant theme implementation
A fully spec‐compliant theme implementation can be found by visiting the dracula/visual‐studio‐code repository.
2General
2.1Diffs
2.2Markup (Markdown, RST, etc.)
NoteBraces and parens should be the same color as the foreground color of the currently scoped position in the document (e.g. Purple for headings, Foreground for regular text)
3Classes
NoteInstanceReservedWords refers to reserved words that the language uses to interact with the instance (e.g.
this
, self
, super
).4Comments
Example
5Constants
6Entities
7Functions/Methods
8Keywords
9Language Built-ins
10Punctuation
NoteSeparatorsReferencesOrAccessors does not refer to simple object or class dot accessors.
11Serializable / Configuration Languages
12Storage
NoteGenericTemplatesAndMappedDeclarations refers to the declarations of generic types only. In the following example, only the
T
in the brackets would be Orange. function myFunc<T>(x: T): T {}
Dracula Pro Theme
NoteGenericTemplatesAndMappedDeclarations would also color
P
and T
on the LHS and T
in the declaration of the following expression.