Lumen Themes
Publisher: thousightThemes in package: 2
A minimal, clean, and high-tech VSCode theme with monochromatic Dark and Warm Paper Light variants.
A minimal, clean, and high-tech VSCode theme with monochromatic Dark and Warm Paper Light variants.
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 |
|---|---|---|
| support.type.property-name.json, punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json, support.type.property-name.css, support.type.vendored.property-name.css, keyword.other.definition.ini, entity.other.attribute-name.html, entity.other.attribute-name.xml, entity.other.attribute-name.localname.xml, entity.other.attribute-name.namespace.xml, entity.other.attribute-name.js, entity.other.attribute-name.jsx, entity.other.attribute-name.tsx, variable.other.property.js, variable.other.property.ts, variable.other.property.tsx, variable.object.property.js, variable.object.property.ts, variable.object.property.tsx, support.type.property-name.js, support.type.property-name.ts, support.type.property-name.tsx, meta.object-literal.key.js, meta.object-literal.key.js string.quoted, meta.object-literal.key.js punctuation.definition.string, meta.object-literal.key.ts, meta.object-literal.key.ts string.quoted, meta.object-literal.key.ts punctuation.definition.string, meta.object-literal.key.tsx, meta.object-literal.key.tsx string.quoted, meta.object-literal.key.tsx punctuation.definition.string, support.type.property-name.toml, variable.other.env | #7eb6f6 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.name.section.group-title.ini, support.type.property-name.table.toml, support.type.property-name.array.toml | #f54e00 | — |
| support.constant.property-value.css, source.css support.constant.color, support.constant.font-name.css, constant.character.escape.json, constant.character.escape.toml, constant.character.escape.env | #c594c5 | — |
| keyword.operator.assignment.env, punctuation.eq.toml | #a0a0a0 | — |
| keyword.control, keyword.control.flow, keyword.control.conditional, keyword.control.loop, keyword.control.import, keyword.control.from, keyword.control.trycatch, storage.type, storage.modifier, entity.name.tag, punctuation.definition.tag, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded, punctuation.definition.variable.php, punctuation.definition.variable.shell, punctuation.section.bracket.shell | #f54e00 | — |
| variable.function, entity.name.function, meta.function-call, support.function, entity.name.function.preprocessor, keyword.other.special-method, punctuation.definition.macro.rust, entity.name.function.macro.rust | #7eb6f6 | — |
| string, punctuation.definition.string, punctuation.definition.string.begin, punctuation.definition.string.end | #99c794 | — |
| constant.numeric, constant.language, constant.other, variable.other.constant, variable.other.enummember | #c594c5 | — |
| comment, punctuation.definition.comment | #909090 | — |
| punctuation.separator, punctuation.terminator, punctuation.bracket, punctuation.section, meta.brace, meta.bracket, meta.paren, punctuation.accessor | #a0a0a0 | — |
| meta.decorator, punctuation.decorator, storage.type.annotation, entity.name.type.annotation, meta.attribute.rust | #909090 | — |
| entity.name.section.markdown, punctuation.definition.heading.markdown | #f54e00 | bold |
| punctuation.definition.list.begin.markdown, markup.list.numbered.markdown, markup.list.unnumbered.markdown | #7eb6f6 | — |
| markup.quote.markdown, punctuation.definition.quote.begin.markdown | #99c794 | — |
| markup.inline.raw.markdown, markup.fenced_code.block.markdown, punctuation.definition.raw.markdown | #c594c5 | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.heading | #f54e00 | bold |
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}!`;
}