Smit Dark Theme
A comprehensive dark theme collection with 24 unique variants including the new Aurora Velvet daily-driver theme - from minimal to cyberpunk, soft to high-contrast!
A comprehensive dark theme collection with 24 unique variants including the new Aurora Velvet daily-driver theme - from minimal to cyberpunk, soft to high-contrast!
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 | #8b949e | italic |
| keyword, storage.type, storage.modifier | #ff7b72 | — |
| keyword.control, keyword.operator | #ff7b72 | — |
| string, string.quoted | #a5d6ff | — |
| constant.numeric, constant.language | #79c0ff | — |
| constant.character.escape | #a5d6ff | — |
| entity.name.function, support.function | #d2a8ff | — |
| entity.name.class, entity.name.type, support.class | #ffa657 | — |
| variable, variable.other | #c9d1d9 | — |
| variable.parameter | #ffa657 | — |
| entity.name.tag | #7ee787 | — |
| entity.other.attribute-name | #79c0ff | — |
| support.type.property-name | #79c0ff | — |
| markup.heading | #1f6feb | bold |
| markup.bold | #ffa657 | bold |
| markup.italic | #d2a8ff | italic |
| markup.underline | — | underline |
| markup.inline.raw | #a5d6ff | — |
| punctuation.definition.tag | #8b949e | — |
| meta.function-call | #d2a8ff | — |
| invalid | #ff7b72 | — |
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 | #7a7d8a | italic |
| keyword, storage.type, storage.modifier | #b4a0c7 | — |
| keyword.control, keyword.operator | #b4a0c7 | — |
| string, string.quoted | #a7c9a3 | — |
| constant.numeric, constant.language | #d9a7a1 | — |
| constant.character.escape | #e0c9a3 | — |
| entity.name.function, support.function | #9db4c7 | — |
| entity.name.class, entity.name.type, support.class | #adc1d4 | — |
| variable, variable.other | #c7cdd8 | — |
| variable.parameter | #c7cdd8 | — |
| entity.name.tag | #b4a0c7 | — |
| entity.other.attribute-name | #a3c9c7 | — |
| support.type.property-name | #9db4c7 | — |
| markup.heading | #9db4c7 | bold |
| markup.bold | #b4a0c7 | bold |
| markup.italic | #b4a0c7 | italic |
| markup.underline | — | underline |
| markup.inline.raw | #a7c9a3 | — |
| punctuation.definition.tag | #7a7d8a | — |
| meta.function-call | #9db4c7 | — |
| invalid | #d9a7a1 | — |
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 | #7a5d47 | italic |
| keyword, storage.type, storage.modifier | #ffb3ba | — |
| keyword.control, keyword.operator | #ffb3ba | — |
| string, string.quoted | #ffaa5a | — |
| constant.numeric, constant.language | #ffd97d | — |
| constant.character.escape | #ffb3ba | — |
| entity.name.function, support.function | #ff9f5f | — |
| entity.name.class, entity.name.type, support.class | #ffaf87 | — |
| variable, variable.other | #f5d5b8 | — |
| variable.parameter | #d9b89f | — |
| entity.name.tag | #ff6b6b | — |
| entity.other.attribute-name | #ffb3ba | — |
| support.type.property-name | #ff9f5f | — |
| markup.heading | #ff9f5f | bold |
| markup.bold | #ffaf87 | bold |
| markup.italic | #ffb3ba | italic |
| markup.underline | — | underline |
| markup.inline.raw | #ffaa5a | — |
| punctuation.definition.tag | #7a5d47 | — |
| meta.function-call | #ff9f5f | — |
| invalid | #ff6b6b | — |
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 | #6a3a7a | italic |
| keyword, storage.type, storage.modifier | #ff007a | — |
| keyword.control, keyword.operator | #ff00ff | — |
| string, string.quoted | #00ff9f | — |
| constant.numeric, constant.language | #ffd000 | — |
| constant.character.escape | #ffdd00 | — |
| entity.name.function, support.function | #00ffff | — |
| entity.name.class, entity.name.type, support.class | #0099ff | — |
| variable, variable.other | #f0d0ff | — |
| variable.parameter | #d0b0e0 | — |
| entity.name.tag | #ff007a | — |
| entity.other.attribute-name | #00ffaa | — |
| support.type.property-name | #c080d0 | — |
| markup.heading | #ff007a | bold |
| markup.bold | #ff00ff | bold |
| markup.italic | #00ffff | italic |
| markup.underline | — | underline |
| markup.inline.raw | #00ff9f | — |
| punctuation.definition.tag | #6a3a7a | — |
| meta.function-call | #00ffff | — |
| invalid | #ff006a | — |
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}!`;
}
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}!`;
}