Buzzokai Dimmed
Publisher: HRIDOY-BUZZThemes in package: 8
A collection of dark, dimmed and eye-comforting VS Code color themes for better productivity. Easily switch between themes by typing 'buzzokai' in the Command Palette.
A collection of dark, dimmed and eye-comforting VS Code color themes for better productivity. Easily switch between themes by typing 'buzzokai' in the Command Palette.
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python | #F8F8F2CF | — |
| variable.object, variable.other.object | #9bbbff | — |
| comment | #88846F | italic |
| string | #e6db74bf | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #F92672CF | — |
| meta.template.expression | #F8F8F2CF | — |
| constant.numeric | #AE81FFCF | — |
| constant.language | #AE81FFCF | — |
| constant.character, constant.other | #AE81FFCF | — |
| variable | #F8F8F2CF | |
| keyword | #F92672CF | — |
| storage | #F92672CF | |
| storage.type | #66D9EFCF | italic |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution | #A6E22EBF | underline |
| entity.other.inherited-class | #A6E22EBF | italic underline |
| entity.name.function | #A6E22EBF | |
| variable.parameter | #FD971FCF | italic |
| entity.name.tag | #F92672CF | |
| entity.other.attribute-name | #A6E22EBF | |
| support.function | #66D9EFCF | |
| support.constant | #66D9EFCF | |
| support.type, support.class | #66D9EFCF | italic |
| support.other.variable | — | |
| invalid | #F44747CF | |
| invalid.deprecated | #F44747CF | — |
| meta.structure.dictionary.json string.quoted.double.json | #CFCFC2 | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #F92672CF | — |
| markup.inserted | #A6E22EBF | — |
| markup.changed | #e6db74bf | — |
| constant.numeric.line-number.find-in-files - match | #AE81FFA0 | — |
| entity.name.filename.find-in-files | #e6db74bf | — |
| markup.quote | #F92672CF | — |
| markup.list | #e6db74bf | — |
| markup.bold, markup.italic | #66D9EFCF | — |
| markup.inline.raw | #FD971FCF | |
| markup.heading | #A6E22EBF | — |
| markup.heading.setext | #A6E22EBF | bold |
| markup.heading.markdown | — | bold |
| markup.quote.markdown | #75715E | italic |
| markup.bold.markdown | — | bold |
| string.other.link.title.markdown,string.other.link.description.markdown | #AE81FFCF | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #e6db74bf | — |
| markup.italic.markdown | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.list.unnumbered.markdown, markup.list.numbered.markdown | #F8F8F2CF | — |
| punctuation.definition.list.begin.markdown | #A6E22EBF | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747CF | — |
| token.debug-token | #B267E6 | — |
| variable.language | #FD971FCF | — |
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}!`;
}