Tschiboka Dark
Publisher: tschibokaThemes in package: 1
A dark theme with cyan, green, and pink accents
A dark theme with cyan, green, and pink accents
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 |
|---|---|---|
| — | #d8d8d8 | — |
| comment, punctuation.definition.comment | #005151 | italic |
| string.quoted.docstring.multi.python, string.quoted.docstring.multi.python keyword.control.flow.python | #555555 | italic |
| meta.brace.round.begin, meta.brace.round.end, meta.brace.square.begin, meta.brace.square.end, meta.brace.curly.begin.js, meta.brace.curly.end.js, meta.group.braces.round.function.arguments | #00ffff | — |
| string | #00e676 | italic |
| string.regexp | #00e676 | — |
| string.detected-link | #e040fb | — |
| constant.numeric, markdown.python.constant.numeric | #ff8000 | — |
| constant.language | #ff8000 | italic |
| constant.character | #00cece | — |
| constant.character.escape.backslash.regexp | #00e676 | — |
| constant.character.format.placeholder.other.python | #ff8000 | — |
| constant.other.key, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #00cece | — |
| variable.other.object | #ff0080 | — |
| meta.property.object.js | #ff8000 | — |
| variable.other.class, meta.class.property variable.other.property | #ff0080 | — |
| variable.other, meta.class.object.property.js, meta.property.class variable.other.property.static | #ff8000 | — |
| variable.other.enummember | #ff8000 | — |
| variable.other.readwrite | #d8d8d8 | — |
| meta.group.braces variable.other.readwrite | #d8d8d8 | — |
| variable.language, meta.class variable.other.readwrite | #ff0080 | — |
| variable.language.prototype | #ff0080 | — |
| python.support.magic.variable | #ff0080 | — |
| variable.function, entity.name.function, entity.name.function.arrow, meta.class-method.js entity.name.function.js, meta.method.property.js entity.name.function.js | #00ffff | — |
| meta.function-call.generic.python | #00ffff | — |
| meta.function.decorator.python | #00cece | — |
| variable.function.constructor | #ffcc00 | — |
| keyword.control, keyword.operator.new, keyword.operator.module, variable.language.super | #e040fb | — |
| meta.preprocessor, entity.name.function.preprocessor | #e040fb | — |
| entity.name.function.preprocessor | #ffcc00 | — |
| meta.namespace.identifier entity.name.type, entity.name.variable | #ffcc00 | — |
| cs.meta.namespace.function.identifier.body.class.method | #00ffff | — |
| storage.type.cs, storage.type.variable.cs | #00cece | — |
| keyword, storage.modifier,source.css meta.selector.css entity.other.attribute-name.pseudo-element.css | #e040fb | italic |
| keyword.operator.logical.python | #e040fb | — |
| keyword.other.substitution.begin, keyword.other.substitution.end | #00cece | — |
| keyword.operator.accessor, punctuation.accessor | #00cece | — |
| punctuation.accessor.optional | #00cece | — |
| keyword.operator, constant.other.color, punctuation.separator.key-value | #00cece | — |
| keyword.regexp, keyword.operator.quantifier.regexp, keyword.operator.or.regexp, keyword.control.anchor.regexp | #00e676 | — |
| python.keyword.operator | #00cece | — |
| storage.type | #e040fb | |
| entity.name.type, entity.name.type.alias, entity.name.type.interface, entity.name.type.enum, entity.name.type.module | #ffcc00 | — |
| entity.name.class, meta.class.extends variable.other.readwrite | #ffcc00 | |
| entity.other.inherited-class | #ffcc00 | italic underline |
| variable.parameter | #d8d8d8 | |
| variable.parameter.function.language.python | #ff8000 | |
| entity.name.tag | #ff0080 | — |
| entity.other.attribute-name.html, entity.other.attribute-name.js, entity.other.attribute-name.jsx | #ff8000 | italic |
| selector.css.entity.other.attribute-name | #ffcc00 | — |
| variable.argument.css, variable.scss | #ff0080 | italic |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.scss, entity.other.attribute-name.id.css, entity.other.attribute-name.id.scss | #00ffff | — |
| support.function, support.class support.function | #00e676 | |
| python.builtin.support.function | #e040fb | |
| python.meta.function-call.builtin.support.function, python.meta.type.support.function-call, python.meta.variable.function-call.legacy.builtin | #ffcc00 | |
| meta.type.support.inheritance.python | #00cece | |
| entity.name.type.class.python | #ffcc00 | — |
| support.constant | #ff8000 | |
| support.type, support.class | #ffcc00 | |
| support.other.variable | — | |
| css.property-list.property-name,source.css meta.selector.css entity.other.attribute-name.pseudo-element.css punctuation.definition.entity.css | #00cece | |
| invalid | #eeeeee | — |
| invalid.deprecated | #111111 | — |
| meta.structure.dictionary.json string.quoted.double.json | #00e676 | — |
| meta.structure.dictionary.json string.quoted.double.detected-link | #e040fb | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #ff0080 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ff0080 | — |
| 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 | #ff008090 | italic |
| 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 | #ff0080 | — |
| 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 | #ff008090 | italic |
| 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 | #ff0080 | — |
| 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 | #ff008090 | italic |
| 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 | #ff0080 | — |
| 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 | #ff008090 | italic |
| punctuation.definition.block.sequence.item.yaml | #e040fb | — |
| string.unquoted.plain.out.yaml | #00e676 | — |
| markup.heading | #ff0080 | — |
| string.other.link.title.markdown, string.other.link.description.markdown, meta.paragraph.markdown entity.name.tag.inline.any | #00ffff | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #e040fb | — |
| markup.bold.markdown | — | bold |
| markup.fenced_code.block.markdown, markup.fenced.code.block.markdown, markup.raw.inline.markdown, markdown.block.raw | #00cece | — |
| markup.fenced_code.block.markdown fenced_code.block.language, markup.fenced.code.block.markdown fenced.code.block.language | #ff8000 | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown, punctuation.definition.markdown, beginning.punctuation.definition.quote.markdown, punctuation.definition.raw.markdown, meta.paragraph.markdown punctuation.definition.tag | #00cece | — |
| markdown.fenced_code.block.markdown constant.numeric, markdown.fenced.code.block.markdown constant.numeric, markdown.fenced_code.block.markdown constant.language, markdown.fenced.code.block.markdown constant.language | #ff8000 | — |
| markdown.block.fenced.code.string, markdown.block.fenced.code.string.quote | #00e676 | — |
| markup.fenced_code.block.markdown keyword.operator, markup.fenced_code.block.markdown keyword.operator.logical.python, markup.fenced.code.block.markdown keyword.operator, markup.fenced_code.block.markdown keyword.control, markup.fenced.code.block.markdown keyword.control, markup.fenced_code.block.markdown storage.type, markup.fenced_code.block.markdown storage.type.function.lambda, markdown.block.fenced.code.lambda.storage.type | #00ffff | — |
| markdown.block.fenced.code.operator.assignment | #d8d8d8 | — |
| markdown.block.variable.parameter | #ff8000 | — |
| meta.diff, meta.diff.header | #666666 | — |
| markup.deleted | #ff0080 | — |
| markup.inserted | #00e676 | — |
| markup.changed | #ffcc00 | — |
| constant.numeric.line-number.find-in-files - match | #00ffffA0 | — |
| entity.name.filename.find-in-files | #ffcc00 | — |
| token.info-token | #00ffff | — |
| token.warn-token | #ffcc00 | — |
| token.error-token | #ff0080 | — |
| token.debug-token | #e040fb | — |
| entity.name.type.instance.jsdoc | #ffcc00 | — |
| punctuation.output.jekyll, punctuation.tag.jekyll, punctuation.output.liquid, punctuation.tag.liquid | #eeeeeeD1 | — |
| frontmatter.jekyll, frontmatter.liquid | #eeeeeeD1 | — |
| entity.name.tag.jekyll, entity.name.tag.jekyll | #ff0080 | italic |
| variable.other.jekyll, variable.other.liquid | #e040fb | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #00e676 | — |
| punctuation.support.type.property-name.begin, punctuation.support.type.property-name.end | #ff0080 | — |
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}!`;
}