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 |
|---|---|---|
| comment, punctuation.definition.comment | #526176 | — |
| entity | #78a9ff | — |
| constant | #F4A261 | — |
| constant.character.escape | #DBC074 | — |
| constant.language.null | #F6B079 | — |
| keyword, storage.type.class.js | #9D79D6 | — |
| meta | #63CDCF | — |
| invalid | #C94F6D | — |
| meta.brace, punctuation.definition.parameters.begin.js, punctuation.definition.parameters.end.js | #AEAFB0 | — |
| punctuation, keyword.operator.relational, keyword.operator.increment, keyword.operator.decrement | #AEAFB0 | — |
| punctuation.definition.parameters | #AEAFB0 | — |
| punctuation.definition.template-expression | #AEAFB0 | — |
| storage | #9D79D6 | — |
| storage.type.function.arrow | #AEAFB0 | — |
| string, punctuation.definition.string | #3ddbd9 | — |
| meta.attribute.href.html string.quoted.single.html, meta.attribute.href.html string.quoted.double.html, meta.attribute.src.html string.quoted.single.html, meta.attribute.src.html string.quoted.double.html | #7AD4D6 | — |
| string.template, punctuation.definition.string.template | #3ddbd9 | — |
| support | #719CD6 | — |
| support.variable.js | #C94F6D | — |
| support.function | #C94F6D | — |
| support.function.misc.css, support.function.calc.css, support.function | #86ABDC | — |
| support.variable.property.dom | #7AD4D6 | — |
| variable | #D6D6D7 | — |
| source.ini entity, meta.embedded.block.ini, source.ini | #F4A261 | — |
| source.ini keyword, keyword.other.definition.ini | #9D79D6 | — |
| source.ini punctuation.definition | #E0C989 | — |
| source.ini punctuation.separator, punctuation.separator.key-value.ini | #AEAFB0 | — |
| source.css entity, source.stylus entity | #9D79D6 | — |
| meta.at-rule.keyframes, meta.property-value | #CDCECF | — |
| source.css entity.other.keyframe-offset.percentage, source.stylus entity.other.keyframe-offset.percentage | #C94F6D | — |
| entity.other.attribute-name.class.css | #719CD6 | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css | #719CD6 | — |
| entity.name.tag | #DBC074 | — |
| source.css support, entity.name.tag.css, source.stylus support | #719CD6 | — |
| entity.name.tag.css | #DBC074 | — |
| source.css constant.numeric.css | #F4A261 | — |
| keyword.other.important.css, punctuation.definition.keyword.css | #9D79D6 | — |
| keyword.other.unit | #91BCA7 | — |
| source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant | #CDCECF | — |
| source.css string, source.css punctuation.definition.string, source.stylus string, source.stylus punctuation.definition.string | #81B29A | — |
| source.css variable, source.stylus variable | #DBC074 | — |
| meta.at-rule.media.header.css | #CDCECF | — |
| text.html | #CDCECF | — |
| text.html.basic entity.name, punctuation.definition.tag.html, entity.name.tag.inline.any.html, meta.tag.other.html, meta.tag.inline.any.html, entity.name.tag, meta.tag.other.html, meta.tag.other.js, meta.tag.other.tsx, entity.name.tag.tsx, entity.name.tag.js, entity.name.tag, meta.tag.js, meta.tag.tsx, meta.tag.html | #BAA1E2 | — |
| new.expr entity.name.function | #F4A261 | — |
| support.class | #F4A261 | — |
| entity.name.function | #86ABDC | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #86ABDC | — |
| meta.toc-list.id.html | #A5FF90 | — |
| text.html.basic entity.other | #FAD000 | — |
| meta.tag.metadata.script.html entity.name.tag.html | #BAA1E2 | — |
| meta.tag.metadata.doctype.html entity.name.tag.html | #F4A261 | — |
| meta.tag.metadata.doctype.html entity.other.attribute-name.html | #F4A261 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #81B29A | — |
| meta.tag.inline.any.html, meta.tag.other | #FF9D00 | — |
| source.json support, punctuation.support | #BAA1E2 | — |
| source.json string, source.json punctuation.definition.string | #81B29A | — |
| source.js storage.type.function | #9D79D6 | — |
| variable.language, entity.name.type.class.js | #9D79D6 | — |
| entity.other.inherited-class | #FFEE80 | — |
| storage.type.extends.js, storage.type.class.jsdoc | #9D79D6 | — |
| punctuation.definition.block.tag.jsdoc | #FF9D00 | — |
| variable.other.jsdoc, entity.name.type.instance.jsdoc | #D6D6D7 | — |
| variable.other.constant | #D6D6D7 | — |
| meta.function-call variable.other.constant | #F6B079 | — |
| new.expr variable.other.constant | #78a9ff | — |
| punctuation.definition.tag.begin.js, punctuation.definition.tag.end.js | #9EFFFF | — |
| meta.jsx.children.js | #FFFFFF | — |
| storage.type, storage.type.class, storage.modifier, keyword.operator, keyword.control | #9D79D6 | — |
| keyword.operator.ternary | #BAA1E2 | — |
| keyword.control.loop | #BAA1E2 | — |
| punctuation.definition.bracket.curly | #494685 | — |
| keyword.operator.assignment.tsx, keyword.operator.assignment.jsx | #D6D6D7 | — |
| keyword.operator.assignment | #D6D6D7 | — |
| meta.jsx.children.tsx | #FFFFFF | — |
| meta.object-literal.key.js | #719CD6 | — |
| entity.name.type.class.tsx, entity.name.type.class.jsx, variable.other.object.tsx, variable.other.object.jsx, support.class.component.tsx, support.class.component.jsx, entity.name.type.tsx, entity.name.type.jsx, variable.other.object, variable.other.readwrite | #D6D6D7 | — |
| meta.object.member variable.other.readwrite, variable.other.readwrite.alias.tsx, variable.other.readwrite.tsx, variable.other.readwrite.alias.ts, variable.other.readwrite.alias.jsx, variable.other.readwrite.alias.js | #719CD6 | — |
| new.expr variable.other.object.js, source.js meta.arrow.js meta.block.js | #C94F6D | — |
| variable.other.property, variable.other.object.property | #FFEE80 | — |
| JSXNested | #FFFFFF | — |
| variable.parameter | #63CDCF | — |
| variable.parameter.keyframe-list.css | #CDCECF | — |
| variable.parameter.function.language.special.self.python | #CDCECF | — |
| meta.function-call.python, meta.function-call.generic.python, support.function.builtin.python | #FAD000 | — |
| source.ts entity.name.type | #80FFBB | — |
| source.ts keyword | #FAD000 | — |
| source.ts punctuation.definition.parameters | #E1EFFF | — |
| meta.arrow.ts punctuation.definition.parameters | #FFEE80 | — |
| source.ts storage | #9EFFFF | — |
| entity.name.section.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #FAD000 | bold |
| markup.inserted.diff, punctuation.definition.inserted.diff | #8efa00 | — |
| markup.deleted.diff, punctuation.definition.deleted.diff | #F16E6B | — |
| meta.embedded.block.diff | #FFFFFF | — |
| meta.paragraph.markdown | #FFFFFF | — |
| punctuation.definition.from-file.diff, meta.diff.header.from-file | #B362FF | — |
| markup.inline.raw.string.markdown | #A599E9 | — |
| beginning.punctuation.definition.quote.markdown | #FAD000 | — |
| markup.quote.markdown meta.paragraph.markdown, punctuation.definition.quote.begin.markdown | #A599E9 | — |
| meta.separator.markdown | #FAD000 | — |
| markup.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
| beginning.punctuation.definition.list.markdown, punctuation.definition.list.begin.markdown, markup.list.unnumbered.markdown | #FAD000 | — |
| string.other.link.description.title.markdown punctuation.definition.string.markdown, meta.link.inline.markdown string.other.link.description.title.markdown, string.other.link.description.title.markdown punctuation.definition.string.begin.markdown, string.other.link.description.title.markdown punctuation.definition.string.end.markdown, meta.image.inline.markdown string.other.link.description.title.markdown | #81B29A | |
| meta.link.inline.markdown string.other.link.title.markdown, meta.link.reference.markdown string.other.link.title.markdown, meta.link.reference.def.markdown markup.underline.link.markdown | #FAD000 | underline |
| markup.underline.link.markdown, string.other.link.description.title.markdown | #A599E9 | — |
| fenced_code.block.language, markup.inline.raw.markdown | #9EFFFF | — |
| punctuation.definition.markdown, punctuation.definition.raw.markdown, punctuation.definition.heading.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #494685 | — |
| meta.link.inline.markdown punctuation.definition.string.begin.markdown, meta.link.inline.markdown punctuation.definition.string.end.markdown, meta.link.reference.markdown punctuation.definition.string.begin.markdown, meta.link.reference.markdown punctuation.definition.string.end.markdown, string.other.link.description.markdown | #FAD000 | — |
| meta.image.inline.markdown punctuation.definition.string.begin.markdown, meta.image.inline.markdown punctuation.definition.string.end.markdown, string.other.link.description.markdown | #FF9D00 | — |
| markup.underline.link.markdown, punctuation.definition.metadata.markdown, markup.underline.link.image.markdown, constant.other.reference.link.markdown, punctuation.definition.constant.markdown, punctuation.definition.constant.begin.markdown, punctuation.definition.constant.end.markdown | #A599E9 | — |
| text.jade entity.name | #9EFFFF | — |
| storage.type.function.pug | #FF9D00 | — |
| variable.parameter.function.js | #9EFFFF | — |
| variable.control.import.include.pug | #92FC79 | — |
| text.jade string.interpolated | #FFEE80 | — |
| storage.type.cs | #9EFFFF | — |
| entity.name.variable.property.cs | #9EFFFF | — |
| storage.modifier.cs | #80FFBB | — |
| source.php entity, variable.other.class.php | #9EFFFF | — |
| keyword.other.phpdoc.php | #FF9D00 | — |
| entity.name.function.php, support.function.basic_functions.php, meta.function-call.php, variable.other.property | #719CD6 | — |
| variable.other.php, punctuation.definition.variable.php, variable.other.global.php, variable.language.this.php | #9EFFFF | — |
| storage.modifier.php, keyword.other.namespace.php | #FF9D00 | — |
| entity.name.tag.yaml | #FAD000 | — |
| punctuation.definition.block.sequence.item.yaml | #E1EFFF | — |
| storage.type.function.php, meta.function.parameters.php | #FB94FF | — |
| keyword.blade | #FF9D00 | — |
| begin.bracket.round.blade.php, end.bracket.round.blade.php | #E1EFFF | — |
| support.function.construct.begin.blade, support.function.construct.end.blade | #FFEE80 | — |
| keyword.package.go, keyword.import.go | #FF9D00 | — |
| keyword.function.go | #FB94FF | — |
| variable.other.assignment.go | #9EFFFF | — |
| punctuation.definition.string.begin.go, punctuation.definition.string.end.go, support.function.go | #FAD000 | — |
| punctuation.section.embedded.end.ruby, punctuation.section.embedded.begin.ruby, punctuation.section.scope.begin.ruby, punctuation.section.scope.end.ruby | #FFEE80 | — |
| variable.other.constant.ruby | #80FFBB | — |
| entity.name.type.class.ruby | #FB94FF | — |
| variable.other.block.ruby, variable.other.ruby | #9EFFFF | — |
| punctuation.separator.other.ruby | #FF9D00 | — |
| keyword.other.special-method.ruby | #FFEE80 | — |
| storage.type.function.shell | #FB94FF | — |
| variable.other.special.shell, punctuation.definition.variable.shell | #FF9D00 | — |
| variable.graphql | #FAEFA5 | — |
| keyword.operation.graphql | #FB94FF | — |
| source.sql | #E1EFFF | — |
| source.sql keyword.other, support.function.mysqli.php | #FAEFA5 | — |
| support.function.mysqli.php, source.sql support.function | #FAD000 | — |
| string.regexp, string.regexp keyword.other | #E1EFFF | — |
| keyword.other.DML.sql | #FF9D00 | — |
| punctuation.definition.table.array.toml | #E1EFFF | — |
| entity.other.attribute-name.table.array.toml, entity.other.attribute-name.table.toml | #FF9D00 | — |
| keyword.key.toml | #FAD000 | — |
| keyword.other.special-method.dockerfile | #FAD000 | — |
| keyword.other.rust | #FF9D00 | — |
| keyword.other.fn.rust | #FB94FF | — |
| keyword.other.env | #FF9D00 | — |
| variable.other.env | #FAD000 | — |
| source.env | #E1EFFF | — |
| keyword.other.template.begin.env, keyword.other.template.end.env, keyword.operator.assignment.env | #FF9D00 | — |
| variable.object.property | #9EFFFF | — |
| string.regexp.js | #FB94FF | — |
| keyword.rainbow2 | #FF9D00 | — |
| markup.deleted | #F16E6B | — |
| markup.inserted | #8efa00 | — |
| markup.underline | — | underline |
| modifier, this, comment, storage.modifier, entity.other.attribute-name, entity.other.attribute-name.html, punctuation.definition.comment, text.html.basic entity.other, entity.other.attribute-name, markup.quote.markdown meta.paragraph.markdown, markup.italic.markdown, text.jade entity.other.attribute-name.tag, keyword.control.from, entity.other.attribute-name.tag.pug | — | italic |
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}!`;
}