ThemeDatabase All Themes
Publisher: enes ozturkThemes in package: 21943
One theme database to rule them all. All 22,037 ThemeDatabase themes in one VSIX package.
One theme database to rule them all. All 22,037 ThemeDatabase themes in one VSIX package.
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 |
|---|---|---|
| #97a7c8ff | — | |
| comment | #80778B | — |
| string | #E7DA5F | — |
| entity.name.function.js, entity.name.function.method.js, entity.name.accessor.js, entity.name.class.js | #73DF8E | — |
| support.class.builtin.js, entity.name.type.class.js | #FF659C | — |
| variable.parameter.js, constant.other.object.key.js, variable.other.readwrite.js, punctuation.definition.parameters.begin.js, punctuation.definition.parameters.end.js, meta.object-literal.key.js, meta.array.literal.js, meta.brace.round.js, punctuation.definition.block.js, meta.objectliteral.js | #26BDFF | — |
| constant.language.boolean.false.js, constant.language.boolean.true.js | #7A7FFD | — |
| support.variable.dom.js | #73DF8E | — |
| support.type.property-name.css | #26BDFF | — |
| entity.other.attribute-name.id.css | #E7DA5F | — |
| constant.other.color.rgb-value.hex.css | #7A7FFD | — |
| meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css | #7A7FFD | — |
| support.function | #E7DA5F | — |
| support.constant | #FF659C | — |
| support.type, support.class | #26BDFF | — |
| punctuation.definition.string, punctuation.definition.variable, punctuation.definition.string, punctuation.definition.parameters, punctuation.definition.string, punctuation.definition.array | #E7DA5F | — |
| none | #faf8f7 | — |
| variable, meta.selector.css | #73DF8E | — |
| entity.name.function, meta.require, support.function.any-method | #26BDFF | — |
| support.class, entity.name.class, entity.name.type.class | #FF659C | — |
| keyword.other.special-method | #26BDFF | — |
| storage | #FF659C | — |
| constant.numeric, none | #7A7FFD | — |
| constant | #E7DA5F | — |
| invalid.deprecated | #faf8f7 | — |
| meta.diff, meta.diff.header | #655c2d | — |
| markup.deleted | #FF659C | — |
| markup.inserted | #73DF8E | — |
| markup.changed | #E7DA5F | — |
| entity.name.filename.find-in-files | #E7DA5F | — |
| token.info-token | #26BDFF | — |
| token.warn-token | #E7DA5F | — |
| token.error-token | #FF659C | — |
| token.debug-token | #7A7FFD | — |
| entity.name.section.markdown | #FF659C | — |
| punctuation.definition.heading.markdown | #73DF8E | — |
| punctuation.definition.list.begin.markdown | #7A7FFD | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.underline.markdown | #faf8f7 | — |
| markup.inline.raw.markdown | #73DF8E | — |
| markup.inline.raw.string.markdown | #5BFC83 | — |
| punctuation.definition.raw.markdown | #E7DA5F | — |
| punctuation.definition.metadata.markdown | #E7DA5F | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #7A7FFD | — |
| string.other.link.title.markdown, string.other.link.description.markdown | #E7DA5F | — |
| markup.quote.markdown | #E7DA5F | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #E7DA5F | — |
| beginning.punctuation.definition.list.markdown | #7A7FFD | — |
| markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #FF659C | — |
| fenced_code.block.language, markup.raw.inner.restructuredtext, markup.fenced_code.block.markdown punctuation.definition.markdown | #73DF8E | — |
| source.yaml string | #E7DA5F | — |
| source.yaml entity.name.tag | #26BDFF | — |
| source.yaml keyword.other.anchor | #FF659C | — |
| source.yaml keyword.other.alias | #E7DA5F | — |
| source.yaml constant.numeric | #7A7FFD | — |
| source.yaml keyword.other.true-or-false | #7A7FFD | — |
| source.yaml constant.language.null | #80778B | — |
| text.xml entity | #26BDFF | — |
| text.xml string | #E7DA5F | — |
| text.xml punctuation | #E7DA5F | — |
| text.xml text | #E7DA5F | — |
| text.xml meta.tag.preprocessor.xml | #73DF8E | — |
| text.xml entity.other.attribute-name.xml | #FF659C | — |
| source.groovy keyword | #FF659C | — |
| source.groovy string | #E7DA5F | — |
| source.groovy variable.other | #26BDFF | — |
| source.scala keyword | #FF659C | — |
| source.scala string | #E7DA5F | — |
| source.scala variable.other | #26BDFF | — |
| source.rust keyword | #FF659C | — |
| source.rust string | #E7DA5F | — |
| source.rust entity.name.function | #26BDFF | — |
| punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end | #faf8f7 | — |
| entity.other.attribute-name, entity.other.attribute-name.class.css, string.quoted.double.json | #73DF8E | — |
| meta.tag.other, entity.name.tag.style, entity.name.tag.script, meta.tag.block.script, source.js.embedded punctuation.definition.tag.html, source.css.embedded punctuation.definition.tag.html | #FF659C | — |
| support.type.property-name.css | #26BDFF | — |
| entity.other.attribute-name.id.css | #E7DA5F | — |
| constant.other.color.rgb-value.hex.css | #7A7FFD | — |
| meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css | #7A7FFD | — |
| keyword | #FF659C | — |
| variable, meta.selector.css | #faf8f7 | — |
| entity.name.function, meta.require, support.function.any-method | #faf8f7 | — |
| support.class, entity.name.class, entity.name.type.class | #faf8f7 | — |
| keyword.other.special-method | #faf8f7 | — |
| storage | #FF659C | — |
| keyword.other.php | #FF659C | — |
| variable.other.php | #faf8f7 | — |
| support.function.php | #faf8f7 | — |
| support.class.php | #faf8f7 | — |
| support.class.php | #faf8f7 | — |
| entity.name.tag | #FF659C | — |
| punctuation.separator.key-value.html, punctuation.separator.key-value.js | #FF659C | — |
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}!`;
}