Cyberpunk Dark
Publisher: Jose Aneudy RosarioThemes in package: 15
A dark, neon-drenched theme. 15 variations of Cyberpunk neons.
A dark, neon-drenched theme. 15 variations of Cyberpunk neons.
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.line, comment.block, punctuation.definition.comment | #858585 | italic |
| comment.block.documentation, comment.line.double-slash.documentation, source.go comment.block.documentation, source.rust comment.block.documentation, string.quoted.docstring | #FF8DCE | italic |
| storage.type.class.jsdoc, punctuation.definition.block.tag.jsdoc, entity.name.type.instance.jsdoc | #FF8DCE | italic |
| string, string.quoted.single, string.quoted.double, string.quoted.triple, string.quoted.backtick, string.template, string.unquoted | #FE53BB | — |
| constant.character.escape, constant.character.entity, string.regexp, constant.other.character-class.regexp, punctuation.definition.string.regexp, keyword.operator.quantifier.regexp, meta.assertion.regexp, keyword.other.back-reference.regexp | #FFD319 | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #FF00FF | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary, constant.numeric.decimal | #FFD319 | — |
| constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.nil, constant.language.none, constant.language.true, constant.language.false | #FFD319 | — |
| constant.language, support.constant, variable.language.null, variable.language.undefined, variable.language.nan | #FFD319 | — |
| keyword, keyword.control, keyword.control.flow, keyword.control.import, keyword.control.from, keyword.control.as, keyword.control.conditional, keyword.control.loop, keyword.control.return, keyword.control.break, keyword.control.continue, keyword.control.exception, keyword.control.try, keyword.control.catch, keyword.control.finally, keyword.control.throw, keyword.control.raise, keyword.control.yield, keyword.control.async, keyword.control.await, keyword.control.match, keyword.control.case, keyword.control.switch, keyword.control.new, keyword.control.delete, keyword.control.typeof, keyword.control.instanceof, keyword.control.in, keyword.control.of, keyword.other, keyword.other.unit, keyword.other.important | #FF00FF | — |
| storage.type, storage.modifier, keyword.declaration, keyword.declaration.function, keyword.declaration.class, keyword.declaration.interface, keyword.declaration.enum, keyword.declaration.struct, keyword.declaration.var, keyword.declaration.let, keyword.declaration.const, keyword.declaration.type, keyword.declaration.import, keyword.declaration.export, keyword.declaration.default, keyword.declaration.extends, keyword.declaration.implements | #FF00FF | — |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.bitwise, keyword.operator.ternary, keyword.operator.spread, keyword.operator.rest, keyword.operator.optional, keyword.operator.type, punctuation.separator.key-value | #9090A0 | — |
| punctuation, punctuation.terminator, punctuation.separator, punctuation.accessor, meta.brace.round, meta.brace.square, meta.brace.curly, punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.array, punctuation.definition.binding-pattern | #9090A0 | — |
| entity.name.function, meta.function entity.name.function, meta.definition.method entity.name.function | #00FFFF | — |
| meta.function-call entity.name.function, meta.function-call.generic entity.name.function, support.function | #00FFFF | — |
| entity.name.function.member, meta.method-call entity.name.function, support.function.method | #00FFFF | — |
| entity.name.class, entity.name.type, entity.name.type.class, entity.name.type.interface, entity.name.type.struct, entity.name.type.enum, entity.name.type.alias, entity.name.type.primitive, entity.name.type.namespace, support.class, support.type | #00FFFF | — |
| entity.other.inherited-class, meta.class entity.other.inherited-class | #00FFFF | — |
| variable, variable.other, variable.other.readwrite, variable.other.object, variable.other.assignment | #FFD319 | — |
| variable.parameter, meta.function.parameters variable.other, meta.function.parameter variable, meta.parameter variable | #FFB347 | italic |
| variable.other.property, variable.other.object.property, support.variable.property, entity.name.variable.field, meta.object-literal.key | #00FFFF | — |
| variable.language.this, variable.language.self, variable.language.super, variable.language.special.self, variable.language.special.cls | #FF00FF | italic |
| variable.other.constant, entity.name.constant, variable.other.enummember, support.constant.math, support.constant.property-value | #FFD319 | — |
| entity.name.function.decorator, meta.decorator, punctuation.decorator, entity.name.type.annotation, meta.annotation, storage.type.annotation | #FFD319 | — |
| entity.name.tag, meta.tag entity.name.tag, support.class.component | #FF00FF | — |
| entity.other.attribute-name, meta.tag entity.other.attribute-name | #00FFFF | — |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end, meta.tag punctuation | #9090A0 | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less, entity.name.tag.css, meta.property-name | #00FFFF | — |
| support.constant.property-value.css, constant.numeric.css, keyword.other.unit.css, meta.property-value | #FFD319 | — |
| entity.other.attribute-name.css, entity.other.attribute-name.id.css, entity.other.attribute-name.class.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #FFD319 | — |
| keyword.control.at-rule.css, keyword.control.at-rule.scss, keyword.control.at-rule.media.css, keyword.control.at-rule.keyframes.css | #FF00FF | — |
| variable.scss, variable.other.scss, variable.other.less | #FFB347 | italic |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown, markup.heading punctuation.definition.heading | #FF00FF | bold |
| markup.bold, punctuation.definition.bold | #ECECF5 | bold |
| markup.italic, punctuation.definition.italic | #D4D4E0 | italic |
| markup.underline.link, string.other.link.title.markdown, meta.link.inline.markdown, punctuation.definition.link.markdown, constant.other.reference.link.markdown | #00FFFF | underline |
| markup.inline.raw, markup.fenced_code.block, punctuation.definition.raw.markdown | #FE53BB | — |
| punctuation.definition.list.begin.markdown, beginning.punctuation.definition.list.markdown | #FF00FF | — |
| markup.quote, punctuation.definition.blockquote.markdown | #858585 | italic |
| support.type.property-name.json, meta.object-literal.key.json, string.json meta.structure.dictionary.key.json | #00FFFF | — |
| string.quoted.double.json, meta.structure.dictionary.value.json string | #FE53BB | — |
| entity.name.tag.yaml, string.unquoted.plain.out.yaml, meta.mapping.key.yaml | #00FFFF | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml, punctuation.definition.anchor.yaml, punctuation.definition.alias.yaml | #FFD319 | — |
| support.function.builtin.shell, keyword.control.shell, storage.modifier.shell | #FF00FF | — |
| variable.other.normal.shell, variable.other.bracket.shell, variable.other.special.shell | #FFD319 | — |
| keyword.other.DML.sql, keyword.other.DDL.sql, keyword.other.create.sql, keyword.other.drop.sql, keyword.other.sql, storage.modifier.sql | #FF00FF | — |
| support.function.aggregate.sql, entity.name.function.sql, support.function.string.sql | #00FFFF | — |
| keyword.other.special-method.dockerfile, keyword.control.dockerfile, entity.name.function.target.makefile, storage.type.instruction.dockerfile | #FF00FF | — |
| keyword.control.import.ts, keyword.control.from.ts, keyword.control.as.ts, keyword.control.export.ts, keyword.control.import.js, keyword.control.from.js, keyword.control.export.js | #FF00FF | — |
| keyword.operator.type.annotation.ts, punctuation.separator.key-value.ts | #9090A0 | — |
| punctuation.definition.typeparameters.begin.ts, punctuation.definition.typeparameters.end.ts, punctuation.definition.typeparameters.begin.tsx, punctuation.definition.typeparameters.end.tsx | #9090A0 | — |
| storage.modifier.ts, storage.modifier.js, storage.modifier.tsx | #FF00FF | — |
| entity.name.function.decorator.python, meta.function.decorator.python, punctuation.definition.decorator.python | #FFD319 | — |
| variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #FF00FF | italic |
| support.function.builtin.python, meta.function-call.python support.function.builtin.python | #00FFFF | — |
| support.function.magic.python, entity.name.function.magic.python | #00FFFF | — |
| entity.name.import.go, keyword.import.go, keyword.package.go | #FF00FF | — |
| keyword.channel.go, keyword.const.go, keyword.function.go, keyword.go, keyword.interface.go, keyword.map.go, keyword.struct.go, keyword.type.go, keyword.var.go | #FF00FF | — |
| storage.modifier.lifetime.rust, entity.name.lifetime.rust, punctuation.definition.lifetime.rust | #FFD319 | — |
| entity.name.function.macro.rust, support.function.std.rust, meta.macro.rust entity.name.function.rust | #FF00FF | — |
| meta.attribute.rust, entity.name.function.attribute.rust, punctuation.definition.attribute.rust | #FFD319 | — |
| meta.declaration.annotation.java, punctuation.definition.annotation.java, storage.type.annotation.java | #FFD319 | — |
| storage.type.primitive.java, storage.type.java, storage.type.object.array.java | #00FFFF | — |
| entity.name.function.attribute.cs, meta.attribute.cs, punctuation.section.attribute.begin.cs, punctuation.section.attribute.end.cs | #FFD319 | — |
| keyword.other.cs, storage.type.cs, storage.modifier.cs | #FF00FF | — |
| meta.preprocessor, keyword.control.directive, punctuation.definition.directive, keyword.control.directive.include, keyword.control.directive.define, keyword.control.directive.ifdef | #FF00FF | — |
| entity.name.function.preprocessor.c, entity.name.function.preprocessor.cpp, meta.preprocessor.macro.c entity.name.function | #FFD319 | — |
| constant.other.symbol.ruby, constant.other.symbol.hashkey.ruby | #FFD319 | — |
| support.function.kernel.ruby, support.class.ruby, support.type.ruby | #00FFFF | — |
| variable.other.php, variable.language.php | #FFD319 | — |
| support.function.builtin.php, support.function.string.php, support.function.math.php | #00FFFF | — |
| keyword.other.php, storage.type.php | #FF00FF | — |
| invalid, invalid.illegal, invalid.deprecated | #FF5277 | strikethrough |
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}!`;
}