Blue Quiet Light
Publisher: briancbarrowThemes in package: 1
A slightly tweaked Quiet Light themez to add more blue
A slightly tweaked Quiet Light themez to add more blue
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 | #333333 | — |
| comment, punctuation.definition.comment | #AAAAAA | italic |
| comment.block.preprocessor | #AAAAAA | |
| comment.documentation, comment.block.documentation, comment.block.documentation punctuation.definition.comment | #448C27 | — |
| invalid | #CD3131 | — |
| invalid.illegal | #660000 | — |
| keyword.operator | #777777 | — |
| keyword, storage | #4B69C6 | — |
| storage.type, support.type | #7A3E9D | — |
| constant.language, support.constant, variable.language | #9C5D27 | — |
| variable, support.variable | #7A3E9D | — |
| entity.name.function, support.function | #AA3731 | bold |
| entity.name.type, entity.name.namespace, entity.name.scope-resolution, entity.other.inherited-class, support.class | #7A3E9D | bold |
| entity.name.exception | #660000 | — |
| entity.name.section | — | bold |
| constant.numeric, constant.character, constant | #9C5D27 | — |
| string | #448C27 | — |
| constant.character.escape | #777777 | — |
| string.regexp | #4B69C6 | — |
| constant.other.symbol | #9C5D27 | — |
| punctuation | #777777 | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html | #AAAAAA | — |
| meta.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #91B3E0 | — |
| entity.name.tag | #4B69C6 | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #8190A0 | italic |
| constant.character.entity, punctuation.definition.entity | #9C5D27 | — |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css | #7A3E9D | — |
| meta.property-name, support.type.property-name | #9C5D27 | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #448C27 | — |
| keyword.other.important | — | bold |
| markup.changed | #000000 | — |
| markup.deleted | #000000 | — |
| markup.italic | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.error | #660000 | — |
| markup.inserted | #000000 | — |
| meta.link | #4B69C6 | — |
| markup.output, markup.raw | #777777 | — |
| markup.prompt | #777777 | — |
| markup.heading | #AA3731 | — |
| markup.bold | — | bold |
| markup.traceback | #660000 | — |
| markup.underline | — | underline |
| markup.quote | #7A3E9D | — |
| markup.list | #4B69C6 | — |
| markup.bold, markup.italic | #448C27 | — |
| markup.inline.raw | #9C5D27 | |
| meta.diff.range, meta.diff.index, meta.separator | #434343 | — |
| meta.diff.header.from-file, punctuation.definition.from-file.diff | #4B69C6 | — |
| meta.diff.header.to-file, punctuation.definition.to-file.diff | #4B69C6 | — |
| markup.deleted.diff | #C73D20 | — |
| markup.changed.diff | #9C5D27 | — |
| markup.inserted.diff | #448C27 | — |
| punctuation.definition.tag.js, punctuation.definition.tag.begin.js, punctuation.definition.tag.end.js | #91B3E0 | — |
| meta.jsx.children.js | #333333 | — |
| support.function | — | italic |
| entity.name.function | #1B47CB | bold |
| ref.matchtext | #000000 | — |
| token.info-token | #316BCD | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #CD3131 | — |
| token.debug-token | #800080 | — |
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}!`;
}