Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/CodelyTV/vscode-theme/llms.txt

Use this file to discover all available pages before exploring further.

Codely Theme uses TextMate grammar scopes to assign colors and font styles to every token in the editor. The theme file defines 80+ token rules that cover both generic cross-language scopes and language-specific rules tailored for Python, JavaScript, CSS, JSON, Markdown, and SQL. Generic rules lay down a consistent baseline; language-specific rules then refine individual tokens where a language’s grammar warrants it.

Generic Token Scopes

The following table covers the core scope groups that apply across all languages. Each row lists the display color, font style, and the TextMate scopes that trigger the rule.
Scope GroupColorStyleTextMate Scopes
Comments#a89984italiccomment, punctuation.definition.comment
Variables#ebdbb2normalvariable, string constant.other.placeholder
Keywords & Storage#fb5245italickeyword, storage.type, storage.modifier
Operators#ebdbb2normalkeyword.operator, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.new
Operator / Misc punctuation#8ec07cnormalmeta.tag, punctuation.definition.tag, punctuation.section.embedded, keyword.other.template, keyword.other.substitution
Functions#fac149normalentity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method
Numbers & Constants#d3869bnormalconstant.numeric, constant.language, support.constant, constant.character, variable.parameter, keyword.other.unit, keyword.other
Strings#b8bb26normalstring
Class & Support#8ec07cnormalentity.name, support.type, support.class, entity.other.inherited-class, support.orther.namespace.use.php, support.other.namespace.php
Parameters & Block Comments#ebdbb2normalvariable.parameter, comment.block
Symbols & Markup Heading#ebdbb2normalconstant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading
Tags#fb5245normalentity.name.tag, meta.tag.sgml, markup.deleted.git_gutter
Regular Expressions#89ddffnormalstring.regexp
Escape Characters#89ddffnormalconstant.character.escape
Decorators (JS)#82aaffitalictag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js
Markup — Italic#fb5245italicmarkup.italic
Markup — Bold#fb5245boldmarkup.bold, markup.bold string

Language-Specific Highlights

Several languages receive dedicated scope overrides to handle grammar quirks or to reinforce the theme’s semantic color assignments.

Python

TokenColorStyleScope
Docstrings#a89984italicstring.quoted.docstring.multi.python
Decoratorsitalicentity.name.function.decorator.python
self / this / super#fb5245italicvariable.parameter.function.language.special.self.python, variable.language.this, variable.language.super
Built-in functions#fb5245italicsupport.function.builtin.python
Class methods#8ec07cnormalsource.python entity.name.function
Logical operators#fb5245italicsource.python keyword.operator.logical.python
Data types#fac149normalsource.python support.type.python
f-string prefix#b8bb26normalsource.python storage.type.string.python
f-string placeholders#fac149normalsource.python constant.character.format.placeholder.other.python
pip requirements#fb5245italicsource.pip-requirements, source.pip-requirements entity.name.class

JavaScript / TypeScript

TokenColorStyleScope
Class methods#82aaffitalicentity.name.method.js
Support classes / types#fac149normalsource.js support.class, source.js entity.name.type.js
in / of / new operators#fb5245italicsource.js keyword.operator.expression.in.js, source.js keyword.operator.expression.of.js, source.js keyword.operator.new
Block variables#ebdbb2normalsource.js meta.block variable.other

HTML

TokenColorStyleScope
Tags#fb5245italicentity.name.tag.html
Attributes#fb5245normalentity.other.attribute-name.html
Tag punctuation (< / >)#8ec07citalicpunctuation.definition.tag.begin.html, punctuation.definition.tag.end.html
DOCTYPE#8ec07cboldmeta.tag.sgml.doctype

CSS / SCSS / Sass

TokenColorStyleScope
Property names#ebdbb2normalsource.css support.type.property-name (and SCSS/Less/Stylus variants)
Selectors & values#fb5245italicmeta.selector.css, meta.property-value.css
Support functions#fb5245italicsource.css support.function
Units & constants#b8bb26normalsource.css support.constant, source.css keyword.other.unit
CSS classes#fb5245italicentity.other.attribute-name.class

JSON

TokenColorStyleScope
Top-level keys#fb5245italicsource.json meta.structure.dictionary.json support.type.property-name.json
All dictionary keys#fac149normalsource.json meta.structure.dictionary.json
Values & punctuation#ebdbb2normalsource.json meta.structure.dictionary.value.json, source.json punctuation.*

Markdown

TokenColorStyleScope
Plain text#ebdbb2normaltext.html.markdown, punctuation.definition.list_item.markdown
Headings#fb5245italicmarkup.heading.markdown entity.name, markup.heading.markdown punctuation.definition.heading.markdown
Inline code#c792eanormaltext.html.markdown markup.inline.raw.markdown

Font Styles

Italic is used on comments, certain keywords and storage modifiers, function parameters, Python self/super, decorators, and language keywords such as in / of. This visually separates annotation and metadata from executable logic — you can spot a comment or a type modifier without reading the word. Bold appears only on markup.bold tokens (Markdown bold text), keeping emphasis meaningful and rare inside source code.

Inspecting Scopes

If you want to know the exact TextMate scope of any token in your editor, VS Code ships a built-in inspector:
1

Open the Command Palette

Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows / Linux).
2

Run the inspect command

Type Developer: Inspect Editor Tokens and Scopes and press Enter.
3

Click a token

Click any character in the editor. A panel appears showing the token’s TextMate grammar scopes, the theme rule that matched, and the resulting color and font style.
4

Find the rule in the theme file

Copy the innermost scope name and search for it in themes/dark.codely-theme-color-theme.json inside the repository to see exactly which rule applies.
To override a single token color for your personal setup, use editor.tokenColorCustomizations in VS Code’s settings.json — no need to fork or modify the theme itself.
settings.json
{
  "editor.tokenColorCustomizations": {
    "[Codely Dark]": {
      "textMateRules": [
        {
          "scope": "comment",
          "settings": {
            "foreground": "#928374",
            "fontStyle": "italic"
          }
        }
      ]
    }
  }
}

Build docs developers (and LLMs) love