Agentic Theme
A premium AI-era dark theme for VS Code — 21 meticulously crafted variants built for developers who think in systems. Teal, Ocean, Carbon, Palenight, Graphene, Deepforest, Clay, Sand, Montana, Anthracite + High Contrast.
A premium AI-era dark theme for VS Code — 21 meticulously crafted variants built for developers who think in systems. Teal, Ocean, Carbon, Palenight, Graphene, Deepforest, Clay, Sand, Montana, Anthracite + High Contrast.
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| Global settings | #E3D3CC | — |
| string | #C3E88D | — |
| punctuation, constant.other.symbol | #89DDFF | — |
| constant.character.escape, text.html constant.character.entity.named | #E3D3CC | — |
| constant.language.boolean | #ff9cac | — |
| constant.numeric | #F78C6C | — |
| variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments | #E3D3CC | — |
| keyword.other | #F78C6C | — |
| keyword, modifier, variable.language.this, support.type.object, constant.language | #89DDFF | — |
| entity.name.function, support.function | #82AAFF | — |
| storage.type, storage.modifier, storage.control | #C792EA | — |
| support.module, support.node | #f07178 | italic |
| support.type, constant.other.key | #FFCB6B | — |
| entity.name.type, entity.other.inherited-class, entity.other | #FFCB6B | — |
| comment | #463E3E | italic |
| comment punctuation.definition.comment | #463E3E | italic |
| punctuation | #89DDFF | — |
| entity.name, entity.name.type.class, support.type, support.class, meta.use | #FFCB6B | — |
| variable.object.property, meta.field.declaration entity.name.function | #f07178 | — |
| meta.definition.method entity.name.function | #f07178 | — |
| meta.function entity.name.function | #82AAFF | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #89DDFF | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #E3D3CC | — |
| entity.name.tag.yaml | #f07178 | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #f07178 | — |
| constant.language.json | #89DDFF | — |
| meta.structure.dictionary.json support.type.property-name.json | #C792EA | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FFCB6B | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #F78C6C | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f07178 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #916b53 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #82AAFF | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ff9cac | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C792EA | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C3E88D | — |
| entity.other.attribute-name.class | #FFCB6B | — |
| entity.other.attribute-name.id | #F78C6C | — |
| source.css entity.name.tag | #FFCB6B | — |
| support.type.property-name.css | #B2CCD6 | — |
| meta.tag, punctuation.definition.tag | #89DDFF | — |
| entity.name.tag | #f07178 | — |
| entity.other.attribute-name | #C792EA | — |
| punctuation.definition.entity.html | #E3D3CC | — |
| markup.heading | #89DDFF | — |
| text.html.markdown meta.link.inline, meta.link.reference | #f07178 | — |
| text.html.markdown beginning.punctuation.definition.list | #89DDFF | — |
| markup.italic | #f07178 | italic |
| markup.bold | #f07178 | bold |
| markup.bold markup.italic, markup.italic markup.bold | #f07178 | italic bold |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #C3E88D | — |
| markup.inline.raw.string.markdown | #C3E88D | — |
| markup.quote | #89DDFF | italic |
| punctuation.definition.quote | #ff9cac | — |
| keyword.other.definition.ini | #f07178 | — |
| entity.name.section.group-title.ini | #89DDFF | — |
| source.cs meta.class.identifier storage.type | #FFCB6B | — |
| source.cs meta.method.identifier entity.name.function | #f07178 | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #82AAFF | — |
| source.cs storage.type | #FFCB6B | — |
| source.cs meta.method.return-type | #FFCB6B | — |
| source.cs meta.preprocessor | #463E3E | — |
| source.cs entity.name.type.namespace | #E3D3CC | — |
| meta.jsx.children, SXNested | #E3D3CC | — |
| support.class.component | #FFCB6B | — |
| source.cpp meta.block variable.other | #E3D3CC | — |
| source.python meta.member.access.python | #f07178 | — |
| source.python meta.function-call.python, meta.function-call.arguments | #82AAFF | — |
| meta.block | #f07178 | — |
| entity.name.function.call, support.function.builtin | #82AAFF | — |
| source.php support.other.namespace, source.php meta.use support.class | #E3D3CC | — |
| constant.keyword | #89DDFF | italic |
| entity.name.function | #82AAFF | — |
| constant.other.placeholder | #f07178 | — |
| markup.deleted | #f07178 | — |
| markup.inserted | #C3E88D | — |
| markup.underline | — | underline |
| keyword.control | #89DDFF | italic |
| variable.parameter | — | italic |
| variable.parameter.function.language.special.self.python | #E3D3CC | italic |
| constant.character.format.placeholder.other.python | #F78C6C | — |
| markup.fenced_code.block | #E3D3CCe6 | — |
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| Global settings | #E3D3CC | — |
| string | #C3E88D | — |
| punctuation, constant.other.symbol | #89DDFF | — |
| constant.character.escape, text.html constant.character.entity.named | #E3D3CC | — |
| constant.language.boolean | #ff9cac | — |
| constant.numeric | #F78C6C | — |
| variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments | #E3D3CC | — |
| keyword.other | #F78C6C | — |
| keyword, modifier, variable.language.this, support.type.object, constant.language | #89DDFF | — |
| entity.name.function, support.function | #82AAFF | — |
| storage.type, storage.modifier, storage.control | #C792EA | — |
| support.module, support.node | #f07178 | italic |
| support.type, constant.other.key | #FFCB6B | — |
| entity.name.type, entity.other.inherited-class, entity.other | #FFCB6B | — |
| comment | #463E3E | italic |
| comment punctuation.definition.comment | #463E3E | italic |
| punctuation | #89DDFF | — |
| entity.name, entity.name.type.class, support.type, support.class, meta.use | #FFCB6B | — |
| variable.object.property, meta.field.declaration entity.name.function | #f07178 | — |
| meta.definition.method entity.name.function | #f07178 | — |
| meta.function entity.name.function | #82AAFF | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #89DDFF | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #E3D3CC | — |
| entity.name.tag.yaml | #f07178 | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #f07178 | — |
| constant.language.json | #89DDFF | — |
| meta.structure.dictionary.json support.type.property-name.json | #C792EA | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FFCB6B | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #F78C6C | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f07178 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #916b53 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #82AAFF | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ff9cac | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C792EA | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C3E88D | — |
| entity.other.attribute-name.class | #FFCB6B | — |
| entity.other.attribute-name.id | #F78C6C | — |
| source.css entity.name.tag | #FFCB6B | — |
| support.type.property-name.css | #B2CCD6 | — |
| meta.tag, punctuation.definition.tag | #89DDFF | — |
| entity.name.tag | #f07178 | — |
| entity.other.attribute-name | #C792EA | — |
| punctuation.definition.entity.html | #E3D3CC | — |
| markup.heading | #89DDFF | — |
| text.html.markdown meta.link.inline, meta.link.reference | #f07178 | — |
| text.html.markdown beginning.punctuation.definition.list | #89DDFF | — |
| markup.italic | #f07178 | italic |
| markup.bold | #f07178 | bold |
| markup.bold markup.italic, markup.italic markup.bold | #f07178 | italic bold |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #C3E88D | — |
| markup.inline.raw.string.markdown | #C3E88D | — |
| markup.quote | #89DDFF | italic |
| punctuation.definition.quote | #ff9cac | — |
| keyword.other.definition.ini | #f07178 | — |
| entity.name.section.group-title.ini | #89DDFF | — |
| source.cs meta.class.identifier storage.type | #FFCB6B | — |
| source.cs meta.method.identifier entity.name.function | #f07178 | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #82AAFF | — |
| source.cs storage.type | #FFCB6B | — |
| source.cs meta.method.return-type | #FFCB6B | — |
| source.cs meta.preprocessor | #463E3E | — |
| source.cs entity.name.type.namespace | #E3D3CC | — |
| meta.jsx.children, SXNested | #E3D3CC | — |
| support.class.component | #FFCB6B | — |
| source.cpp meta.block variable.other | #E3D3CC | — |
| source.python meta.member.access.python | #f07178 | — |
| source.python meta.function-call.python, meta.function-call.arguments | #82AAFF | — |
| meta.block | #f07178 | — |
| entity.name.function.call, support.function.builtin | #82AAFF | — |
| source.php support.other.namespace, source.php meta.use support.class | #E3D3CC | — |
| constant.keyword | #89DDFF | italic |
| entity.name.function | #82AAFF | — |
| constant.other.placeholder | #f07178 | — |
| markup.deleted | #f07178 | — |
| markup.inserted | #C3E88D | — |
| markup.underline | — | underline |
| keyword.control | #89DDFF | italic |
| variable.parameter | — | italic |
| variable.parameter.function.language.special.self.python | #E3D3CC | italic |
| constant.character.format.placeholder.other.python | #F78C6C | — |
| markup.fenced_code.block | #E3D3CCe6 | — |
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| comment, punctuation.definition.comment | #3A3A3A | italic |
| string, string.quoted, string.template | #858585 | — |
| punctuation.definition.string, string.quoted punctuation.definition | #858585 | — |
| constant.numeric, constant.numeric.hex, constant.numeric.integer, constant.numeric.float | #ABABAB | — |
| keyword, keyword.control, keyword.operator.new, storage, storage.type, storage.modifier | #888888 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #888888 | — |
| entity.name.function, support.function, meta.function-call entity.name.function | #909090 | — |
| variable.parameter, meta.parameters variable.other | #C0C0C0 | italic |
| entity.name.type, entity.name.class, entity.name.interface, entity.name.enum, support.class, entity.other.inherited-class | #9A9A9A | — |
| constant, constant.language, variable.other.constant, support.constant | #BEBEBE | — |
| variable, variable.other, variable.other.readwrite | #C0C0C0 | — |
| keyword.operator, punctuation.accessor | #9B9B9B | — |
| punctuation, meta.brace, meta.bracket, meta.paren, punctuation.separator | #CCCCCC | — |
| entity.name.tag, support.class.component, meta.tag entity.name.tag | #8A8A8A | — |
| entity.other.attribute-name, meta.tag entity.other.attribute-name | #A0A0A0 | — |
| punctuation.definition.tag, meta.tag punctuation | #6A6A6A | — |
| entity.other.attribute-name.class, entity.other.attribute-name.id | #909090 | — |
| support.type.property-name.css, meta.property-name | #A0A0A0 | — |
| meta.property-value, support.constant.property-value | #858585 | — |
| entity.name.tag.css, meta.selector | #8A8A8A | — |
| support.type.property-name.json, string.quoted.double.json | #A0A0A0 | — |
| string.quoted.double.json meta.structure.dictionary.value.json | #858585 | — |
| markup.heading, punctuation.definition.heading.markdown | #888888 | bold |
| markup.bold | #CCCCCC | bold |
| markup.italic | #CCCCCC | italic |
| markup.inline.raw.string.markdown, markup.fenced_code.block | #858585 | — |
| markup.underline.link.markdown | #7EAFD4 | — |
| beginning.punctuation.definition.list.markdown | #7A7A7A | — |
| meta.function.decorator.python, entity.name.function.decorator.python | #909090 | italic |
| variable.language.special.self.python, variable.language.special.cls.python | #888888 | italic |
| storage.type.function.arrow | #888888 | — |
| entity.name.type.alias, entity.name.type.interface | #9A9A9A | italic |
| meta.decorator punctuation.decorator, meta.decorator entity.name.function | #909090 | italic |
| storage.modifier.lifetime.rust, entity.name.lifetime.rust | #7EAFD4 | italic |
| meta.macro.rust, support.other.macro.rust, entity.name.function.macro.rust | #888888 | — |
| invalid | #C07070 | |
| invalid.deprecated | #C5956A | strikethrough |
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| Global settings | #CAE5D5 | — |
| string | #C3E88D | — |
| punctuation, constant.other.symbol | #74C9DE | — |
| constant.character.escape, text.html constant.character.entity.named | #CAE5D5 | — |
| constant.language.boolean | #D3959B | — |
| constant.numeric | #CC8868 | — |
| variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments | #CAE5D5 | — |
| keyword.other | #CC8868 | — |
| keyword, modifier, variable.language.this, support.type.object, constant.language | #74C9DE | — |
| entity.name.function, support.function | #6FA0DE | — |
| storage.type, storage.modifier, storage.control | #A68DCD | — |
| support.module, support.node | #f07178 | italic |
| support.type, constant.other.key | #FFCB6B | — |
| entity.name.type, entity.other.inherited-class, entity.other | #FFCB6B | — |
| comment | #3B544D | italic |
| comment punctuation.definition.comment | #3B544D | italic |
| punctuation | #74C9DE | — |
| entity.name, entity.name.type.class, support.type, support.class, meta.use | #FFCB6B | — |
| variable.object.property, meta.field.declaration entity.name.function | #f07178 | — |
| meta.definition.method entity.name.function | #f07178 | — |
| meta.function entity.name.function | #6FA0DE | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #74C9DE | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #CAE5D5 | — |
| entity.name.tag.yaml | #f07178 | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #f07178 | — |
| constant.language.json | #74C9DE | — |
| meta.structure.dictionary.json support.type.property-name.json | #A68DCD | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FFCB6B | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #CC8868 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f07178 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #7B6E54 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #6FA0DE | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #D3959B | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #A68DCD | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C3E88D | — |
| entity.other.attribute-name.class | #FFCB6B | — |
| entity.other.attribute-name.id | #CC8868 | — |
| source.css entity.name.tag | #FFCB6B | — |
| support.type.property-name.css | #95BBBD | — |
| meta.tag, punctuation.definition.tag | #74C9DE | — |
| entity.name.tag | #f07178 | — |
| entity.other.attribute-name | #A68DCD | — |
| punctuation.definition.entity.html | #CAE5D5 | — |
| markup.heading | #74C9DE | — |
| text.html.markdown meta.link.inline, meta.link.reference | #f07178 | — |
| text.html.markdown beginning.punctuation.definition.list | #74C9DE | — |
| markup.italic | #f07178 | italic |
| markup.bold | #f07178 | bold |
| markup.bold markup.italic, markup.italic markup.bold | #f07178 | italic bold |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #C3E88D | — |
| markup.inline.raw.string.markdown | #C3E88D | — |
| markup.quote | #74C9DE | italic |
| punctuation.definition.quote | #D3959B | — |
| keyword.other.definition.ini | #f07178 | — |
| entity.name.section.group-title.ini | #74C9DE | — |
| source.cs meta.class.identifier storage.type | #FFCB6B | — |
| source.cs meta.method.identifier entity.name.function | #f07178 | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #6FA0DE | — |
| source.cs storage.type | #FFCB6B | — |
| source.cs meta.method.return-type | #FFCB6B | — |
| source.cs meta.preprocessor | #3B544D | — |
| source.cs entity.name.type.namespace | #CAE5D5 | — |
| meta.jsx.children, SXNested | #CAE5D5 | — |
| support.class.component | #FFCB6B | — |
| source.cpp meta.block variable.other | #CAE5D5 | — |
| source.python meta.member.access.python | #f07178 | — |
| source.python meta.function-call.python, meta.function-call.arguments | #6FA0DE | — |
| meta.block | #f07178 | — |
| entity.name.function.call, support.function.builtin | #6FA0DE | — |
| source.php support.other.namespace, source.php meta.use support.class | #CAE5D5 | — |
| constant.keyword | #74C9DE | italic |
| entity.name.function | #6FA0DE | — |
| constant.other.placeholder | #f07178 | — |
| markup.deleted | #f07178 | — |
| markup.inserted | #C3E88D | — |
| markup.underline | — | underline |
| keyword.control | #74C9DE | italic |
| variable.parameter | — | italic |
| variable.parameter.function.language.special.self.python | #CAE5D5 | italic |
| constant.character.format.placeholder.other.python | #CC8868 | — |
| markup.fenced_code.block | #CAE5D5e6 | — |
export interface User {
id: string;
name: string;
role: "admin" | "member";
tags: string[];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser(id: string): Promise<User | null> {
if (!id) {
return null;
}
const response = await fetch(`/api/users/${id}`, {
method: "GET",
headers: { Accept: "application/json" },
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
return (await response.json()) as User;
}
function greet(user: User): string {
// Simple greeting function that uses the user's name
return `Hello, ${user.name}!`;
}
export interface User {
id: string;
name: string;
role: "admin" | "member";
tags: string[];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser(id: string): Promise<User | null> {
if (!id) {
return null;
}
const response = await fetch(`/api/users/${id}`, {
method: "GET",
headers: { Accept: "application/json" },
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
return (await response.json()) as User;
}
function greet(user: User): string {
// Simple greeting function that uses the user's name
return `Hello, ${user.name}!`;
}
export interface User {
id: string;
name: string;
role: "admin" | "member";
tags: string[];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser(id: string): Promise<User | null> {
if (!id) {
return null;
}
const response = await fetch(`/api/users/${id}`, {
method: "GET",
headers: { Accept: "application/json" },
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
return (await response.json()) as User;
}
function greet(user: User): string {
// Simple greeting function that uses the user's name
return `Hello, ${user.name}!`;
}
export interface User {
id: string;
name: string;
role: "admin" | "member";
tags: string[];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser(id: string): Promise<User | null> {
if (!id) {
return null;
}
const response = await fetch(`/api/users/${id}`, {
method: "GET",
headers: { Accept: "application/json" },
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
return (await response.json()) as User;
}
function greet(user: User): string {
// Simple greeting function that uses the user's name
return `Hello, ${user.name}!`;
}