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 | #6a4a30 | italic |
| keyword, storage.type, storage.modifier | #ff9933 | — |
| keyword.control, keyword.operator | #ffaa44 | — |
| string, string.quoted | #cc8833 | — |
| constant.numeric, constant.language | #ee9955 | — |
| constant.character.escape | #ffbb66 | — |
| entity.name.function, support.function | #ffaa44 | — |
| entity.name.class, entity.name.type, support.class | #ffb366 | — |
| variable, variable.other | #f4a460 | — |
| variable.parameter | #d4915a | — |
| entity.name.tag | #ff9933 | — |
| entity.other.attribute-name | #dd9944 | — |
| support.type.property-name | #eebb66 | — |
| markup.heading | #ff9933 | bold |
| markup.bold | #ffaa44 | bold |
| markup.italic | #dd8844 | italic |
| markup.underline | — | underline |
| markup.inline.raw | #cc8833 | — |
| punctuation.definition.tag | #6a4a30 | — |
| meta.function-call | #ffaa44 | — |
| invalid | #cc5522 | — |
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 | #47667a | italic |
| keyword, storage.type, storage.modifier | #b9cfe0 | — |
| keyword.control, keyword.operator | #b9cfe0 | — |
| string, string.quoted | #69e6d0 | — |
| constant.numeric, constant.language | #69d4e6 | — |
| constant.character.escape | #b9cfe0 | — |
| entity.name.function, support.function | #5fb0bf | — |
| entity.name.class, entity.name.type, support.class | #7dcfff | — |
| variable, variable.other | #c5e5f5 | — |
| variable.parameter | #9fc8d9 | — |
| entity.name.tag | #78c0e0 | — |
| entity.other.attribute-name | #b9cfe0 | — |
| support.type.property-name | #5fb0bf | — |
| markup.heading | #5fb0bf | bold |
| markup.bold | #7dcfff | bold |
| markup.italic | #b9cfe0 | italic |
| markup.underline | — | underline |
| markup.inline.raw | #69e6d0 | — |
| punctuation.definition.tag | #47667a | — |
| meta.function-call | #5fb0bf | — |
| invalid | #78c0e0 | — |
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 | #445566 | italic |
| keyword, storage.type, storage.modifier | #c792ea | italic |
| keyword.control | #c792ea | italic |
| keyword.operator | #56d4c9 | |
| keyword.operator.new, keyword.other.new | #c792ea | italic |
| string, string.quoted, string.template | #c3e88d | — |
| string.regexp | #f47868 | — |
| constant.numeric, constant.language, constant.other | #f4bf75 | — |
| constant.character.escape | #56d4c9 | — |
| variable.language.this, variable.language.super | #f47868 | italic |
| variable, variable.other.readwrite | #cdd9e5 | — |
| variable.other.constant | #f4bf75 | — |
| variable.parameter | #adbac7 | italic |
| entity.name.function, meta.function-call.generic | #56d4c9 | bold |
| support.function, support.function.builtin | #56d4c9 | — |
| meta.function-call | #56d4c9 | — |
| entity.name.class, entity.name.type.class, support.class | #f4bf75 | bold |
| entity.name.type, entity.other.inherited-class | #f4bf75 | — |
| support.type, support.type.builtin | #6eb6de | — |
| entity.name.namespace, entity.name.module | #c792ea | — |
| entity.name.tag | #f47868 | — |
| entity.other.attribute-name | #f4bf75 | italic |
| support.type.property-name, meta.object-literal.key | #6eb6de | — |
| punctuation, meta.brace | #5a7a8a | — |
| punctuation.definition.tag | #3a5a6a | — |
| punctuation.separator, punctuation.terminator | #5a7a8a | — |
| storage.type.function | #c792ea | italic |
| storage.type.arrow, storage.type.function.arrow | #56d4c9 | — |
| import, meta.import, keyword.control.import, keyword.control.from | #c792ea | italic |
| markup.heading | #56d4c9 | bold |
| markup.bold | #f4bf75 | bold |
| markup.italic | #c792ea | italic |
| markup.underline | #6eb6de | underline |
| markup.inline.raw, markup.fenced_code.block | #c3e88d | — |
| markup.list | #cdd9e5 | — |
| markup.quote | #8b9eb5 | italic |
| meta.decorator, punctuation.decorator | #f4bf75 | italic |
| invalid | #f47868 | underline |
| invalid.deprecated | #f4bf75 | italic underline |
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 | #5c6773 | italic |
| keyword, storage.type, storage.modifier | #ff8f40 | bold |
| keyword.control, keyword.operator | #ff8f40 | bold |
| string, string.quoted | #7fd962 | — |
| constant.numeric, constant.language | #ffcc66 | — |
| constant.character.escape | #95e179 | — |
| entity.name.function, support.function | #59c2ff | bold |
| entity.name.class, entity.name.type, support.class | #ffdf80 | bold |
| variable, variable.other | #e6eaf0 | — |
| variable.parameter | #d4bfff | — |
| entity.name.tag | #ff8b92 | bold |
| entity.other.attribute-name | #ffcc66 | — |
| support.type.property-name | #73d0ff | — |
| markup.heading | #59c2ff | bold |
| markup.bold | #ffdf80 | bold |
| markup.italic | #d4bfff | italic |
| markup.underline | — | underline |
| markup.inline.raw | #7fd962 | — |
| punctuation.definition.tag | #8ca0b3 | — |
| meta.function-call | #59c2ff | — |
| invalid | #f07178 | 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}!`;
}
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}!`;
}