Dilmune Theme
Publisher: DilmuneThemes in package: 15
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 | #be2d22 | — |
| keyword.control, keyword.control.flow | #be2d22 | — |
| string, string.quoted, string.template | #27661c | — |
| 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 | #be2d22 | — |
| entity.name.function, support.function, meta.function-call | #206553 | — |
| entity.name.type, entity.name.class, support.type, support.class, entity.other.inherited-class | #8d4c7a | — |
| support.type.primitive, support.type.builtin, support.type.builtin.go | #8d4c7a | — |
| support.function.builtin, support.function.builtin.go, support.function.builtin.python | #206553 | italic |
| variable, variable.parameter, variable.other | #26292d | — |
| constant.numeric, constant.language, variable.other.constant, constant.other | #944c1f | — |
| comment, comment.line, comment.block, punctuation.definition.comment | #6a615b | italic |
| comment.block.documentation, comment.line.documentation, comment.block.documentation.phpdoc, string.quoted.docstring.multi.python | #515a37 | 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 | #514c48 | — |
| entity.name.tag | #be2d22 | — |
| support.class.component.tsx, support.class.component.jsx | #8d4c7a | — |
| entity.other.attribute-name | #5b4a18 | — |
| support.type.property-name.css, support.type.property-name.scss | #206553 | — |
| variable.css, variable.other.custom-property.css, support.type.custom-property.css | #944c1f | — |
| support.constant.property-value.css, support.constant.color.css | #944c1f | — |
| keyword.other.unit.css | #944c1f | — |
| string.regexp, constant.character.escape | #832a4d | — |
| meta.decorator, punctuation.decorator, meta.annotation | #6c311c | — |
| meta.preprocessor, keyword.control.directive, keyword.control.directive.include, keyword.control.directive.define, punctuation.definition.directive | #832a4d | — |
| entity.name.function.macro.rust, support.macro.rust | #be2d22 | bold |
| meta.attribute.rust, meta.attribute.cpp | #6c311c | — |
| entity.name.namespace, entity.name.module, entity.name.import | #1d597f | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key | #5b4a18 | — |
| support.class.console, support.class.error, support.class.promise | #8d4c7a | — |
| source.go entity.name.function | #206553 | — |
| source.go storage.type | #8d4c7a | — |
| entity.name.type.tsx, entity.name.type.ts | #8d4c7a | — |
| entity.name.lifetime.rust | #6c311c | — |
| storage.type.rust | #be2d22 | — |
| keyword.other.DML.sql, keyword.other.DDL.sql | #be2d22 | — |
| constant.other.table-name.sql | #8d4c7a | — |
| constant.other.database-name.sql | #1d597f | — |
| support.type.property-name.json | #5b4a18 | — |
| entity.name.tag.yaml | #5b4a18 | — |
| entity.name.other.anchor.yaml, variable.other.alias.yaml | #944c1f | — |
| heading.1.markdown, heading.2.markdown, heading.3.markdown, markup.heading | #be2d22 | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.inline.raw, markup.fenced_code.block | #27661c | — |
| markup.underline.link | #206553 | — |
| markup.list, punctuation.definition.list | #be2d22 | — |
| markup.quote | #27661c | italic |
| markup.strikethrough | — | strikethrough |
| variable.language.this, variable.language.self, variable.language.super | #be2d22 | italic |
| entity.name.type.parameter, meta.type.parameters | #8d4c7a | italic |
| keyword.control.import, keyword.control.export, keyword.control.from | #be2d22 | — |
| entity.name.type.interface | #8d4c7a | italic |
| variable.other.normal.shell, variable.other.special.shell, variable.other.positional.shell | #26292d | — |
| support.function.builtin.shell | #206553 | — |
| entity.other.attribute-name.table.toml, support.type.property-name.table.toml | #be2d22 | bold |
| support.type.property-name.toml | #5b4a18 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #27661c | — |
| variable.other.member.go, variable.other.field.go | #5b4a18 | — |
| entity.name.function.member.go | #206553 | — |
| entity.name.type.trait.rust | #8d4c7a | italic |
| keyword.other.where.rust | #be2d22 | — |
| meta.fstring.python source.python.embedded, punctuation.definition.expression.python | #be2d22 | — |
| meta.function.parameters.python support.type.python | #8d4c7a | — |
| keyword.query.linq.cs, keyword.other.linq.cs | #be2d22 | — |
| meta.attribute.cs | #6c311c | — |
| storage.type.annotation.java, punctuation.definition.annotation.java | #6c311c | — |
| keyword.operator.spread.tsx, keyword.operator.spread.jsx | #514c48 | — |
| punctuation.definition.tag.begin.tsx, punctuation.definition.tag.end.tsx, punctuation.definition.tag.begin.jsx, punctuation.definition.tag.end.jsx | #be2d22 | — |
| entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.css | #832a4d | — |
| variable.scss | #944c1f | — |
| entity.name.type.template.cpp | #8d4c7a | italic |
| punctuation.definition.variable.php | #26292d | — |
| entity.name.type.namespace.php, support.other.namespace.php | #1d597f | — |
| markup.inserted | #27661c | — |
| markup.deleted | #832a4d | — |
| markup.changed | #944c1f | — |
| meta.diff.header, meta.diff.index | #8d4c7a | bold |
| invalid.illegal | #832a4d | underline |
| invalid.deprecated | — | strikethrough |
| keyword.operator.quantifier.regexp, keyword.operator.negation.regexp | #514c48 | bold |
| punctuation.definition.group.regexp, keyword.other.back-reference.regexp, punctuation.definition.character-class.regexp | #be2d22 | — |
| entity.name.function.decorator.python | #6c311c | — |
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}!`;
}