FectionLabs Themes
Publisher: FectionLabsThemes in package: 12
FectionLabs branded color themes — 12 variants for VS Code, Cursor, Windsurf, VSCodium, Trae, Antigravity IDE, and other VS Code-compatible editors.
FectionLabs branded color themes — 12 variants for VS Code, Cursor, Windsurf, VSCodium, Trae, Antigravity IDE, and other VS Code-compatible editors.
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 | #6B9080 | italic |
| string, punctuation.definition.string, constant.other.symbol | #A8E6CF | — |
| constant.numeric, constant.language | #B5E48C | — |
| keyword, keyword.control, keyword.operator.new | #74C69D | bold |
| variable, variable.other, variable.parameter | #F1FAF4 | — |
| entity.name.function, support.function, meta.function-call | #B7E4C7 | bold |
| punctuation, meta.brace | #8FA89A | — |
| storage.type, storage.modifier | #52B788 | — |
| entity.name.type, entity.other.inherited-class, support.type | #D4A853 | — |
| entity.name.tag, punctuation.definition.tag | #74C69D | — |
| entity.other.attribute-name | #A8C5A0 | — |
| markup.heading | #D4A853 | bold |
| markup.bold | #F1FAF4 | bold |
| markup.italic | #95D5B2 | italic |
| constant.character.escape | #D4A853 | — |
| invalid, invalid.illegal | #E07A7A | 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}!`;
}