Dilmune Theme
Warm, bold color themes built on terracotta, sage, and verdigris. Eye-comfortable in any light — from cream parchment to candlelit dusk to blue-black night.
Warm, bold color themes built on terracotta, sage, and verdigris. Eye-comfortable in any light — from cream parchment to candlelit dusk to blue-black night.
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 |
|---|---|---|
| keyword, storage.type, storage.modifier | #ff6759 | — |
| keyword.control, keyword.control.flow | #ff6759 | — |
| string, string.quoted, string.template | #81ce70 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.definition.interpolation.begin, punctuation.definition.interpolation.end, punctuation.section.embedded.begin, punctuation.section.embedded.end, constant.character.format.placeholder, meta.template.expression | #ff6759 | — |
| entity.name.function, support.function, meta.function-call | #00cdb4 | — |
| entity.name.type, entity.name.class, support.type, support.class, entity.other.inherited-class | #eb98cf | — |
| support.type.primitive, support.type.builtin, support.type.builtin.go | #eb98cf | — |
| support.function.builtin, support.function.builtin.go, support.function.builtin.python | #00cdb4 | italic |
| variable, variable.parameter, variable.other | #d5d0ca | — |
| constant.numeric, constant.language, variable.other.constant, constant.other | #f89800 | — |
| comment, comment.line, comment.block, punctuation.definition.comment | #887e78 | italic |
| comment.block.documentation, comment.line.documentation, comment.block.documentation.phpdoc, string.quoted.docstring.multi.python | #8d986f | italic |
| keyword.operator, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.arithmetic, keyword.operator.ternary, keyword.operator.spread, keyword.operator.rest, keyword.operator.type, keyword.operator.expression | #a49d97 | — |
| entity.name.tag | #ff6759 | — |
| support.class.component.tsx, support.class.component.jsx | #eb98cf | — |
| entity.other.attribute-name | #d6c665 | — |
| support.type.property-name.css, support.type.property-name.scss | #00cdb4 | — |
| variable.css, variable.other.custom-property.css, support.type.custom-property.css | #f89800 | — |
| support.constant.property-value.css, support.constant.color.css | #f89800 | — |
| keyword.other.unit.css | #f89800 | — |
| string.regexp, constant.character.escape | #dc7095 | — |
| meta.decorator, punctuation.decorator, meta.annotation | #ba7f6a | — |
| meta.preprocessor, keyword.control.directive, keyword.control.directive.include, keyword.control.directive.define, punctuation.definition.directive | #dc7095 | — |
| entity.name.function.macro.rust, support.macro.rust | #ff6759 | bold |
| meta.attribute.rust, meta.attribute.cpp | #ba7f6a | — |
| entity.name.namespace, entity.name.module, entity.name.import | #4ea4ca | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key | #d6c665 | — |
| support.class.console, support.class.error, support.class.promise | #eb98cf | — |
| source.go entity.name.function | #00cdb4 | — |
| source.go storage.type | #eb98cf | — |
| entity.name.type.tsx, entity.name.type.ts | #eb98cf | — |
| entity.name.lifetime.rust | #ba7f6a | — |
| storage.type.rust | #ff6759 | — |
| keyword.other.DML.sql, keyword.other.DDL.sql | #ff6759 | — |
| constant.other.table-name.sql | #eb98cf | — |
| constant.other.database-name.sql | #4ea4ca | — |
| support.type.property-name.json | #d6c665 | — |
| entity.name.tag.yaml | #d6c665 | — |
| entity.name.other.anchor.yaml, variable.other.alias.yaml | #f89800 | — |
| heading.1.markdown, heading.2.markdown, heading.3.markdown, markup.heading | #ff6759 | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.inline.raw, markup.fenced_code.block | #81ce70 | — |
| markup.underline.link | #00cdb4 | — |
| markup.list, punctuation.definition.list | #ff6759 | — |
| markup.quote | #81ce70 | italic |
| markup.strikethrough | — | strikethrough |
| variable.language.this, variable.language.self, variable.language.super | #ff6759 | italic |
| entity.name.type.parameter, meta.type.parameters | #eb98cf | italic |
| keyword.control.import, keyword.control.export, keyword.control.from | #ff6759 | — |
| entity.name.type.interface | #eb98cf | italic |
| variable.other.normal.shell, variable.other.special.shell, variable.other.positional.shell | #d5d0ca | — |
| support.function.builtin.shell | #00cdb4 | — |
| entity.other.attribute-name.table.toml, support.type.property-name.table.toml | #ff6759 | bold |
| support.type.property-name.toml | #d6c665 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #81ce70 | — |
| variable.other.member.go, variable.other.field.go | #d6c665 | — |
| entity.name.function.member.go | #00cdb4 | — |
| entity.name.type.trait.rust | #eb98cf | italic |
| keyword.other.where.rust | #ff6759 | — |
| meta.fstring.python source.python.embedded, punctuation.definition.expression.python | #ff6759 | — |
| meta.function.parameters.python support.type.python | #eb98cf | — |
| keyword.query.linq.cs, keyword.other.linq.cs | #ff6759 | — |
| meta.attribute.cs | #ba7f6a | — |
| storage.type.annotation.java, punctuation.definition.annotation.java | #ba7f6a | — |
| keyword.operator.spread.tsx, keyword.operator.spread.jsx | #a49d97 | — |
| punctuation.definition.tag.begin.tsx, punctuation.definition.tag.end.tsx, punctuation.definition.tag.begin.jsx, punctuation.definition.tag.end.jsx | #ff6759 | — |
| entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.css | #dc7095 | — |
| variable.scss | #f89800 | — |
| entity.name.type.template.cpp | #eb98cf | italic |
| punctuation.definition.variable.php | #d5d0ca | — |
| entity.name.type.namespace.php, support.other.namespace.php | #4ea4ca | — |
| markup.inserted | #81ce70 | — |
| markup.deleted | #dc7095 | — |
| markup.changed | #f89800 | — |
| meta.diff.header, meta.diff.index | #eb98cf | bold |
| invalid.illegal | #dc7095 | underline |
| invalid.deprecated | — | strikethrough |
| keyword.operator.quantifier.regexp, keyword.operator.negation.regexp | #a49d97 | bold |
| punctuation.definition.group.regexp, keyword.other.back-reference.regexp, punctuation.definition.character-class.regexp | #ff6759 | — |
| entity.name.function.decorator.python | #ba7f6a | — |
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 |
|---|---|---|
| keyword, storage.type, storage.modifier | #ff685a | — |
| keyword.control, keyword.control.flow | #ff685a | — |
| string, string.quoted, string.template | #86e672 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.definition.interpolation.begin, punctuation.definition.interpolation.end, punctuation.section.embedded.begin, punctuation.section.embedded.end, constant.character.format.placeholder, meta.template.expression | #ff685a | — |
| entity.name.function, support.function, meta.function-call | #38e6c8 | — |
| entity.name.type, entity.name.class, support.type, support.class, entity.other.inherited-class | #ffa3e8 | — |
| support.type.primitive, support.type.builtin, support.type.builtin.go | #ffa3e8 | — |
| support.function.builtin, support.function.builtin.go, support.function.builtin.python | #38e6c8 | italic |
| variable, variable.parameter, variable.other | #eae4dc | — |
| constant.numeric, constant.language, variable.other.constant, constant.other | #ffa32f | — |
| comment, comment.line, comment.block, punctuation.definition.comment | #9c9088 | italic |
| comment.block.documentation, comment.line.documentation, comment.block.documentation.phpdoc, string.quoted.docstring.multi.python | #9eac79 | italic |
| keyword.operator, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.arithmetic, keyword.operator.ternary, keyword.operator.spread, keyword.operator.rest, keyword.operator.type, keyword.operator.expression | #b8b0a8 | — |
| entity.name.tag | #ff685a | — |
| support.class.component.tsx, support.class.component.jsx | #ffa3e8 | — |
| entity.other.attribute-name | #eeda5e | — |
| support.type.property-name.css, support.type.property-name.scss | #38e6c8 | — |
| variable.css, variable.other.custom-property.css, support.type.custom-property.css | #ffa32f | — |
| support.constant.property-value.css, support.constant.color.css | #ffa32f | — |
| keyword.other.unit.css | #ffa32f | — |
| string.regexp, constant.character.escape | #fc78a6 | — |
| meta.decorator, punctuation.decorator, meta.annotation | #d68d74 | — |
| meta.preprocessor, keyword.control.directive, keyword.control.directive.include, keyword.control.directive.define, punctuation.definition.directive | #fc78a6 | — |
| entity.name.function.macro.rust, support.macro.rust | #ff685a | bold |
| meta.attribute.rust, meta.attribute.cpp | #d68d74 | — |
| entity.name.namespace, entity.name.module, entity.name.import | #4bb9e8 | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key | #eeda5e | — |
| support.class.console, support.class.error, support.class.promise | #ffa3e8 | — |
| source.go entity.name.function | #38e6c8 | — |
| source.go storage.type | #ffa3e8 | — |
| entity.name.type.tsx, entity.name.type.ts | #ffa3e8 | — |
| entity.name.lifetime.rust | #d68d74 | — |
| storage.type.rust | #ff685a | — |
| keyword.other.DML.sql, keyword.other.DDL.sql | #ff685a | — |
| constant.other.table-name.sql | #ffa3e8 | — |
| constant.other.database-name.sql | #4bb9e8 | — |
| support.type.property-name.json | #eeda5e | — |
| entity.name.tag.yaml | #eeda5e | — |
| entity.name.other.anchor.yaml, variable.other.alias.yaml | #ffa32f | — |
| heading.1.markdown, heading.2.markdown, heading.3.markdown, markup.heading | #ff685a | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.inline.raw, markup.fenced_code.block | #86e672 | — |
| markup.underline.link | #38e6c8 | — |
| markup.list, punctuation.definition.list | #ff685a | — |
| markup.quote | #86e672 | italic |
| markup.strikethrough | — | strikethrough |
| variable.language.this, variable.language.self, variable.language.super | #ff685a | italic |
| entity.name.type.parameter, meta.type.parameters | #ffa3e8 | italic |
| keyword.control.import, keyword.control.export, keyword.control.from | #ff685a | — |
| entity.name.type.interface | #ffa3e8 | italic |
| variable.other.normal.shell, variable.other.special.shell, variable.other.positional.shell | #eae4dc | — |
| support.function.builtin.shell | #38e6c8 | — |
| entity.other.attribute-name.table.toml, support.type.property-name.table.toml | #ff685a | bold |
| support.type.property-name.toml | #eeda5e | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #86e672 | — |
| variable.other.member.go, variable.other.field.go | #eeda5e | — |
| entity.name.function.member.go | #38e6c8 | — |
| entity.name.type.trait.rust | #ffa3e8 | italic |
| keyword.other.where.rust | #ff685a | — |
| meta.fstring.python source.python.embedded, punctuation.definition.expression.python | #ff685a | — |
| meta.function.parameters.python support.type.python | #ffa3e8 | — |
| keyword.query.linq.cs, keyword.other.linq.cs | #ff685a | — |
| meta.attribute.cs | #d68d74 | — |
| storage.type.annotation.java, punctuation.definition.annotation.java | #d68d74 | — |
| keyword.operator.spread.tsx, keyword.operator.spread.jsx | #b8b0a8 | — |
| punctuation.definition.tag.begin.tsx, punctuation.definition.tag.end.tsx, punctuation.definition.tag.begin.jsx, punctuation.definition.tag.end.jsx | #ff685a | — |
| entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.css | #fc78a6 | — |
| variable.scss | #ffa32f | — |
| entity.name.type.template.cpp | #ffa3e8 | italic |
| punctuation.definition.variable.php | #eae4dc | — |
| entity.name.type.namespace.php, support.other.namespace.php | #4bb9e8 | — |
| markup.inserted | #86e672 | — |
| markup.deleted | #fc78a6 | — |
| markup.changed | #ffa32f | — |
| meta.diff.header, meta.diff.index | #ffa3e8 | bold |
| invalid.illegal | #fc78a6 | underline |
| invalid.deprecated | — | strikethrough |
| keyword.operator.quantifier.regexp, keyword.operator.negation.regexp | #b8b0a8 | bold |
| punctuation.definition.group.regexp, keyword.other.back-reference.regexp, punctuation.definition.character-class.regexp | #ff685a | — |
| entity.name.function.decorator.python | #d68d74 | — |
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 |
|---|---|---|
| keyword, storage.type, storage.modifier | #ff8273 | — |
| keyword.control, keyword.control.flow | #ff8273 | — |
| string, string.quoted, string.template | #9ae08b | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.definition.interpolation.begin, punctuation.definition.interpolation.end, punctuation.section.embedded.begin, punctuation.section.embedded.end, constant.character.format.placeholder, meta.template.expression | #ff8273 | — |
| entity.name.function, support.function, meta.function-call | #54dfc7 | — |
| entity.name.type, entity.name.class, support.type, support.class, entity.other.inherited-class | #faafe1 | — |
| support.type.primitive, support.type.builtin, support.type.builtin.go | #faafe1 | — |
| support.function.builtin, support.function.builtin.go, support.function.builtin.python | #54dfc7 | italic |
| variable, variable.parameter, variable.other | #e9e4df | — |
| constant.numeric, constant.language, variable.other.constant, constant.other | #ffae4a | — |
| comment, comment.line, comment.block, punctuation.definition.comment | #9a908a | italic |
| comment.block.documentation, comment.line.documentation, comment.block.documentation.phpdoc, string.quoted.docstring.multi.python | #9faa85 | italic |
| keyword.operator, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.arithmetic, keyword.operator.ternary, keyword.operator.spread, keyword.operator.rest, keyword.operator.type, keyword.operator.expression | #b7b0aa | — |
| entity.name.tag | #ff8273 | — |
| support.class.component.tsx, support.class.component.jsx | #faafe1 | — |
| entity.other.attribute-name | #e8da84 | — |
| support.type.property-name.css, support.type.property-name.scss | #54dfc7 | — |
| variable.css, variable.other.custom-property.css, support.type.custom-property.css | #ffae4a | — |
| support.constant.property-value.css, support.constant.color.css | #ffae4a | — |
| keyword.other.unit.css | #ffae4a | — |
| string.regexp, constant.character.escape | #eb87a7 | — |
| meta.decorator, punctuation.decorator, meta.annotation | #c99380 | — |
| meta.preprocessor, keyword.control.directive, keyword.control.directive.include, keyword.control.directive.define, punctuation.definition.directive | #eb87a7 | — |
| entity.name.function.macro.rust, support.macro.rust | #ff8273 | bold |
| meta.attribute.rust, meta.attribute.cpp | #c99380 | — |
| entity.name.namespace, entity.name.module, entity.name.import | #6bb6d9 | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key | #e8da84 | — |
| support.class.console, support.class.error, support.class.promise | #faafe1 | — |
| source.go entity.name.function | #54dfc7 | — |
| source.go storage.type | #faafe1 | — |
| entity.name.type.tsx, entity.name.type.ts | #faafe1 | — |
| entity.name.lifetime.rust | #c99380 | — |
| storage.type.rust | #ff8273 | — |
| keyword.other.DML.sql, keyword.other.DDL.sql | #ff8273 | — |
| constant.other.table-name.sql | #faafe1 | — |
| constant.other.database-name.sql | #6bb6d9 | — |
| support.type.property-name.json | #e8da84 | — |
| entity.name.tag.yaml | #e8da84 | — |
| entity.name.other.anchor.yaml, variable.other.alias.yaml | #ffae4a | — |
| heading.1.markdown, heading.2.markdown, heading.3.markdown, markup.heading | #ff8273 | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.inline.raw, markup.fenced_code.block | #9ae08b | — |
| markup.underline.link | #54dfc7 | — |
| markup.list, punctuation.definition.list | #ff8273 | — |
| markup.quote | #9ae08b | italic |
| markup.strikethrough | — | strikethrough |
| variable.language.this, variable.language.self, variable.language.super | #ff8273 | italic |
| entity.name.type.parameter, meta.type.parameters | #faafe1 | italic |
| keyword.control.import, keyword.control.export, keyword.control.from | #ff8273 | — |
| entity.name.type.interface | #faafe1 | italic |
| variable.other.normal.shell, variable.other.special.shell, variable.other.positional.shell | #e9e4df | — |
| support.function.builtin.shell | #54dfc7 | — |
| entity.other.attribute-name.table.toml, support.type.property-name.table.toml | #ff8273 | bold |
| support.type.property-name.toml | #e8da84 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #9ae08b | — |
| variable.other.member.go, variable.other.field.go | #e8da84 | — |
| entity.name.function.member.go | #54dfc7 | — |
| entity.name.type.trait.rust | #faafe1 | italic |
| keyword.other.where.rust | #ff8273 | — |
| meta.fstring.python source.python.embedded, punctuation.definition.expression.python | #ff8273 | — |
| meta.function.parameters.python support.type.python | #faafe1 | — |
| keyword.query.linq.cs, keyword.other.linq.cs | #ff8273 | — |
| meta.attribute.cs | #c99380 | — |
| storage.type.annotation.java, punctuation.definition.annotation.java | #c99380 | — |
| keyword.operator.spread.tsx, keyword.operator.spread.jsx | #b7b0aa | — |
| punctuation.definition.tag.begin.tsx, punctuation.definition.tag.end.tsx, punctuation.definition.tag.begin.jsx, punctuation.definition.tag.end.jsx | #ff8273 | — |
| entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.css | #eb87a7 | — |
| variable.scss | #ffae4a | — |
| entity.name.type.template.cpp | #faafe1 | italic |
| punctuation.definition.variable.php | #e9e4df | — |
| entity.name.type.namespace.php, support.other.namespace.php | #6bb6d9 | — |
| markup.inserted | #9ae08b | — |
| markup.deleted | #eb87a7 | — |
| markup.changed | #ffae4a | — |
| meta.diff.header, meta.diff.index | #faafe1 | bold |
| invalid.illegal | #eb87a7 | underline |
| invalid.deprecated | — | strikethrough |
| keyword.operator.quantifier.regexp, keyword.operator.negation.regexp | #b7b0aa | bold |
| punctuation.definition.group.regexp, keyword.other.back-reference.regexp, punctuation.definition.character-class.regexp | #ff8273 | — |
| entity.name.function.decorator.python | #c99380 | — |
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 |
|---|---|---|
| keyword, storage.type, storage.modifier | #e0867b | — |
| keyword.control, keyword.control.flow | #e0867b | — |
| string, string.quoted, string.template | #9cc992 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.definition.interpolation.begin, punctuation.definition.interpolation.end, punctuation.section.embedded.begin, punctuation.section.embedded.end, constant.character.format.placeholder, meta.template.expression | #e0867b | — |
| entity.name.function, support.function, meta.function-call | #75c6b6 | — |
| entity.name.type, entity.name.class, support.type, support.class, entity.other.inherited-class | #dba9c9 | — |
| support.type.primitive, support.type.builtin, support.type.builtin.go | #dba9c9 | — |
| support.function.builtin, support.function.builtin.go, support.function.builtin.python | #75c6b6 | italic |
| variable, variable.parameter, variable.other | #d6d3d0 | — |
| constant.numeric, constant.language, variable.other.constant, constant.other | #e1a86d | — |
| comment, comment.line, comment.block, punctuation.definition.comment | #88827e | italic |
| comment.block.documentation, comment.line.documentation, comment.block.documentation.phpdoc, string.quoted.docstring.multi.python | #929981 | italic |
| keyword.operator, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.arithmetic, keyword.operator.ternary, keyword.operator.spread, keyword.operator.rest, keyword.operator.type, keyword.operator.expression | #a5a19d | — |
| entity.name.tag | #e0867b | — |
| support.class.component.tsx, support.class.component.jsx | #dba9c9 | — |
| entity.other.attribute-name | #d2c993 | — |
| support.type.property-name.css, support.type.property-name.scss | #75c6b6 | — |
| variable.css, variable.other.custom-property.css, support.type.custom-property.css | #e1a86d | — |
| support.constant.property-value.css, support.constant.color.css | #e1a86d | — |
| keyword.other.unit.css | #e1a86d | — |
| string.regexp, constant.character.escape | #c78599 | — |
| meta.decorator, punctuation.decorator, meta.annotation | #ad897d | — |
| meta.preprocessor, keyword.control.directive, keyword.control.directive.include, keyword.control.directive.define, punctuation.definition.directive | #c78599 | — |
| entity.name.function.macro.rust, support.macro.rust | #e0867b | bold |
| meta.attribute.rust, meta.attribute.cpp | #ad897d | — |
| entity.name.namespace, entity.name.module, entity.name.import | #75a3ba | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key | #d2c993 | — |
| support.class.console, support.class.error, support.class.promise | #dba9c9 | — |
| source.go entity.name.function | #75c6b6 | — |
| source.go storage.type | #dba9c9 | — |
| entity.name.type.tsx, entity.name.type.ts | #dba9c9 | — |
| entity.name.lifetime.rust | #ad897d | — |
| storage.type.rust | #e0867b | — |
| keyword.other.DML.sql, keyword.other.DDL.sql | #e0867b | — |
| constant.other.table-name.sql | #dba9c9 | — |
| constant.other.database-name.sql | #75a3ba | — |
| support.type.property-name.json | #d2c993 | — |
| entity.name.tag.yaml | #d2c993 | — |
| entity.name.other.anchor.yaml, variable.other.alias.yaml | #e1a86d | — |
| heading.1.markdown, heading.2.markdown, heading.3.markdown, markup.heading | #e0867b | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.inline.raw, markup.fenced_code.block | #9cc992 | — |
| markup.underline.link | #75c6b6 | — |
| markup.list, punctuation.definition.list | #e0867b | — |
| markup.quote | #9cc992 | italic |
| markup.strikethrough | — | strikethrough |
| variable.language.this, variable.language.self, variable.language.super | #e0867b | italic |
| entity.name.type.parameter, meta.type.parameters | #dba9c9 | italic |
| keyword.control.import, keyword.control.export, keyword.control.from | #e0867b | — |
| entity.name.type.interface | #dba9c9 | italic |
| variable.other.normal.shell, variable.other.special.shell, variable.other.positional.shell | #d6d3d0 | — |
| support.function.builtin.shell | #75c6b6 | — |
| entity.other.attribute-name.table.toml, support.type.property-name.table.toml | #e0867b | bold |
| support.type.property-name.toml | #d2c993 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #9cc992 | — |
| variable.other.member.go, variable.other.field.go | #d2c993 | — |
| entity.name.function.member.go | #75c6b6 | — |
| entity.name.type.trait.rust | #dba9c9 | italic |
| keyword.other.where.rust | #e0867b | — |
| meta.fstring.python source.python.embedded, punctuation.definition.expression.python | #e0867b | — |
| meta.function.parameters.python support.type.python | #dba9c9 | — |
| keyword.query.linq.cs, keyword.other.linq.cs | #e0867b | — |
| meta.attribute.cs | #ad897d | — |
| storage.type.annotation.java, punctuation.definition.annotation.java | #ad897d | — |
| keyword.operator.spread.tsx, keyword.operator.spread.jsx | #a5a19d | — |
| punctuation.definition.tag.begin.tsx, punctuation.definition.tag.end.tsx, punctuation.definition.tag.begin.jsx, punctuation.definition.tag.end.jsx | #e0867b | — |
| entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.css | #c78599 | — |
| variable.scss | #e1a86d | — |
| entity.name.type.template.cpp | #dba9c9 | italic |
| punctuation.definition.variable.php | #d6d3d0 | — |
| entity.name.type.namespace.php, support.other.namespace.php | #75a3ba | — |
| markup.inserted | #9cc992 | — |
| markup.deleted | #c78599 | — |
| markup.changed | #e1a86d | — |
| meta.diff.header, meta.diff.index | #dba9c9 | bold |
| invalid.illegal | #c78599 | underline |
| invalid.deprecated | — | strikethrough |
| keyword.operator.quantifier.regexp, keyword.operator.negation.regexp | #a5a19d | bold |
| punctuation.definition.group.regexp, keyword.other.back-reference.regexp, punctuation.definition.character-class.regexp | #e0867b | — |
| entity.name.function.decorator.python | #ad897d | — |
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}!`;
}