Xikreti
Publisher: Thales CardosoThemes in package: 1
A synthwave-inspired dark theme with neon green replacing red — based on SynthWave '84
A synthwave-inspired dark theme with neon green replacing red — based on SynthWave '84
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, string.quoted.docstring.multi.python, string.quoted.docstring.multi.python punctuation.definition.string.begin.python, string.quoted.docstring.multi.python punctuation.definition.string.end.python | #848bbd | italic |
| string.quoted, string.template, punctuation.definition.string | #ff8b39 | — |
| string.template meta.embedded.line | #b6b1b1 | — |
| variable, entity.name.variable | #ff7edb | — |
| variable.language | #bf5fff | bold |
| variable.parameter | — | italic |
| storage.type, storage.modifier | #fede5d | — |
| constant | #2bff88 | — |
| string.regexp | #2bff88 | — |
| constant.numeric | #2bff88 | — |
| constant.language | #2bff88 | — |
| constant.character.escape | #36f9f6 | — |
| entity.name | #bf5fff | — |
| entity.name.tag, entity.name.tag.html, entity.name.tag.xml, entity.name.tag.js, entity.name.tag.tsx, entity.name.tag.jsx, entity.name.tag.css | #bf5fff | — |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end, punctuation.definition.tag.html, meta.tag punctuation.definition.tag | #36f9f6 | — |
| entity.other.attribute-name | #fede5d | — |
| entity.other.attribute-name.html | #fede5d | italic |
| entity.name.type, meta.attribute.class.html | #bf5fff | — |
| entity.other.inherited-class | #2bff88 | — |
| entity.name.function, variable.function | #36f9f6 | — |
| keyword.control.export, keyword.control.import | #bf5fff | — |
| constant.numeric.decimal.js | #2EE2FA | — |
| keyword | #fede5d | — |
| keyword.control | #fede5d | — |
| keyword.operator | #fede5d | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.logical | #fede5d | — |
| keyword.other.unit | #2bff88 | — |
| support | #bf5fff | — |
| support.function | #36f9f6 | — |
| support.variable | #ff7edb | — |
| meta.object-literal.key, support.type.property-name | #ff7edb | — |
| punctuation.separator.key-value | #b6b1b1 | — |
| punctuation.section.embedded | #fede5d | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #bf5fff | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less, meta.property-name.css | #bf5fff | — |
| support.type.property-name.json | #bf5fff | — |
| constant.other.color | #2bff88 | — |
| support.constant.font-name | #2bff88 | — |
| entity.other.attribute-name.id | #36f9f6 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #2bff88 | — |
| support.function.misc.css | #bf5fff | — |
| support.constant.property-value.css | #2bff88 | — |
| meta.selector.css | #bf5fff | — |
| entity.other.attribute-name.class.css | #ff7edb | — |
| keyword.control.at-rule.media.css, keyword.control.at-rule.css | #bf5fff | italic |
| switch-block.expr.js | #bf5fff | — |
| variable.other.constant.property.js, variable.other.property.js | #2ee2fa | — |
| markup.heading, entity.name.section | #ff7edb | — |
| text.html, keyword.operator.assignment | #ffffffee | — |
| markup.quote | #b6b1b1cc | italic |
| beginning.punctuation.definition.list | #ff7edb | — |
| markup.underline.link, string.other.link.description | #2bff88 | — |
| markup.bold | #fede5d | bold |
| markup.italic | #ff7edb | italic |
| markup.inline.raw, markup.raw.block | #bf5fff | — |
| meta.separator.markdown | #ffffff30 | — |
| meta.function-call.generic.python | #36f9f6 | — |
| variable.parameter.function-call.python | #bf5fff | — |
| storage.type.cs | #bf5fff | — |
| entity.name.variable.local.cs | #ff7edb | — |
| entity.name.variable.field.cs, entity.name.variable.property.cs | #ff7edb | — |
| keyword.control.directive.include.c, keyword.control.directive.define.c, keyword.control.directive.include.cpp, keyword.control.directive.define.cpp | #bf5fff | — |
| storage.modifier.c, storage.modifier.specifier.const.cpp | #bf5fff | — |
| source.cpp keyword.operator | #fede5d | — |
| constant.other.placeholder.c, constant.other.placeholder.cpp | #bf5fff | italic |
| variable.scss | #ff7edb | — |
| entity.name.function.scss | #36f9f6 | — |
| keyword.control.at-rule.include.scss | #bf5fff | italic |
| entity.name.tag.yaml | #bf5fff | — |
| entity.name.type.anchor.yaml | #fede5d | — |
| keyword.key.toml, support.type.property-name.toml | #bf5fff | — |
| source.go entity.name.package | #bf5fff | — |
| storage.type.boolean.go, storage.type.byte.go, storage.type.error.go, storage.type.numeric.go, storage.type.rune.go, storage.type.string.go, storage.type.uintptr.go | #bf5fff | — |
| storage.modifier.lifetime.rust | #2bff88 | italic |
| support.function.builtin.rust | #bf5fff | — |
| meta.type.annotation.ts, meta.type.annotation.tsx, meta.return.type.ts, meta.return.type.tsx | #2bff88 | — |
| meta.type.parameters.ts, meta.type.parameters.tsx | #03edf9 | — |
| entity.name.type.interface.ts, entity.name.type.interface.tsx | #bf5fff | — |
| meta.decorator.ts, meta.decorator.tsx | #fede5d | italic |
| storage.type.annotation.java | #fede5d | italic |
| entity.name.type.class.java | #bf5fff | — |
| storage.modifier.access.java, storage.modifier.java | #fede5d | — |
| source.php variable | #ff7edb | — |
| source.php entity.name.type.class | #bf5fff | — |
| source.php entity.name.function | #36f9f6 | — |
| support.function.builtin.shell | #bf5fff | — |
| variable.other.normal.shell | #ff7edb | — |
| source.ruby string | #ff8b39 | — |
| source.ruby constant | #2bff88 | — |
| source.ruby constant.other.symbol | #03edf9 | — |
| source.ruby variable.other.readwrite.instance | #ff7edb | — |
| source.ruby variable.language | #bf5fff | italic |
| source.ruby entity.name.type | #bf5fff | — |
| source.elixir support.type.elixir, source.elixir meta.module.elixir entity.name.class.elixir | #36f9f6 | — |
| source.elixir entity.name.function | #bf5fff | — |
| entity.global.clojure, source.clojure meta.symbol.clojure | #bf5fff | — |
| source.elixir constant.other.symbol.elixir, source.elixir constant.other.keywords.elixir | #36f9f6 | — |
| invalid | #fe4450 | — |
| invalid.deprecated | #fe4450cc | — |
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}!`;
}