Durgonix Dark Theme
Publisher: i8o8iThemes in package: 1
A High-Contrast Dark Theme With Neon Hacker-Green Accents.
A High-Contrast Dark Theme With Neon Hacker-Green Accents.
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, comment.block, comment.line, punctuation.definition.comment | #6B7478 | italic |
| comment.block.documentation, storage.type.class.jsdoc, entity.name.type.instance.jsdoc, variable.other.jsdoc | #788780 | italic |
| keyword, keyword.control, keyword.control.flow, keyword.control.loop, keyword.control.conditional, keyword.control.import, keyword.control.export, keyword.control.trycatch, keyword.control.from, keyword.control.as, keyword.control.default, keyword.control.rust, keyword.control.go, keyword.control.directive | #B267E6 | — |
| storage, storage.type, storage.modifier, storage.type.function, storage.type.class, storage.type.interface, storage.type.struct, storage.type.enum, storage.type.trait, storage.type.impl, storage.type.var, storage.type.let, storage.type.const, storage.type.mut, storage.type.rust, storage.type.kotlin, storage.type.swift, storage.type.cs, storage.modifier.async, storage.modifier.package, storage.modifier.import | #B267E6 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical, keyword.operator.bitwise, keyword.operator.ternary, keyword.operator.increment-decrement, keyword.operator.spread, keyword.operator.arrow, keyword.operator.channel.go, keyword.operator.key-value | #2493FA | — |
| string, string.quoted, string.quoted.single, string.quoted.double, string.quoted.triple, string.quoted.template, string.quoted.other, string.template, punctuation.definition.string | #00FF41 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded, meta.template.expression, string.interpolated, string.regexp, constant.character.escape, constant.other.character-class.regexp, punctuation.definition.character-class.regexp, keyword.operator.quantifier.regexp | #00FFD9 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary, keyword.other.unit | #F39C12 | — |
| constant, constant.language, constant.language.boolean, constant.language.boolean.true, constant.language.boolean.false, constant.language.null, constant.language.undefined, constant.language.nil.go, constant.language.python, constant.other | #F15A4C | — |
| entity.name.function, meta.function-call entity.name.function, support.function, support.function.builtin, support.function.magic.python, meta.method-call entity.name.function, entity.name.function.method, entity.name.function.rust, entity.name.function.go, entity.name.function.c, entity.name.function.cpp, entity.name.function.cs | #FED604 | — |
| entity.name.type, entity.name.type.class, entity.name.type.struct, entity.name.type.enum, entity.name.type.interface, entity.name.type.trait, entity.name.type.model.prisma, entity.name.class, entity.other.inherited-class, support.class, support.type | #F859B1 | — |
| entity.name.type.primitive, support.type.primitive, entity.name.type.numeric, entity.name.type.generic, entity.name.type.parameter, support.type.primitive.prisma | #00FFD9 | — |
| variable.parameter, meta.parameters variable, meta.parameter.type, variable.parameter.function | #00FFD9 | — |
| variable.other.property, variable.other.object.property, support.type.property-name, entity.name.variable.field, meta.field.declaration, meta.property.declaration | #F15A4C | — |
| variable, variable.other, variable.other.readwrite, variable.other.local, meta.definition.variable | #E0E0E0 | — |
| variable.language.this, variable.language.self, variable.language.super, variable.language.special.self.python | #F15A4C | italic |
| meta.decorator entity.name.function, meta.decorator, tag.decorator.js entity.name.tag, punctuation.decorator, entity.name.type.annotation.java, storage.type.annotation.java, meta.annotation, punctuation.definition.annotation | #FED604 | italic |
| punctuation.separator, punctuation.terminator, punctuation.accessor, punctuation.colon, punctuation.semi, punctuation.comma | #8A948D | — |
| entity.name.tag, meta.tag, meta.tag.sgml, punctuation.definition.tag.begin, punctuation.definition.tag.end, punctuation.definition.tag.html, punctuation.definition.tag.xml | #01A0E4 | — |
| entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.xml | #FED404 | — |
| support.class.component.tsx, support.class.component.jsx, entity.name.tag.tsx, entity.name.tag.jsx, entity.name.tag.template.html.vue, entity.name.tag.svelte, entity.name.tag.astro | #F859B1 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.scss, entity.other.attribute-name.class.less, entity.name.tag.css, entity.name.tag.scss | #F859B1 | bold |
| entity.other.attribute-name.id.css, entity.other.attribute-name.id.scss, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #00FFD9 | — |
| support.type.property-name.css, support.type.property-name.scss, meta.property-name.css | #F39C12 | — |
| variable.css, variable.scss, support.function.misc.css, support.function.calc.css, support.function.gradient.css, support.function.transform.css | #00FFD9 | — |
| entity.name.module, meta.import variable.other.readwrite, variable.other.object | #00FFD9 | — |
| storage.modifier.package.java, storage.modifier.import.java, meta.package.java, meta.import.java, punctuation.definition.annotation.java | #FED604 | — |
| storage.type.primitive.java, storage.type.primitive.array.java, storage.type.object.array.java | #00FFD9 | — |
| support.class.dart, support.class.flutter, entity.name.class.dart | #F859B1 | — |
| variable.parameter.dart, meta.declaration.dart variable.other, meta.parameters.dart variable.other | #F15A4C | — |
| entity.name.type.annotation.dart, punctuation.definition.annotation.dart | #FED604 | italic |
| entity.name.package.go, keyword.package.go, keyword.import.go | #01A0E4 | — |
| support.function.builtin.go, storage.type.numeric.go, storage.type.string.go, storage.type.boolean.go, storage.type.error.go, storage.type.byte.go, storage.type.rune.go | #FED604 | — |
| meta.tag.struct.go, meta.tag.struct.key.go, meta.tag.struct.value.go | #F15A4C | — |
| storage.modifier.lifetime.rust, entity.name.type.lifetime.rust, punctuation.definition.lifetime.rust | #00FFD9 | italic |
| entity.name.function.macro.rust, support.macro.rust, meta.attribute.rust, meta.annotation.rust | #FED604 | bold |
| entity.name.type.trait.rust, entity.name.type.primitive.rust, storage.type.rust | #00FFD9 | — |
| keyword.control.directive.cpp, keyword.control.directive.include.cpp, entity.name.type.cs, storage.type.c, storage.type.cpp | #B267E6 | — |
| variable.other.php, variable.other.global.php, variable.other.global.safer.php, punctuation.definition.variable.php | #00FFD9 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, entity.name.type.namespace.php, support.other.namespace.php | #B267E6 | — |
| constant.other.symbol.ruby, variable.other.readwrite.instance.ruby, variable.other.readwrite.class.ruby | #00FFD9 | — |
| variable.other.env, variable.env, source.env, keyword.other.definition.ini, entity.name.section.group-title.ini, support.type.property-name.toml | #00FFD9 | bold |
| keyword.operator.assignment.env, punctuation.separator.key-value.ini, punctuation.separator.key-value.toml | #2493FA | — |
| string.quoted.env, string.unquoted.env, constant.numeric.env, constant.language.env | #00FF41 | — |
| keyword.control.nginx, support.function.nginx, entity.name.function.nginx, support.constant.nginx | #B267E6 | bold |
| variable.other.nginx, variable.nginx | #00FFD9 | — |
| constant.language.nginx, constant.numeric.nginx, string.nginx | #00FF41 | — |
| keyword.other.special-method.dockerfile, entity.name.function.dockerfile | #B267E6 | bold |
| entity.name.tag.yaml, support.type.property-name.yaml | #00FFD9 | bold |
| string.unquoted.plain.out.yaml, string.quoted.single.yaml, string.quoted.double.yaml | #00FF41 | — |
| keyword.other.DML.sql, keyword.other.DDL.sql, keyword.other.sql, keyword.other.create.sql, keyword.other.order.sql | #B267E6 | bold |
| constant.other.database-name.sql, constant.other.table-name.sql | #F859B1 | — |
| support.function.aggregate.sql, support.function.sql | #FED604 | — |
| support.function.builtin.shell, keyword.control.shell | #B267E6 | — |
| variable.other.normal.shell, variable.other.special.shell, variable.other.positional.shell, variable.other.bracket.shell, punctuation.definition.variable.shell | #00FFD9 | — |
| meta.function-call.shell, support.function.command.shell | #FED604 | — |
| heading.1.markdown entity.name, heading.2.markdown entity.name, heading.3.markdown entity.name, heading.4.markdown entity.name, markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #00FF41 | bold |
| markup.bold, markup.italic | #FED604 | — |
| markup.underline.link.markdown, string.other.link.title.markdown, string.other.link.description.markdown | #00FFD9 | — |
| markup.inline.raw.string.markdown, markup.raw.block.markdown, punctuation.definition.raw.markdown | #F859B1 | — |
| markup.quote.markdown, punctuation.definition.list.begin.markdown | #B267E6 | — |
| support.type.property-name.json | #00FFD9 | — |
| string.quoted.double.json | #00FF41 | — |
| entity.name.type.graphql, variable.graphql | #F859B1 | — |
| keyword.operation.graphql, entity.name.function.directive.graphql | #FED604 | — |
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}!`;
}