Neon VsCode Dark Storm
Publisher: Neon VsCode DarkThemes in package: 1
Ultra-vivid dark theme optimized for Angular and .NET development with neon-bright syntax highlighting
Ultra-vivid dark theme optimized for Angular and .NET development with neon-bright syntax highlighting
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 | #4A5F4A | italic |
| variable.parameter, meta.parameter, parameter.variable | #9CDCFE | — |
| variable.other.constant.object.ts, variable.other.constant.object.js | #4FC1FF | — |
| variable, variable.other, variable.language, variable.other.readwrite, meta.definition.variable.name, support.variable, entity.name.variable | #9CDCFE | — |
| constant, constant.numeric, constant.language, constant.character, constant.escape, keyword.other.unit | #FF9E64 | — |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical, storage.type, storage.modifier | #e27e90 | bold |
| keyword.operator, keyword.operator.comparison, keyword.operator.assignment, keyword.operator.arithmetic | #89DDFF | — |
| string, string.quoted, string.template, string.regexp | #CE9178 | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #9ECE6A | — |
| entity.name.function, meta.function-call.generic, support.function, keyword.other.special-method, meta.method-call, meta.method.declaration | #DCDCAA | — |
| entity.name.type, entity.name.class, entity.other.inherited-class, support.type, support.class, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution | #73DACA | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #73DACA | — |
| support.type.primitive, entity.name.type.interface, entity.name.type.type-parameter, support.type.builtin | #73DACA | italic |
| entity.other.attribute-name.class, entity.other.attribute-name.id, source.css entity.name.tag | #73DACA | — |
| entity.name.tag.yaml, meta.decorator, meta.decorator.python, meta.decorator.ts, meta.decorator.js, punctuation.decorator, storage.type.annotation, storage.type.annotation.java, storage.type.annotation.cs | #9ECE6A | italic |
| meta.attribute.cs, entity.name.type.attribute.cs, punctuation.section.attribute.begin.cs, punctuation.section.attribute.end.cs, meta.attribute.cs entity.name.type, storage.type.cs.attributes | #DCDCAA | — |
| meta.decorator.ts entity.name.function.ts, meta.decorator.js entity.name.function.js, punctuation.decorator.ts, punctuation.decorator.js | #DCDCAA | italic |
| entity.name.tag.html, entity.name.tag.structure.any.html, entity.name.tag.block.any.html, entity.name.tag.inline.any.html, entity.name.tag.script.html | #3a95df | — |
| punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #808080 | — |
| entity.other.attribute-name.html, entity.other.attribute-name.localname.html, meta.tag.structure.any.html entity.other.attribute-name, meta.tag.block.any.html entity.other.attribute-name, meta.tag.inline.any.html entity.other.attribute-name | #9CDCFE | italic |
| entity.other.attribute-name.html punctuation.definition.string.begin, entity.other.attribute-name.html punctuation.definition.string.end, meta.tag.structure.any.html meta.embedded.expression, source.directive.ng | #9ECE6A | — |
| meta.embedded.expression.ng, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, meta.template.expression | #9CDCFE | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.vendored.property-name.css, support.type.vendored.property-name.scss | #9CDCFE | — |
| entity.name.tag.css, entity.name.tag.scss, entity.other.attribute-name.class.css, entity.other.attribute-name.class.scss, 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 | #D7BA7D | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-class.scss, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-element.scss | #E0AF68 | italic |
| constant.numeric.css, constant.numeric.scss, keyword.other.unit.css, keyword.other.unit.scss, support.constant.property-value.css, support.constant.property-value.scss | #B5CEA8 | — |
| keyword.other.unit.rem.css, keyword.other.unit.em.css, keyword.other.unit.rem.scss, keyword.other.unit.em.scss | #B5CEA8 | — |
| constant.other.color.rgb-value.hex.css, constant.other.color.rgb-value.hex.scss | #CE9178 | — |
| keyword.other.unit.percentage.css, keyword.other.unit.percentage.scss | #B5CEA8 | — |
| meta.property-value.css, meta.property-value.scss | #CCCCCC | — |
| meta.property-list.css, meta.property-list.scss | #CCCCCC | — |
| meta.at-rule.media.body.css, meta.at-rule.media.body.scss | #CCCCCC | — |
| keyword.control.at-rule.media.css, keyword.control.at-rule.media.scss, meta.at-rule.media.header.css, meta.at-rule.media.header.scss | #C586C0 | — |
| keyword.control.css, keyword.control.scss, keyword.control.at-rule.include.scss, keyword.control.at-rule.mixin.scss, keyword.control.at-rule.import.css, keyword.control.at-rule.import.scss | #C586C0 | — |
| variable.scss, variable.sass, punctuation.definition.variable.scss | #4FC1FF | — |
| entity.name.function.scss, support.function.misc.scss | #E0AF68 | — |
| support.type.property-name.json, string.json support.type.property-name.json | #73DACA | — |
| string.quoted.double.json, string.quoted.single.json | #9ECE6A | — |
| constant.numeric.json | #FF9E64 | — |
| markup.heading, markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #e27e90 | bold |
| markup.underline.link, string.other.link.title.markdown | #73DACA | — |
| markup.bold, markup.bold.markdown | #E0AF68 | bold |
| markup.italic, markup.italic.markdown | #DCDCAA | italic |
| markup.inline.raw, markup.fenced_code.block.markdown | #7AA2F7 | — |
| markup.quote | #565F89 | italic |
| variable.language.this.ts, variable.language.this.js, variable.language.super.ts, variable.language.super.js | #e27e90 | italic |
| keyword.control.import.ts, keyword.control.import.js, keyword.control.export.ts, keyword.control.export.js, keyword.control.from.ts, keyword.control.from.js | #e27e90 | — |
| entity.name.type.ts, entity.name.type.js, support.type.primitive.ts, support.type.builtin.ts, support.class.builtin.ts | #73DACA | — |
| entity.name.type.interface.ts, entity.name.type.type-parameter.ts | #73DACA | italic |
| keyword.other.using.cs, keyword.type.cs, keyword.control.cs, storage.modifier.cs, keyword.other.var.cs, keyword.other.new.cs | #e27e90 | bold |
| entity.name.type.class.cs, entity.name.type.interface.cs, entity.name.type.struct.cs, entity.name.type.enum.cs, support.type.cs, support.class.cs | #4EC9B0 | — |
| entity.name.function.cs, meta.method.cs, meta.method.identifier.cs | #dbdb87 | — |
| entity.name.type.type-parameter.cs, storage.type.generic.cs | #4EC9B0 | italic |
| entity.name.type.namespace.cs | #7AA2F7 | — |
| punctuation.separator, punctuation.terminator | #CCCCCC | — |
| punctuation.terminator.rule.css, punctuation.terminator.rule.scss | #808080 | — |
| punctuation.section, punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.array | #CCCCCC | — |
| invalid, invalid.illegal | #e27e90 | underline |
| invalid.deprecated | #E0AF68 | 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}!`;
}