Wonda Matrix Theme
Publisher: Wonda Matrix ThemeThemes in package: 1
A stunning Matrix-inspired dark theme with cyberpunk aesthetics - featuring iconic digital green on deep space black
A stunning Matrix-inspired dark theme with cyberpunk aesthetics - featuring iconic digital green on deep space black
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 | #4d774e | italic |
| variable, variable.other, variable.parameter | #00cc33 | — |
| constant.language.boolean, constant.language.null, constant.language.undefined | #0099cc | bold |
| constant.numeric, constant.language.numeric, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary, constant.numeric.float, constant.numeric.decimal | #00ff41 | — |
| constant, entity.name.constant, variable.other.constant | #00cc33 | — |
| variable.language.this, variable.language.super, variable.language.self | #9933cc | bold italic |
| entity.name.type, entity.name.class, entity.name.interface, support.class, support.type | #00ffff | bold |
| entity.name.function, entity.name.method, variable.function, support.function | #00ff41 | bold |
| entity.name.tag | #00cc33 | bold |
| entity.other.attribute-name | #66cc66 | — |
| keyword.control, keyword.operator.new, keyword.other | #00ffff | bold |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical, keyword.operator.assignment | #ff3366 | bold |
| storage, storage.type, storage.modifier | #00ffff | bold |
| storage.modifier.package, storage.modifier.import, keyword.control.import, keyword.control.export, keyword.control.from | #00cc33 | — |
| string, string.quoted | #ffffff | — |
| string.template, punctuation.definition.template-expression | #ffffff | — |
| punctuation.definition.string | #33ffaa | — |
| string.regexp, constant.character.escape | #33ffaa | — |
| punctuation.separator, punctuation.terminator, punctuation.accessor | #66cc66 | — |
| punctuation.section.embedded | #00cc33 | — |
| meta.brace, punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.array | #00ff41 | — |
| meta.property-name, support.type.property-name | #99ddaa | — |
| meta.object-literal.key | #99ddaa | — |
| invalid.broken | #ff0000 | bold |
| invalid.deprecated | #ff6600 | strikethrough |
| invalid.illegal | #ff0000 | bold underline |
| markup.bold | #ffffff | bold |
| markup.italic | #e6e6e6 | italic |
| markup.heading | #ffffff | bold |
| markup.inserted | #00ff88 | — |
| markup.deleted | #ff6666 | — |
| markup.changed | #ffcc66 | — |
| markup.inline.raw, markup.fenced_code | #00ff88 | — |
| markup.quote | #999999 | italic |
| markup.list | #e6e6e6 | — |
| markup.underline.link | #00ccff | underline |
| text.html.markdown, meta.paragraph.markdown | #e6e6e6 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}
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}!`;
}