Musty Theme
Publisher: Mustafa AlotbahThemes in package: 1
A vibrant rich dark theme for Visual Studio Code.
A vibrant rich dark theme for Visual Studio 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 | #808080 | italic |
| keyword.other.documentation, storage.type.class.doxygen, comment.block.documentation keyword.other, comment.block.documentation storage.type.class | #b3b8bd | italic |
| keyword | #E29BFF | — |
| keyword.operator | #afb9c3 | — |
| storage | #E29BFF | — |
| string | #80b86a | — |
| number | #41C7FF | — |
| variable.parameter | #61afe1 | — |
| entity.name.function | #FFD166 | — |
| support.function | #FFD166 | — |
| constant.language | #80b86a | — |
| constant.numeric | #41C7FF | — |
| support.constant | #80b86a | — |
| support.type | #f58a95 | — |
| variable.other.property | #f58a95 | — |
| entity.name.class | #80b86a | — |
| meta.class.identifier entity.name.type, meta.class.identifier.java entity.name.type.class.java, meta.class.java meta.class.identifier | #41C7FF | — |
| meta.import storage.type | #9D9D9D | — |
| meta.import entity.name.type | #9D9D9D | — |
| entity.name.namespace | #E29BFF | italic |
| entity.name.scope-resolution | #80b86a | — |
| entity.name.section | #80b86a | — |
| entity.name.tag | #f58a95 | — |
| entity.name.label | #80b86a | — |
| entity.name.function-call | #FFD166 | — |
| entity.other.attribute-name | #FFD166 | — |
| markup.heading | #80b86a | — |
| markup.bold | #80b86a | bold |
| markup.italic | #80b86a | italic |
| markup.list | #80b86a | — |
| markup.quote | #80b86a | — |
| markup.raw | #80b86a | — |
| markup.deleted | #ff5c7c | — |
| markup.inserted | #80b86a | — |
| markup.changed | #80b86a | — |
| markup.ignored | #80b86a | — |
| markup.untracked | #80b86a | — |
| markup.underline | #80b86a | underline |
| markup.underline.link | #61afe1 | underline |
| markup.underline.link.image | #61afe1 | underline |
| markup.underline.link.reference | #61afe1 | underline |
| markup.underline.link.reference.definition | #61afe1 | underline |
| markup.bold.markdown | #80b86a | bold |
| markup.italic.markdown | #80b86a | italic |
| markup.raw.block.markdown | #80b86a | — |
| markup.raw.inline.markdown | #80b86a | — |
| markup.separator.markdown | #80b86a | — |
| source.gfm | #afb9c3 | — |
| source.gfm.embedded | #afb9c3 | — |
| source.gfm.embedded.html | #afb9c3 | — |
| source.gfm.embedded.python | #afb9c3 | — |
| source.gfm.embedded.python text.html.basic | #afb9c3 | — |
| source.gfm.embedded.python text.html.basic source.python | #afb9c3 | — |
| source.gfm.embedded.python text.html.basic source.python keyword.control.flow.python | #E29BFF | — |
| text | #afb9c3 | — |
| text source | #afb9c3 | — |
| text source text.html | #afb9c3 | — |
| text source text.html.basic | #afb9c3 | — |
| text source text.html.basic source | #afb9c3 | — |
| text source text.html.basic source keyword | #E29BFF | — |
| text source text.html.basic source keyword.control | #E29BFF | — |
| text source text.html.basic source keyword.operator | #E29BFF | — |
| text source text.html.basic source keyword.other | #E29BFF | — |
| text source text.html.basic source keyword.other.unit | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.operator | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value punctuation.definition.rgb-value | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value punctuation.definition.rgb-value.begin | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value punctuation.definition.rgb-value.end | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css punctuation.definition.property-value | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css punctuation.definition.property-value.begin | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css punctuation.definition.property-value.end | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css punctuation.definition.property-value | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css punctuation.definition.property-value.begin | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css punctuation.definition.property-value.end | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css punctuation.definition.property-value | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css punctuation.definition.property-value.begin | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css punctuation.definition.property-value.end | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css punctuation.definition.property-value | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css punctuation.definition.property-value.begin | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css punctuation.definition.property-value.end | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css punctuation.definition.property-value | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css punctuation.definition.property-value.begin | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css punctuation.definition.property-value.end | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css punctuation.definition.property-value | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css punctuation.definition.property-value.begin | #E29BFF | — |
| text source text.html.basic source keyword.other.unit.css keyword.other.rgb-value meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css meta.property-value.css punctuation.definition.property-value.end | #E29BFF | — |
| text source text.html.basic punctuation.definition.tag.begin | #E29BFF | — |
| text source text.html.basic punctuation.definition.tag.end | #E29BFF | — |
| text source text.html.basic punctuation.definition.tag.html | #E29BFF | — |
| storage.type.annotation.java, meta.declaration.annotation.java storage.type.annotation.java | #c78fff | italic |
| punctuation.definition.annotation.java, punctuation.definition.annotation | #e7d1ff | — |
| meta.method.return-type.java storage.type.java, meta.method.return-type.java | #E29BFF | bold |
| meta.declaration.annotation.java variable.other.object.property.java, meta.annotation.java variable.other.object.property.java, meta.declaration.annotation.java variable.other.object.property, meta.annotation.java variable.other.object.property | #f58a95 | — |
| meta.import.java, storage.modifier.import.java | #896c95 | — |
| keyword.other.import.java | #896c95 | italic |
| meta.import.java storage.modifier.java | #896c95 | italic |
| meta.import.java, storage.modifier.import.java | #896c95 | italic |
| meta.class.java meta.class.body.java entity.name.type | #8baade | — |
| support.function.commandProperty.cmake | #36BEFF | italic |
| string.unquoted.cmake | #80b86a | — |
| source.cmake, support.function.cmake | #FFD166 | — |
| source.cmake, variable.other.cmake | #c1c1c1 | — |
| source.cmake, entity.name.function.cmake | #80b86a | — |
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}!`;
}