NovaTheme - Swazlll Edition
A collection of dark themes for VS Code: Ocean, Midnight, Neon, Aurora, Coral, Storm, Forest, Dracula, Synthwave, Matrix, Ember, Sakura, Monochrome, and Abyss.
A collection of dark themes for VS Code: Ocean, Midnight, Neon, Aurora, Coral, Storm, Forest, Dracula, Synthwave, Matrix, Ember, Sakura, Monochrome, and Abyss.
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, comment.line, comment.block, comment.block.documentation | #1a4a44 | italic |
| string, string.quoted, string.quoted.single, string.quoted.double, string.template | #80e0ff | — |
| constant.character.escape | #8877ff | — |
| string.regexp | #ffbb88 | — |
| keyword, keyword.control, keyword.control.flow, keyword.control.return, keyword.control.conditional, keyword.control.loop, keyword.control.import, keyword.control.from, keyword.control.export | #00ddaa | — |
| keyword.operator | #44ffdd | — |
| storage.type, storage.type.function, storage.type.class, storage.type.let, storage.type.const, storage.type.var | #00ddaa | — |
| storage.modifier, storage.modifier.async, storage.modifier.static | #00ffcc | italic |
| entity.name.function, entity.name.function.member | #00ffcc | — |
| meta.function-call, support.function | #00ffcc | — |
| support.function.builtin, support.function.magic | #8877ff | — |
| variable, variable.other, variable.other.readwrite | #c0e8e8 | — |
| variable.parameter | #e0f8f8 | italic |
| variable.language, variable.language.this | #8877ff | italic |
| entity.name.type, entity.name.class, entity.name.interface, entity.name.enum | #a0eeff | — |
| constant.numeric | #ff9966 | — |
| constant.language, constant.language.boolean, constant.language.null | #44ffdd | — |
| meta.decorator, entity.name.function.decorator | #8877ff | italic |
| entity.name.tag | #00ddaa | — |
| entity.other.attribute-name | #80e0ff | — |
| support.type.property-name | #80e0ff | — |
| punctuation, punctuation.separator, punctuation.terminator | #80c0c0 | — |
| entity.name.namespace, entity.name.module | #80e0ff | — |
| markup.heading | #00ddaa | bold |
| invalid, invalid.illegal | #ff5566 | — |
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, comment.line, comment.block | #2d5a4a | italic |
| string, string.quoted, string.template | #7fffd4 | — |
| constant.character.escape | #ff79c6 | — |
| string.regexp | #ffd166 | — |
| keyword, keyword.control, storage.type | #00ffa3 | — |
| storage.modifier | #00d4aa | italic |
| keyword.operator | #64dfb4 | — |
| entity.name.function, support.function | #20c997 | — |
| support.function.builtin, support.function.magic | #ff6b9d | — |
| variable, variable.other | #a8e6cf | — |
| variable.parameter | #c8ddd5 | italic |
| variable.language | #ff6b9d | italic |
| entity.name.type, entity.name.class, support.class, support.type | #00d4aa | — |
| entity.name.type.interface | #7fffd4 | italic |
| constant.numeric | #ff79c6 | — |
| constant.language | #ff79c6 | italic |
| constant, constant.other | #ffd166 | — |
| entity.name.function.decorator, meta.decorator, storage.type.annotation | #ff79c6 | italic |
| entity.name.tag | #00ffa3 | — |
| entity.other.attribute-name | #00d4aa | — |
| support.type.property-name.css | #20c997 | — |
| support.type.property-name.json | #00d4aa | — |
| markup.heading | #00ffa3 | bold |
| markup.underline.link | #00ffa3 | underline |
| invalid | #ff6b9d | strikethrough |
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, comment.line, comment.block | #5a3020 | italic |
| string, string.quoted, string.template | #ffd166 | — |
| constant.character.escape | #ef476f | — |
| string.regexp | #ff8c42 | — |
| keyword, keyword.control, storage.type | #ff6b35 | — |
| storage.modifier | #ff8c42 | italic |
| keyword.operator | #ffaa80 | — |
| entity.name.function, support.function | #ef476f | — |
| support.function.builtin, support.function.magic | #ff4d6d | — |
| variable, variable.other | #f9c5b0 | — |
| variable.parameter | #f0d5c8 | italic |
| variable.language | #ff4d6d | italic |
| entity.name.type, entity.name.class, support.class, support.type | #ff8c42 | — |
| entity.name.type.interface | #06d6a0 | italic |
| constant.numeric | #06d6a0 | — |
| constant.language | #06d6a0 | italic |
| constant, constant.other | #ffb347 | — |
| entity.name.function.decorator, meta.decorator, storage.type.annotation | #ff4d6d | italic |
| entity.name.tag | #ff6b35 | — |
| entity.other.attribute-name | #ff8c42 | — |
| support.type.property-name.css | #ef476f | — |
| support.type.property-name.json | #ff8c42 | — |
| markup.heading | #ff6b35 | bold |
| markup.underline.link | #ff8c42 | underline |
| invalid | #ff4d6d | strikethrough |
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, comment.line, comment.block, comment.block.documentation | #6272a4 | italic |
| string, string.quoted, string.quoted.single, string.quoted.double, string.template | #f1fa8c | — |
| constant.character.escape | #ff79c6 | — |
| string.regexp | #ffb86c | — |
| keyword, keyword.control, keyword.control.flow, keyword.control.return, keyword.control.conditional, keyword.control.loop, keyword.control.trycatch, keyword.control.import, keyword.control.from, keyword.control.export, keyword.control.default | #ff79c6 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.arithmetic, keyword.operator.type, keyword.operator.new | #ff79c6 | — |
| storage.type, storage.type.function, storage.type.class, storage.type.let, storage.type.const, storage.type.var | #ff79c6 | — |
| storage.modifier, storage.modifier.async, storage.modifier.static, storage.modifier.abstract | #bd93f9 | italic |
| entity.name.function, entity.name.function.member, meta.definition.method entity.name.function | #50fa7b | — |
| meta.function-call, meta.function-call entity.name.function, support.function | #50fa7b | — |
| support.function.builtin, support.function.console, support.function.magic | #8be9fd | — |
| variable, variable.other, variable.other.readwrite, variable.other.local | #f8f8f2 | — |
| variable.other.constant, variable.other.constant.property | #f8f8f2 | — |
| variable.parameter | #ffb86c | italic |
| variable.language, variable.language.this, variable.language.self | #bd93f9 | italic |
| entity.name.type, entity.name.class, entity.name.interface, entity.name.struct, entity.name.enum | #cfc3ff | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float | #bd93f9 | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined | #bd93f9 | — |
| meta.decorator, entity.name.function.decorator | #ff79c6 | italic |
| entity.name.tag | #ff79c6 | — |
| entity.other.attribute-name | #50fa7b | — |
| support.type.property-name | #8be9fd | — |
| punctuation, punctuation.separator, punctuation.terminator | #f8f8f2 | — |
| entity.name.namespace, entity.name.module | #8be9fd | — |
| markup.heading, entity.name.section.markdown | #bd93f9 | bold |
| markup.bold | #f8f8f2 | bold |
| markup.italic | #8be9fd | italic |
| markup.inline.raw | #f1fa8c | — |
| invalid, invalid.illegal | #ff5555 | — |
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}!`;
}