sjsepan.matrixish
Publisher: sjsepanThemes in package: 6
Matrix-like, but with borders and with matching colors in Activity- and Side-bars.
Matrix-like, but with borders and with matching colors in Activity- and Side-bars.
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| comment, punctuation.definition.comment, string.comment | #4c5e48 | italic |
| string, string.quoted, string.template, string.interpolated, string.regexp, string.tag, string.value | #FFCC00 | — |
| storage.modifier.async.js, storage.type.js | #66FF66 | bold |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #AAFF00 | — |
| keyword.operator, punctuation.separator, punctuation.definition | #00CCCC | — |
| entity.name.tag, entity.other.attribute-name, meta.tag | #00CCCC | bold |
| entity.other.attribute-name.class, entity.other.attribute-name.id, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #AAFF00 | — |
| keyword.other.unit | #FFD700 | — |
| constant.numeric, constant.language, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color, constant.other, constant.character | #FFD700 | — |
| entity.name.function, support.function, support.constant.handlebars, meta.function-call, meta.method-call, meta.function.parameters | #00CCCC | bold |
| keyword, storage.type, storage.modifier, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof | #66FF66 | bold |
| entity.name.type, support.type, support.class, storage.type.built-in, meta.return-type, meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class, entity.name.class, source.cs storage.type | #AAFF00 | bold |
| variable, support.variable, variable.other, variable.language, variable.parameter, meta.definition.variable.name, meta.object-literal.key | #5aff31 | — |
| variable.language.this, variable.language.super, variable.language.self | #FFCC00 | italic bold |
| punctuation, meta.brace, meta.brackets, meta.parentheses, punctuation.definition.tag | #00ff00 | — |
| entity.name.tag, entity.name.tag.css, entity.other.attribute-name, source.css entity.other.attribute-name, source.css.less entity.other.attribute-name.id, source.scss entity.other.attribute-name | #00CCCC | bold |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less, support.type.property-name.sass, support.type.vendored.property-name, support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media | #AEEE00 | — |
| markup.heading, markup.bold, markup.italic, markup.inserted, markup.deleted, markup.changed, markup.underline | #00ff00 | — |
| invalid, invalid.illegal, invalid.deprecated | #ff0000 | bold underline |
| support.function.git-rebase, constant.sha.git-rebase, meta.diff.header | #00ff00 | — |
| entity.name.type.namespace.cs | #AAFF00 | bold |
| entity.other.attribute-name.html | #AEEE00 | bold |
| punctuation.definition.entity.html | #FFD700 | bold |
| support.type.property-name.json | #2bff00 | bold |
| string.quoted.double.json, string.quoted.single.json | #FFCC00 | bold |
| punctuation.support.type.property-name | #00CCCC | bold |
| entity.name.function.decorator.python | #AAFF00 | bold |
| variable.parameter.function.python | #98FB98 | — |
| entity.name.function.macro.rust | #FFCC00 | bold |
| storage.modifier.lifetime.rust | #AAFF00 | italic |
| storage.type.annotation.java | #AAFF00 | bold |
| storage.type.generic.java | #00CCCC | — |
| storage.type.java | #66FF66 | bold |
| meta.method.java | #00CCCC | — |
| variable.other.definition.java | #5aff31 | — |
| entity.name.type.class.java | #AEEE00 | bold |
| entity.name.type.interface.java | #00ff00 | italic bold |
| storage.modifier.package.java, storage.modifier.import.java | #FFCC00 | — |
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}!`;
}