Dark Aura Theme
Publisher: FurqanThemes in package: 1
A super dark VS Code theme with bright, vibrant syntax colors perfect for night coding sessions. Optimized for JavaScript, React, Python, and more.
A super dark VS Code theme with bright, vibrant syntax colors perfect for night coding sessions. Optimized for JavaScript, React, Python, and more.
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 | #6a9955 | italic |
| keyword, storage.type, storage.modifier, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.other.debugger | #00ffff | bold |
| string, string.quoted, string.template | #51fa7b | — |
| string.template, punctuation.definition.string.template | #8cff8c | — |
| constant.numeric, constant.language.boolean, constant.language.null, constant.language.undefined | #ffd93d | — |
| entity.name.function, meta.function-call, support.function | #ff6b6b | bold |
| variable, variable.other, variable.parameter | #74c0fc | — |
| entity.name.type, entity.name.class, support.class, entity.other.inherited-class | #ffa8a8 | bold |
| entity.name.tag.html, entity.name.tag.xml, entity.name.tag, punctuation.definition.tag.html, punctuation.definition.tag.xml, punctuation.definition.tag.begin, punctuation.definition.tag.end | #ff6f2c | bold |
| entity.name.tag.jsx, entity.name.tag.tsx, support.class.component.jsx, support.class.component.tsx, punctuation.definition.tag.jsx, punctuation.definition.tag.tsx | #ff6f2c | bold |
| entity.other.attribute-name.jsx, entity.other.attribute-name.tsx | #00ffff | — |
| entity.other.attribute-name.html | #ffd93d | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #ff6b6b | — |
| support.type.property-name.css | #74c0fc | — |
| support.constant.property-value.css, constant.numeric.css | #51fa7b | — |
| support.type.property-name.json | #74c0fc | — |
| keyword.operator, punctuation.separator, punctuation.terminator | #ff8e8e | — |
| punctuation.definition, punctuation.section, meta.brace | #c8c8d0 | — |
| keyword.control.import, keyword.control.export, keyword.control.from | #d0bfff | bold |
| constant.language, support.constant, variable.language.this | #ffd93d | 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}!`;
}