jummiterm-vscode
Publisher: jummitermThemes in package: 2
Just a color theme. It's based on my personal vim and terminal colorschemes. Contains one dark theme and one light theme.
Just a color theme. It's based on my personal vim and terminal colorschemes. Contains one dark theme and one light theme.
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 |
|---|---|---|
| keyword, storage.modifier, string, support.type, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #af87ff | — |
| entity.other.attribute-name, storage.type, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name, punctuation.separator.inheritance.php, keyword.other.template, keyword.other.substitution, support.other.variable, entity.other.attribute-name.class, string.other.link, *url*, *link*, *uri* | #af5fff | — |
| keyword.control, string.regexp, entity.other.attribute-name.id, source.json meta.structure.dictionary.json support.type.property-name.json | #04dac5 | — |
| variable.language, punctuation.section.embedded | #d7005f | — |
| invalid, invalid.illegal | #d75f87 | — |
| punctuation, support.class, meta.block variable.other, variable.parameter, meta.tag, support.constant, constant.other.color, constant.language, constant.character, constant.escape, keyword.other.unit, keyword.other, variable, string constant.other.placeholder, constant.other.symbol, constant.other.key, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #e4e4e4 | — |
| constant.numeric, entity.name.function, entity.name, entity.other.inherited-class, support.function, meta.function-call, variable.function, keyword.other.special-method, entity.name.tag, entity.name.module.js, variable.import.parameter.js, variable.other.class.js, entity.name.method.js, meta.class-method.js entity.name.function.js, variable.function.constructor, constant.character.escape, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js, 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, source.sass keyword.control | #b2b2b2 | — |
| punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.sgml, markup.deleted.git_gutter, comment, punctuation.definition.comment | #4e4e4e | — |
| markup.inserted | #00d7d7 | — |
| markup.changed | #af5fff | — |
| markup.deleted | #d7005f | — |
| source.js constant.other.object.key.js string.unquoted.label.js | #d7005f |
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}!`;
}