WIITY Theme
Publisher: PuszkarekThemes in package: 4
A Matrix-inspired retro green terminal theme for VSCode. Free your mind.
A Matrix-inspired retro green terminal theme for VSCode. Free your mind.
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 |
|---|---|---|
| block.scope.end, block.scope.begin, meta.tag, meta.brace.square, meta.template.expression, punctuation.separator.list.comma, punctuation.separator.key-value, punctuation.separator.delimiter, function.brace, variable.parameter.function, support.type.property-name, support.constant.property-value, invalid, token.package | #33ff00 | — |
| rgb-value | #33ff00 | — |
| punctuation.section.embedded, variable.interpolation, punctuation.definition.string.begin, punctuation.definition.string.end | #33ff00 | — |
| punctuation.quasi.element, punctuation.section.embedded, punctuation.definition.constant, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #33ff00 | — |
| comment, punctuation.definition.comment | #bbffac | italic |
| comment.line.double-slash,comment.block.documentation | — | italic |
| entity.other.attribute-name, entity.other.attribute-name, variable.parameter, variable.language.super | — | italic |
| meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff | #33ff00 | — |
| punctuation.definition.bold | #33ff00 | — |
| string.regexp | #33ff00 | — |
| keyword, support.variable.dom, support.variable.property.dom, support.type.object.dom, support.variable.property.process, support.constant.json, support.constant.font-name, support.constant.property.math, constant.character.escape, constant.character.entity, token.storage, storage | #88ff00 | — |
| entity.name.function, support.function, variable.function, keyword.other.special-method | #88ff00 | — |
| string | #33ff00 | — |
| constant, entity.name.namespace, variable.language, support.constant.math, support.type.primitive, entity.name.type.module, support.module.node, support.type.object.module, support.module.node | #33ff00 | — |
| variable, meta.object-literal.key, support.variable.property, support.variable.object.process, support.variable.object.node, support.type.object.console | #33ff00 | — |
| keyword.operator.assignment.compound, keyword.operator.assignment | #33ff00 | — |
| variable.other.property, variable.parameter, support.function, text.variable, text.bracketed | #33ff00 | — |
| support.class, entity.name.type.namespace, entity.name.type.class, entity.name.class, variable.other.class, entity.other.inherited-class, entity.name.type, support.type.primitive | #33ff00 | — |
| support.type.builtin | #33ff00 | — |
| source.json meta.structure.dictionary.json > string.quoted.json, support.type.property-name.json | #33ff00 | — |
| source.json meta.structure.dictionary.json > value.json > string.quoted.json, source.json meta.structure.array.json > value.json > string.quoted.json, source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation, source.json meta.structure.array.json > value.json > string.quoted.json > punctuation | #33ff00 | — |
| entity.name.tag, meta.selector | #33ff00 | — |
| entity.other.attribute-name | #33ff00 | — |
| keyword.other.template.begin, keyword.other.template.end, keyword.other.substitution.begin, keyword.other.substitution.end | #33ff00 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #33ff00 | — |
| entity.other.attribute-name.id, source.css entity.other.attribute-name.class.css, source.sass entity.other.attribute-name.class.css, source.scss entity.other.attribute-name.class.css, source.less entity.other.attribute-name.class.css, source.stylus entity.other.attribute-name.class.css, source.postcss entity.other.attribute-name.class.css | #33ff00 | — |
| selector.css, selector.scss, selector.sass, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #33ff00 | — |
| keyword.operator.css, keyword.operator.scss, keyword.operator.less, support.type.vendored.property-name.css, support.type.vendored.property-name.scss, support.constant.property-value.scss, support.constant.property-value.css, support.constant.color.css, support.constant.color.scss | #33ff00 | — |
| markup.heading | #33ff00 | — |
| markup.heading punctuation.definition.heading, entity.name.section | #33ff00 | — |
| punctuation.definition.italic, todo.emphasis, todo.bold, markup.italic, markup.bold | #33ff00 | — |
| comment markup.link | #33ff00 | — |
| markup.changed.diff | #33ff00 | — |
| markup.inserted.diff | #33ff00 | — |
| markup.deleted.diff | #33ff00 | — |
| token.info-token | #33ff00 | — |
| token.warn-token | #33ff00 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #33ff00 | — |
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}!`;
}