Inkpot GC VSC
Publisher: mattmaniakThemes in package: 1
Gynvael Coldwind's inkpot_gc theme for GVim/Sublime ported to the VS Code.
Gynvael Coldwind's inkpot_gc theme for GVim/Sublime ported to the VS Code.
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, markup.raw.block.fenced.markdown, markup.table, markup.quote punctuation.definition.blockquote.markdown, punctuation.definition.comment, punctuation.section.class.end, text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown, variable.language.fenced.markdown | #00ff00 | — |
| entity.name.function, keyword.other.special-method, meta.block variable.other, meta.class-method.js entity.name.function.js, meta.function-call, punctuation.definition.list_item.markdown, string constant.other.placeholder, support.function, text.html.markdown, variable, variable.function, variable.function.constructor, variable.other.class.js, variable.parameter | #5ed378 | — |
| invalid, invalid.illegal, markup.deleted | #6e2e2e | — |
| entity.name.function.preprocessor, entity.other.attribute-name, keyword, markup.raw.block, string.other.link.description.title.markdown, text.html.markdown markup.inline.raw.markdown | #c080d0 | — |
| entity.name.module.js, keyword.operator, keyword.other, source.js constant.other.object.key.js string.unquoted.label.js, storage.modifier, storage.type, variable.import.parameter.js, variable.language | #b7b7f7 | — |
| constant.other.color, constant.other.reference.link.markdown, entity.name.tag, entity.other.attribute-name.class, keyword.control, keyword.control.directive, keyword.other.template, keyword.other.substitution, keyword.preprocessor, markup.deleted.git_gutter, markup.inserted, meta.preprocessor, meta.tag, meta.tag.sgml, punctuation, punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, punctuation.separator.inheritance.php, source.sass keyword.control | #409090 | — |
| text.html.basic entity.other.attribute-name, text.html.basic entity.other.attribute-name.html | #409090 | italic |
| constant.character, constant.character.escape, constant.escape, constant.numeric, constant.language, constant.other.key, constant.other.symbol, keyword.other.unit, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, string.regexp, support.constant | #ffcd8b | — |
| markdown.heading, markup.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, markup.inserted.git_gutter, string, string.other.link, support.other.variable | #f0ad6d | — |
| entity.other.inherited-class, markup.changed.git_gutter, meta.use.php, source.css support.type.property-name, source.less support.type.property-name, source.postcss support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.stylus support.type.property-name, support.class, support.other.namespace.use.php, support.other.namespace.php, support.type, support.type.sys-types | #c080d0 | — |
| markup.changed | #ffffcd | — |
| *link*, *uri*, *url* | — | underline |
| entity.name.method.js, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #5ed378 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #c080d0 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #5ed378 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f0ad6d | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #6e2e2e | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #409090 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #5ed378 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #409090 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c080d0 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f0ad6d | — |
| markup.italic | #409090 | italic |
| markup.bold, markup.bold string | #409090 | bold |
| markup.bold markup.italic, markup.bold markup.italic string, markup.italic markup.bold, markup.italic markup.bold string, markup.quote markup.bold, markup.quote markup.bold string | #409090 | bold |
| markup.underline, string.other.link.title.markdown | #f0ad6d | underline |
| markup.quote | — | italic |
| markup.raw.block.fenced.markdown, punctuation.definition.fenced.markdown | #3e3e7550 | — |
| meta.separator | #00ff00 | bold |
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}!`;
}