FullSpectrum Theme
Publisher: FullSpectrum TechThemes in package: 6
A vibrant dark theme inspired by the FullSpectrum Creative Software Design, combining modern aesthetics with blockchain-inspired gradients and a bold developer-first color palette.
A vibrant dark theme inspired by the FullSpectrum Creative Software Design, combining modern aesthetics with blockchain-inspired gradients and a bold developer-first color 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 |
|---|---|---|
| comment, punctuation.definition.comment | #7A5C4C | italic |
| keyword, storage.type, storage.modifier, keyword.control, keyword.other | #9C6DD1 | bold |
| storage.type.annotation, meta.annotation, punctuation.definition.annotation | #55C8C1 | bold |
| entity.name.annotation.springframework, entity.name.annotation.spring, meta.annotation.springframework | #CFCB92 | bold |
| meta.import, keyword.control.import, support.other.package | #3C4185 | — |
| string, constant.other.symbol, markup.quote | #DD6E50 | — |
| constant.numeric, constant.language, constant.character | #C27B3E | — |
| entity.name.function, meta.function, meta.function-call, support.function | #9E7ADF | — |
| entity.name.type.class, support.class, meta.class, entity.name.type.interface, entity.name.type.enum | #8266DC | bold |
| support.type, entity.name.type, storage.type.object | #D5C97B | — |
| variable, meta.definition.variable, support.variable | #55C8C1 | — |
| variable.other.property, support.variable.property | #B58FE0 | — |
| punctuation, keyword.operator | #DADADA | — |
| entity.name.tag.yaml, support.type.property-name.yaml | #D5C97B | — |
| entity.name.tag.xml, meta.tag.xml, punctuation.definition.tag.xml | #DD6E50 | — |
| meta.key.properties, support.type.property-name | #C27B3E | — |
| entity.other.attribute-name.html, entity.name.tag, meta.tag, punctuation.definition.tag | #55C8C1 | — |
| support.type.property-name.css | #D5C97B | — |
| support.constant.property-value.css | #B58FE0 | — |
| markup.heading.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #9E7ADF | bold |
| markup.italic.markdown | #DADADA | italic |
| markup.bold.markdown | #ECECEC | bold |
| markup.quote.markdown | #7A5C4C | italic |
| markup.inline.raw.markdown, markup.fenced_code.block.markdown | #DD6E50 | italic |
| markup.list.markdown | #C27B3E | — |
| string.other.link.title.markdown | #55C8C1 | — |
| markup.underline.link.markdown | #B58FE0 | underline |
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}!`;
}