Nekhbet Dark Theme
Publisher: inamdarminazThemes in package: 1
A mordern contrasting theme for Visual Studio Code.
A mordern contrasting theme for Visual Studio Code.
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 |
|---|---|---|
| keyword, storage.type.class, storage.type, variable.language | #f62c7e | — |
| keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.ternary, keyword.operator.logical, keyword.operator.comparison | #00ea00 | — |
| entity.name.function., support.class.builtin, support.function | #00e0e0 | — |
| string.quoted | #bb86fc | — |
| entity.name.tag.js, entity.name.tag.html, entity.name.tag.css, punctuation.definition.tag, support.class.component.js | #f9a891 | — |
| comment | #FFAA71 | — |
| variable.other.constant.js | #f9b6b6 | — |
| invalid | #f44542 | — |
| source.js storage.type.function | #fb94ff | — |
| entity.name.type.class.js | #ffec3d | — |
| entity.other.inherited-class.js | #ccc | — |
| source.css entity, source.stylus entity | #ff8cae | — |
| entity.other.attribute-name.id.css | #ffb554e7 | — |
| entity.name.tag | #9effffe7 | — |
| source.css support, source.stylus support | #d39cd6 | — |
| source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant | #c1f6f2 | — |
| source.css string, source.css punctuation.definition.string, source.stylus string, source.stylus punctuation.definition.string | #ffee80e3 | — |
| source.css variable, source.stylus variable | #9effffea | — |
| modifier, this, comment, storage.modifier.js, entity.other.attribute-name.js, entity.other.attribute-name.html | — | italic |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}
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}!`;
}