Lagoon Color Theme
A calm teal-on-indigo dark theme with dimmed and light variants. Pastel syntax, one-hue indigo UI, and every colour contrast-checked for long editing sessions.
A calm teal-on-indigo dark theme with dimmed and light variants. Pastel syntax, one-hue indigo UI, and every colour contrast-checked for long editing sessions.
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, string.comment | #817cab | italic |
| comment.block.documentation storage.type.class, keyword.other.phpdoc, storage.type.annotation.java | #9d9bbf | italic |
| source, variable, variable.other, variable.other.readwrite, meta.definition.variable.name, support.variable, entity.name.variable | #d4d4e8 | — |
| variable.parameter, meta.function.parameters variable, entity.name.variable.parameter, variable.other.jsdoc | #9d9bbf | italic |
| variable.language, variable.language.this, variable.language.super, variable.language.special.self, keyword.other.this | #f495a1 | — |
| variable.other.constant, variable.other.enummember, constant.other.caps, constant.other.placeholder, entity.name.constant | #eda26a | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, keyword.other.unit, meta.preprocessor.numeric | #eda26a | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.infinity, constant.language.nan, support.constant | #dd8ec7 | — |
| string, string.quoted, string.template, string.other.link, meta.attribute-selector string | #80c182 | — |
| punctuation.definition.string | #80a592 | — |
| constant.character.escape, constant.other.character-class.escape, punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded | #eda26a | — |
| string.regexp, constant.other.character-class.set.regexp, constant.character.escape.backslash.regexp, keyword.control.anchor.regexp, keyword.operator.quantifier.regexp, punctuation.definition.group.regexp | #dd8ec7 | — |
| keyword, keyword.control, keyword.other, keyword.operator.new, keyword.operator.expression, keyword.operator.delete, keyword.operator.logical, keyword.operator.instanceof, keyword.operator.in, keyword.operator.of, storage, storage.type, storage.modifier, keyword.declaration | #bda6f6 | — |
| keyword.control.flow, keyword.control.return, keyword.control.trycatch, keyword.control.conditional, keyword.control.loop | #bda6f6 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.default, keyword.control.as | #dd8ec7 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.relational, keyword.operator.bitwise, keyword.operator.ternary, keyword.operator.spread, keyword.operator.type.annotation | #9d9bbf | — |
| storage.type.function.arrow, meta.arrow storage.type.function | #bda6f6 | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.accessor, punctuation.definition.parameters, meta.brace | #9d9bbf | — |
| entity.name.function, meta.function-call entity.name.function, support.function, meta.function-call.generic, variable.function, entity.name.method, meta.method-call entity.name.function | #4dccb8 | — |
| support.function.builtin, support.function.magic, support.macro, entity.name.function.macro | #4dccb8 | — |
| meta.decorator, meta.decorator entity.name.function, meta.decorator punctuation.decorator, entity.name.function.decorator, punctuation.definition.annotation | #4dccb8 | italic |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution, entity.other.inherited-class, support.type, support.class, storage.type.class, entity.name.type.interface, entity.name.type.enum, entity.name.type.struct, entity.name.type.trait, entity.name.type.module, meta.type.annotation entity.name.type | #d1b157 | — |
| support.type.primitive, storage.type.primitive, keyword.type, entity.name.type.primitive | #d1b157 | — |
| meta.type.parameters entity.name.type, entity.name.type.parameter | #d2ba7b | — |
| variable.other.property, variable.other.object.property, support.type.property-name, meta.object-literal.key, variable.object.property, entity.name.tag.yaml | #69b7ed | — |
| variable.other.object, support.class.dom, support.variable.object | #d4d4e8 | — |
| entity.name.tag, entity.name.tag.html, entity.name.tag.other, meta.tag entity.name.tag, support.class.component | #f495a1 | — |
| support.class.component.jsx, support.class.component.tsx, entity.name.tag.namespace | #d1b157 | — |
| entity.other.attribute-name, entity.other.attribute-name.html, meta.tag entity.other.attribute-name | #69b7ed | — |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end | #c08aa6 | — |
| entity.other.attribute-name.class, entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector | #d1b157 | — |
| entity.other.attribute-name.id, entity.other.attribute-name.id.css | #eda26a | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, meta.selector | #dd8ec7 | — |
| support.type.property-name.css, meta.property-name | #69b7ed | — |
| support.constant.property-value, support.constant.font-name, support.constant.color, meta.property-value | #4dccb8 | — |
| keyword.control.at-rule, punctuation.definition.keyword.css | #bda6f6 | — |
| variable.css, variable.argument.css, support.type.custom-property | #dd8ec7 | — |
| markup.heading, entity.name.section.markdown | #4dccb8 | bold |
| punctuation.definition.heading.markdown, markup.heading.setext | #62acb3 | — |
| markup.bold | #eda26a | bold |
| markup.italic | #dd8ec7 | italic |
| markup.strikethrough | #817cab | strikethrough |
| markup.underline.link, string.other.link.title | #69b7ed | — |
| string.other.link.description | #bda6f6 | — |
| markup.inline.raw, markup.fenced_code, markup.raw | #80c182 | — |
| markup.quote | #9d9bbf | italic |
| markup.list, punctuation.definition.list.begin | #f495a1 | — |
| meta.separator.markdown | #47455e | — |
| markup.inserted, meta.diff.header.to-file | #80c182 | — |
| markup.deleted, meta.diff.header.from-file | #e76761 | — |
| markup.changed | #d1b157 | — |
| meta.diff.range, punctuation.definition.range.diff | #dd8ec7 | — |
| support.type.property-name.json | #69b7ed | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #69b7ed | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml | #dd8ec7 | — |
| entity.name.section.toml, entity.name.tag.ini | #d1b157 | — |
| keyword.other.definition.ini, variable.other.env | #69b7ed | — |
| support.function.builtin.shell, entity.name.function.shell | #4dccb8 | — |
| variable.other.normal.shell, punctuation.definition.variable.shell | #dd8ec7 | — |
| constant.other.option, variable.parameter.option | #eda26a | — |
| support.function.magic.python, meta.function.decorator.python | #4dccb8 | italic |
| variable.parameter.function.language.special.self.python | #f495a1 | — |
| storage.modifier.lifetime.rust, entity.name.lifetime.rust, meta.attribute.rust | #dd8ec7 | — |
| entity.name.package.go, variable.other.receiver.go | #d1b157 | — |
| keyword.control.directive, meta.preprocessor, punctuation.definition.directive | #dd8ec7 | — |
| keyword.other.DML, keyword.other.DDL | #bda6f6 | — |
| variable.graphql, meta.selection-set.graphql variable | #69b7ed | — |
| invalid, invalid.illegal | #e76761 | — |
| invalid.deprecated | #d1b157 | strikethrough |
| invalid.broken, invalid.unimplemented | #e76761 | — |
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, string.comment | #6d6996 | italic |
| comment.block.documentation storage.type.class, keyword.other.phpdoc, storage.type.annotation.java | #575676 | italic |
| source, variable, variable.other, variable.other.readwrite, meta.definition.variable.name, support.variable, entity.name.variable | #2a2a47 | — |
| variable.parameter, meta.function.parameters variable, entity.name.variable.parameter, variable.other.jsdoc | #575676 | italic |
| variable.language, variable.language.this, variable.language.super, variable.language.special.self, keyword.other.this | #a74955 | — |
| variable.other.constant, variable.other.enummember, constant.other.caps, constant.other.placeholder, entity.name.constant | #a8572d | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, keyword.other.unit, meta.preprocessor.numeric | #a8572d | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.infinity, constant.language.nan, support.constant | #933f74 | — |
| string, string.quoted, string.template, string.other.link, meta.attribute-selector string | #33753d | — |
| punctuation.definition.string | #4a7061 | — |
| constant.character.escape, constant.other.character-class.escape, punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded | #a8572d | — |
| string.regexp, constant.other.character-class.set.regexp, constant.character.escape.backslash.regexp, keyword.control.anchor.regexp, keyword.operator.quantifier.regexp, punctuation.definition.group.regexp | #933f74 | — |
| keyword, keyword.control, keyword.other, keyword.operator.new, keyword.operator.expression, keyword.operator.delete, keyword.operator.logical, keyword.operator.instanceof, keyword.operator.in, keyword.operator.of, storage, storage.type, storage.modifier, keyword.declaration | #6b58ad | — |
| keyword.control.flow, keyword.control.return, keyword.control.trycatch, keyword.control.conditional, keyword.control.loop | #6b58ad | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.default, keyword.control.as | #933f74 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.relational, keyword.operator.bitwise, keyword.operator.ternary, keyword.operator.spread, keyword.operator.type.annotation | #575676 | — |
| storage.type.function.arrow, meta.arrow storage.type.function | #6b58ad | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.accessor, punctuation.definition.parameters, meta.brace | #575676 | — |
| entity.name.function, meta.function-call entity.name.function, support.function, meta.function-call.generic, variable.function, entity.name.method, meta.method-call entity.name.function | #087970 | — |
| support.function.builtin, support.function.magic, support.macro, entity.name.function.macro | #087970 | — |
| meta.decorator, meta.decorator entity.name.function, meta.decorator punctuation.decorator, entity.name.function.decorator, punctuation.definition.annotation | #087970 | italic |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution, entity.other.inherited-class, support.type, support.class, storage.type.class, entity.name.type.interface, entity.name.type.enum, entity.name.type.struct, entity.name.type.trait, entity.name.type.module, meta.type.annotation entity.name.type | #856103 | — |
| support.type.primitive, storage.type.primitive, keyword.type, entity.name.type.primitive | #856103 | — |
| meta.type.parameters entity.name.type, entity.name.type.parameter | #6e5314 | — |
| variable.other.property, variable.other.object.property, support.type.property-name, meta.object-literal.key, variable.object.property, entity.name.tag.yaml | #126aa4 | — |
| variable.other.object, support.class.dom, support.variable.object | #2a2a47 | — |
| entity.name.tag, entity.name.tag.html, entity.name.tag.other, meta.tag entity.name.tag, support.class.component | #a74955 | — |
| support.class.component.jsx, support.class.component.tsx, entity.name.tag.namespace | #856103 | — |
| entity.other.attribute-name, entity.other.attribute-name.html, meta.tag entity.other.attribute-name | #126aa4 | — |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end | #8d5772 | — |
| entity.other.attribute-name.class, entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector | #856103 | — |
| entity.other.attribute-name.id, entity.other.attribute-name.id.css | #a8572d | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, meta.selector | #933f74 | — |
| support.type.property-name.css, meta.property-name | #126aa4 | — |
| support.constant.property-value, support.constant.font-name, support.constant.color, meta.property-value | #087970 | — |
| keyword.control.at-rule, punctuation.definition.keyword.css | #6b58ad | — |
| variable.css, variable.argument.css, support.type.custom-property | #933f74 | — |
| markup.heading, entity.name.section.markdown | #087970 | bold |
| punctuation.definition.heading.markdown, markup.heading.setext | #30737f | — |
| markup.bold | #a8572d | bold |
| markup.italic | #933f74 | italic |
| markup.strikethrough | #6d6996 | strikethrough |
| markup.underline.link, string.other.link.title | #126aa4 | — |
| string.other.link.description | #6b58ad | — |
| markup.inline.raw, markup.fenced_code, markup.raw | #33753d | — |
| markup.quote | #575676 | italic |
| markup.list, punctuation.definition.list.begin | #a74955 | — |
| meta.separator.markdown | #b1b1c9 | — |
| markup.inserted, meta.diff.header.to-file | #33753d | — |
| markup.deleted, meta.diff.header.from-file | #a01819 | — |
| markup.changed | #856103 | — |
| meta.diff.range, punctuation.definition.range.diff | #933f74 | — |
| support.type.property-name.json | #126aa4 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #126aa4 | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml | #933f74 | — |
| entity.name.section.toml, entity.name.tag.ini | #856103 | — |
| keyword.other.definition.ini, variable.other.env | #126aa4 | — |
| support.function.builtin.shell, entity.name.function.shell | #087970 | — |
| variable.other.normal.shell, punctuation.definition.variable.shell | #933f74 | — |
| constant.other.option, variable.parameter.option | #a8572d | — |
| support.function.magic.python, meta.function.decorator.python | #087970 | italic |
| variable.parameter.function.language.special.self.python | #a74955 | — |
| storage.modifier.lifetime.rust, entity.name.lifetime.rust, meta.attribute.rust | #933f74 | — |
| entity.name.package.go, variable.other.receiver.go | #856103 | — |
| keyword.control.directive, meta.preprocessor, punctuation.definition.directive | #933f74 | — |
| keyword.other.DML, keyword.other.DDL | #6b58ad | — |
| variable.graphql, meta.selection-set.graphql variable | #126aa4 | — |
| invalid, invalid.illegal | #a01819 | — |
| invalid.deprecated | #856103 | strikethrough |
| invalid.broken, invalid.unimplemented | #a01819 | — |
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, string.comment | #8985ad | italic |
| comment.block.documentation storage.type.class, keyword.other.phpdoc, storage.type.annotation.java | #a8a6c4 | italic |
| source, variable, variable.other, variable.other.readwrite, meta.definition.variable.name, support.variable, entity.name.variable | #dbdbeb | — |
| variable.parameter, meta.function.parameters variable, entity.name.variable.parameter, variable.other.jsdoc | #a8a6c4 | italic |
| variable.language, variable.language.this, variable.language.super, variable.language.special.self, keyword.other.this | #ed8e9b | — |
| variable.other.constant, variable.other.enummember, constant.other.caps, constant.other.placeholder, entity.name.constant | #e79c64 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, keyword.other.unit, meta.preprocessor.numeric | #e79c64 | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.infinity, constant.language.nan, support.constant | #d788c0 | — |
| string, string.quoted, string.template, string.other.link, meta.attribute-selector string | #7aba7c | — |
| punctuation.definition.string | #80a590 | — |
| constant.character.escape, constant.other.character-class.escape, punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded | #e79c64 | — |
| string.regexp, constant.other.character-class.set.regexp, constant.character.escape.backslash.regexp, keyword.control.anchor.regexp, keyword.operator.quantifier.regexp, punctuation.definition.group.regexp | #d788c0 | — |
| keyword, keyword.control, keyword.other, keyword.operator.new, keyword.operator.expression, keyword.operator.delete, keyword.operator.logical, keyword.operator.instanceof, keyword.operator.in, keyword.operator.of, storage, storage.type, storage.modifier, keyword.declaration | #b7a0f0 | — |
| keyword.control.flow, keyword.control.return, keyword.control.trycatch, keyword.control.conditional, keyword.control.loop | #b7a0f0 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.default, keyword.control.as | #d788c0 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.relational, keyword.operator.bitwise, keyword.operator.ternary, keyword.operator.spread, keyword.operator.type.annotation | #a8a6c4 | — |
| storage.type.function.arrow, meta.arrow storage.type.function | #b7a0f0 | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.accessor, punctuation.definition.parameters, meta.brace | #a8a6c4 | — |
| entity.name.function, meta.function-call entity.name.function, support.function, meta.function-call.generic, variable.function, entity.name.method, meta.method-call entity.name.function | #45c6b2 | — |
| support.function.builtin, support.function.magic, support.macro, entity.name.function.macro | #45c6b2 | — |
| meta.decorator, meta.decorator entity.name.function, meta.decorator punctuation.decorator, entity.name.function.decorator, punctuation.definition.annotation | #45c6b2 | italic |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution, entity.other.inherited-class, support.type, support.class, storage.type.class, entity.name.type.interface, entity.name.type.enum, entity.name.type.struct, entity.name.type.trait, entity.name.type.module, meta.type.annotation entity.name.type | #c5a64c | — |
| support.type.primitive, storage.type.primitive, keyword.type, entity.name.type.primitive | #c5a64c | — |
| meta.type.parameters entity.name.type, entity.name.type.parameter | #cbb374 | — |
| variable.other.property, variable.other.object.property, support.type.property-name, meta.object-literal.key, variable.object.property, entity.name.tag.yaml | #63b0e6 | — |
| variable.other.object, support.class.dom, support.variable.object | #dbdbeb | — |
| entity.name.tag, entity.name.tag.html, entity.name.tag.other, meta.tag entity.name.tag, support.class.component | #ed8e9b | — |
| support.class.component.jsx, support.class.component.tsx, entity.name.tag.namespace | #c5a64c | — |
| entity.other.attribute-name, entity.other.attribute-name.html, meta.tag entity.other.attribute-name | #63b0e6 | — |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end | #c08aa3 | — |
| entity.other.attribute-name.class, entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector | #c5a64c | — |
| entity.other.attribute-name.id, entity.other.attribute-name.id.css | #e79c64 | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, meta.selector | #d788c0 | — |
| support.type.property-name.css, meta.property-name | #63b0e6 | — |
| support.constant.property-value, support.constant.font-name, support.constant.color, meta.property-value | #45c6b2 | — |
| keyword.control.at-rule, punctuation.definition.keyword.css | #b7a0f0 | — |
| variable.css, variable.argument.css, support.type.custom-property | #d788c0 | — |
| markup.heading, entity.name.section.markdown | #45c6b2 | bold |
| punctuation.definition.heading.markdown, markup.heading.setext | #60acb0 | — |
| markup.bold | #e79c64 | bold |
| markup.italic | #d788c0 | italic |
| markup.strikethrough | #8985ad | strikethrough |
| markup.underline.link, string.other.link.title | #63b0e6 | — |
| string.other.link.description | #b7a0f0 | — |
| markup.inline.raw, markup.fenced_code, markup.raw | #7aba7c | — |
| markup.quote | #a8a6c4 | italic |
| markup.list, punctuation.definition.list.begin | #ed8e9b | — |
| meta.separator.markdown | #55536e | — |
| markup.inserted, meta.diff.header.to-file | #7aba7c | — |
| markup.deleted, meta.diff.header.from-file | #df655f | — |
| markup.changed | #c5a64c | — |
| meta.diff.range, punctuation.definition.range.diff | #d788c0 | — |
| support.type.property-name.json | #63b0e6 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #63b0e6 | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml | #d788c0 | — |
| entity.name.section.toml, entity.name.tag.ini | #c5a64c | — |
| keyword.other.definition.ini, variable.other.env | #63b0e6 | — |
| support.function.builtin.shell, entity.name.function.shell | #45c6b2 | — |
| variable.other.normal.shell, punctuation.definition.variable.shell | #d788c0 | — |
| constant.other.option, variable.parameter.option | #e79c64 | — |
| support.function.magic.python, meta.function.decorator.python | #45c6b2 | italic |
| variable.parameter.function.language.special.self.python | #ed8e9b | — |
| storage.modifier.lifetime.rust, entity.name.lifetime.rust, meta.attribute.rust | #d788c0 | — |
| entity.name.package.go, variable.other.receiver.go | #c5a64c | — |
| keyword.control.directive, meta.preprocessor, punctuation.definition.directive | #d788c0 | — |
| keyword.other.DML, keyword.other.DDL | #b7a0f0 | — |
| variable.graphql, meta.selection-set.graphql variable | #63b0e6 | — |
| invalid, invalid.illegal | #df655f | — |
| invalid.deprecated | #c5a64c | strikethrough |
| invalid.broken, invalid.unimplemented | #df655f | — |
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}!`;
}