Ambience
Ambience — a curated set of atmospheric VS Code color themes, from cinema and anime to a warm amber terminal aesthetic. Ghost in the Shell, Blade Runner, Princess Mononoke, Dune, Cowboy Bebop, Her, and more.
Ambience — a curated set of atmospheric VS Code color themes, from cinema and anime to a warm amber terminal aesthetic. Ghost in the Shell, Blade Runner, Princess Mononoke, Dune, Cowboy Bebop, Her, 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 | #3a2c1c | italic |
| comment.block.documentation, comment.line.documentation | #503c28 | italic |
| string, string.quoted, string.template | #c89030 | — |
| constant.character.escape, constant.other.placeholder | #8848b8 | — |
| string.regexp, punctuation.definition.string.regexp, string.regexp.character-class | #a87030 | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #8848b8 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #d8a830 | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined | #a87030 | — |
| constant.other, constant.character | #e0c048 | — |
| variable.other.constant | #a87030 | — |
| keyword, keyword.control, keyword.control.flow | #c84848 | italic |
| keyword.operator, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.arithmetic | #c8882a | — |
| keyword.operator.logical.python, keyword.operator.wordlike | #c84848 | italic |
| keyword.operator.new, keyword.operator.delete, keyword.operator.typeof, keyword.operator.void, keyword.operator.instanceof | #4878a8 | italic |
| storage, storage.type, storage.modifier | #4878a8 | italic |
| entity.name.function, meta.function entity.name.function | #6a9038 | — |
| meta.function-call entity.name.function, meta.function-call.generic, support.function | #508028 | — |
| variable.parameter, meta.function.parameters variable.other | #b09058 | italic |
| storage.type.function.arrow | #c8882a | — |
| entity.name.class, entity.name.type.class, entity.name.type | #c89030 | — |
| entity.other.inherited-class | #b08028 | italic |
| entity.name.type.interface, support.type.interface | #c89030 | italic |
| entity.name.type.parameter, variable.type.parameter | #d8a830 | — |
| support.type, support.type.primitive, keyword.type | #c89030 | — |
| variable, variable.other, variable.other.readwrite | #c8b07a | — |
| variable.language.self, variable.language.this, variable.language.super | #a87030 | italic |
| variable.other.property, variable.other.object.property, meta.property-name, support.variable.property | #a87838 | — |
| meta.object-literal.key, meta.object.member, support.type.property-name | #906828 | — |
| punctuation, meta.brace, punctuation.separator, punctuation.terminator | #503c28 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #806020 | — |
| meta.decorator, entity.name.function.decorator, punctuation.decorator | #d8a830 | italic |
| entity.name.namespace, entity.name.module, entity.name.package | #c89030 | — |
| entity.name.tag, meta.tag.sgml | #c84848 | — |
| punctuation.definition.tag, meta.tag punctuation | #508028 | — |
| entity.other.attribute-name, meta.tag.attributes entity.other.attribute-name | #4878a8 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #4878a8 | — |
| support.type.property-name.css, meta.property-name.css | #c89030 | — |
| meta.property-value.css, support.constant.property-value.css | #c89030 | — |
| constant.other.color.rgb-value.css, keyword.other.unit.css | #d8a830 | — |
| markup.heading, entity.name.section.markdown | #c8882a | bold |
| markup.bold | #c84848 | bold |
| markup.italic | #4878a8 | italic |
| markup.inline.raw | #6a9038 | — |
| markup.underline.link | #4878a8 | underline |
| markup.quote | #503c28 | italic |
| punctuation.definition.list.begin.markdown | #c84848 | — |
| support.type.property-name.json | #c89030 | — |
| entity.name.tag.yaml | #c89030 | — |
| support.function.builtin.shell | #6a9038 | — |
| variable.other.normal.shell, variable.other.special.shell | #c8882a | — |
| invalid | #c84848 | strikethrough |
| invalid.deprecated | #a87030 | strikethrough |
| markup.inserted | #6a9038 | — |
| markup.deleted | #c84848 | — |
| markup.changed | #c8882a | — |
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 | #3c2e18 | italic |
| comment.block.documentation, comment.line.documentation | #504030 | italic |
| string, string.quoted, string.template | #c8a020 | — |
| constant.character.escape, constant.other.placeholder | #4a9ebf | — |
| string.regexp, punctuation.definition.string.regexp, string.regexp.character-class | #a88020 | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #4a9ebf | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #d8b030 | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined | #a88020 | — |
| constant.other, constant.character | #e0c048 | — |
| variable.other.constant | #a88020 | — |
| keyword, keyword.control, keyword.control.flow | #d4820a | italic |
| keyword.operator, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.arithmetic | #c8920a | — |
| keyword.operator.logical.python, keyword.operator.wordlike | #d4820a | italic |
| keyword.operator.new, keyword.operator.delete, keyword.operator.typeof, keyword.operator.void, keyword.operator.instanceof | #4a9ebf | italic |
| storage, storage.type, storage.modifier | #4a9ebf | italic |
| entity.name.function, meta.function entity.name.function | #8a9838 | — |
| meta.function-call entity.name.function, meta.function-call.generic, support.function | #6a7828 | — |
| variable.parameter, meta.function.parameters variable.other | #b09858 | italic |
| storage.type.function.arrow | #c8920a | — |
| entity.name.class, entity.name.type.class, entity.name.type | #c8a020 | — |
| entity.other.inherited-class | #b09020 | italic |
| entity.name.type.interface, support.type.interface | #c8a020 | italic |
| entity.name.type.parameter, variable.type.parameter | #d8b030 | — |
| support.type, support.type.primitive, keyword.type | #c8a020 | — |
| variable, variable.other, variable.other.readwrite | #c8b888 | — |
| variable.language.self, variable.language.this, variable.language.super | #a88020 | italic |
| variable.other.property, variable.other.object.property, meta.property-name, support.variable.property | #a89040 | — |
| meta.object-literal.key, meta.object.member, support.type.property-name | #908030 | — |
| punctuation, meta.brace, punctuation.separator, punctuation.terminator | #504030 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #806820 | — |
| meta.decorator, entity.name.function.decorator, punctuation.decorator | #d8b030 | italic |
| entity.name.namespace, entity.name.module, entity.name.package | #c8a020 | — |
| entity.name.tag, meta.tag.sgml | #d4820a | — |
| punctuation.definition.tag, meta.tag punctuation | #6a8028 | — |
| entity.other.attribute-name, meta.tag.attributes entity.other.attribute-name | #9a6820 | — |
| meta.tag.attributes string | #c8a020 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #9a6820 | — |
| support.type.property-name.css, meta.property-name.css | #c8a020 | — |
| meta.property-value.css, support.constant.property-value.css | #c8a020 | — |
| constant.other.color.rgb-value.css, keyword.other.unit.css | #d8b030 | — |
| keyword.control.at-rule.css | #d4820a | italic |
| markup.heading, entity.name.section.markdown | #d4820a | bold |
| markup.bold | #e8920c | bold |
| markup.italic | #4a9ebf | italic |
| markup.inline.raw | #8a9838 | — |
| markup.fenced_code.block | #8a9838 | — |
| markup.underline.link | #4a9ebf | underline |
| markup.quote | #504030 | italic |
| punctuation.definition.list.begin.markdown | #d4820a | — |
| support.type.property-name.json | #c8a020 | — |
| entity.name.tag.yaml | #c8a020 | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml | #d8b030 | — |
| support.function.builtin.shell | #8a9838 | — |
| variable.other.normal.shell, variable.other.special.shell | #d4820a | — |
| invalid | #c84020 | strikethrough |
| invalid.deprecated | #a88020 | strikethrough |
| markup.inserted | #8a9838 | — |
| markup.deleted | #c84020 | — |
| markup.changed | #d4820a | — |
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 | #162838 | italic |
| comment.block.documentation, comment.line.documentation | #1c3850 | italic |
| string, string.quoted, string.template | #80c0c8 | — |
| constant.character.escape, constant.other.placeholder | #b87890 | — |
| string.regexp, punctuation.definition.string.regexp, string.regexp.character-class | #a88050 | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #b87890 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #b89058 | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined | #a88050 | — |
| constant.other, constant.character | #c0a060 | — |
| variable.other.constant | #a88050 | — |
| keyword, keyword.control, keyword.control.flow | #b87890 | italic |
| keyword.operator, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.arithmetic | #80c0c8 | — |
| keyword.operator.logical.python, keyword.operator.wordlike | #80c0c8 | italic |
| keyword.operator.new, keyword.operator.delete, keyword.operator.typeof, keyword.operator.void, keyword.operator.instanceof | #9880c0 | italic |
| storage, storage.type, storage.modifier | #9880c0 | italic |
| entity.name.function, meta.function entity.name.function | #78b090 | — |
| meta.function-call entity.name.function, meta.function-call.generic, support.function | #589070 | — |
| variable.parameter, meta.function.parameters variable.other | #70a8b8 | italic |
| storage.type.function.arrow | #80c0c8 | — |
| entity.name.class, entity.name.type.class, entity.name.type | #7090b8 | — |
| entity.other.inherited-class | #5878a8 | italic |
| entity.name.type.interface, support.type.interface | #7090b8 | italic |
| entity.name.type.parameter, variable.type.parameter | #80a0c0 | — |
| support.type, support.type.primitive, keyword.type | #5878a8 | — |
| variable, variable.other, variable.other.readwrite | #88a8c0 | — |
| variable.language.self, variable.language.this, variable.language.super | #a88050 | italic |
| variable.other.property, variable.other.object.property, meta.property-name, support.variable.property | #4090a8 | — |
| meta.object-literal.key, meta.object.member, support.type.property-name | #308898 | — |
| punctuation, meta.brace, punctuation.separator, punctuation.terminator | #1c3850 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #307888 | — |
| meta.decorator, entity.name.function.decorator, punctuation.decorator | #b89058 | italic |
| entity.name.namespace, entity.name.module, entity.name.package | #5878a8 | — |
| entity.name.tag, meta.tag.sgml | #b87890 | — |
| punctuation.definition.tag, meta.tag punctuation | #4858a0 | — |
| entity.other.attribute-name, meta.tag.attributes entity.other.attribute-name | #9880c0 | — |
| meta.tag.attributes string | #80c0c8 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #9880c0 | — |
| support.type.property-name.css, meta.property-name.css | #7090b8 | — |
| meta.property-value.css, support.constant.property-value.css | #80c0c8 | — |
| constant.other.color.rgb-value.css, keyword.other.unit.css | #b89058 | — |
| keyword.control.at-rule.css | #b87890 | italic |
| markup.heading, entity.name.section.markdown | #80c0c8 | bold |
| markup.bold | #b87890 | bold |
| markup.italic | #9880c0 | italic |
| markup.inline.raw | #78b090 | — |
| markup.fenced_code.block | #78b090 | — |
| markup.underline.link | #5890a8 | underline |
| markup.quote | #1c3850 | italic |
| punctuation.definition.list.begin.markdown | #b87890 | — |
| support.type.property-name.json | #7090b8 | — |
| entity.name.tag.yaml | #7090b8 | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml | #b89058 | — |
| support.function.builtin.shell | #78b090 | — |
| variable.other.normal.shell, variable.other.special.shell | #b89058 | — |
| invalid | #c05068 | strikethrough |
| invalid.deprecated | #a88050 | strikethrough |
| meta.diff, meta.diff.header | #182838 | — |
| markup.inserted | #80c0c8 | — |
| markup.deleted | #c05068 | — |
| markup.changed | #b89058 | — |
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 | #8aaabb | italic |
| comment.block.documentation, comment.line.documentation | #6a9ab0 | italic |
| string, string.quoted, string.template | #1e6878 | — |
| constant.character.escape, constant.other.placeholder | #884060 | — |
| string.regexp, punctuation.definition.string.regexp, string.regexp.character-class | #8a4830 | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #884060 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #8a6018 | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined | #8a4830 | — |
| constant.other, constant.character | #9a7028 | — |
| variable.other.constant | #8a4830 | — |
| keyword, keyword.control, keyword.control.flow | #884060 | italic |
| keyword.operator, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.arithmetic | #2a7888 | — |
| keyword.operator.logical.python, keyword.operator.wordlike | #2a7888 | italic |
| keyword.operator.new, keyword.operator.delete, keyword.operator.typeof, keyword.operator.void, keyword.operator.instanceof | #5548a8 | italic |
| storage, storage.type, storage.modifier | #5548a8 | italic |
| entity.name.function, meta.function entity.name.function | #2a6a50 | — |
| meta.function-call entity.name.function, meta.function-call.generic, support.function | #1e5a40 | — |
| variable.parameter, meta.function.parameters variable.other | #3a6878 | italic |
| storage.type.function.arrow | #2a7888 | — |
| entity.name.class, entity.name.type.class, entity.name.type | #2a5a90 | — |
| entity.other.inherited-class | #1a4a80 | italic |
| entity.name.type.interface, support.type.interface | #2a5a90 | italic |
| entity.name.type.parameter, variable.type.parameter | #3a6898 | — |
| support.type, support.type.primitive, keyword.type | #2a4a80 | — |
| variable, variable.other, variable.other.readwrite | #2a3c4e | — |
| variable.language.self, variable.language.this, variable.language.super | #8a4830 | italic |
| variable.other.property, variable.other.object.property, meta.property-name, support.variable.property | #3a5a72 | — |
| meta.object-literal.key, meta.object.member, support.type.property-name | #2a5068 | — |
| punctuation, meta.brace, punctuation.separator, punctuation.terminator | #7a9ab0 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #2a7888 | — |
| meta.decorator, entity.name.function.decorator, punctuation.decorator | #8a6018 | italic |
| entity.name.tag, meta.tag.sgml | #884060 | — |
| punctuation.definition.tag, meta.tag punctuation | #6655aa | — |
| entity.other.attribute-name, meta.tag.attributes entity.other.attribute-name | #5548a8 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #5548a8 | — |
| support.type.property-name.css, meta.property-name.css | #2a5a90 | — |
| meta.property-value.css, support.constant.property-value.css | #1e6878 | — |
| constant.other.color.rgb-value.css, keyword.other.unit.css | #8a6018 | — |
| markup.heading, entity.name.section.markdown | #1e6878 | bold |
| markup.bold | #884060 | bold |
| markup.italic | #5548a8 | italic |
| markup.inline.raw | #2a6a50 | — |
| markup.underline.link | #2a5a90 | underline |
| markup.quote | #7a9ab0 | italic |
| punctuation.definition.list.begin.markdown | #884060 | — |
| support.type.property-name.json | #2a5a90 | — |
| entity.name.tag.yaml | #2a5a90 | — |
| support.function.builtin.shell | #2a6a50 | — |
| variable.other.normal.shell, variable.other.special.shell | #8a6018 | — |
| invalid | #a03050 | strikethrough |
| invalid.deprecated | #8a4830 | strikethrough |
| markup.inserted | #1e6878 | — |
| markup.deleted | #a03050 | — |
| markup.changed | #8a6018 | — |
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}!`;
}