Pacific Ocean
Publisher: Kir OrlovskyiThemes in package: 1
Pacific Ocean theme for Visual Studio Code
Pacific Ocean theme for Visual Studio Code
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 |
|---|---|---|
| * | #B1C7CC | — |
| entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #6E9AF8 | — |
| comment | #6A9955 | — |
| string | #C5D671 | — |
| constant.numeric | #AE81FF | — |
| constant.language | #AE81FF | italic bold |
| constant.character, constant.other | #BBD4BE | — |
| variable | #CF882C | |
| storage | #BBD4BE | |
| storage.type | #43BDB2 | |
| storage.type, storage.modifier | #47CCB1 | |
| entity.other.inherited-class | #BBD4BE | |
| entity.name.function | #A6E22E | |
| variable.parameter | #7A83FC | italic |
| entity.name.tag | #43BDB2 | |
| entity.other.attribute-name | #BBD4BE | |
| support.function | #A6E22E | |
| support.constant | #BBD4BE | |
| punctuation.definition.string.template | #CC66FF | — |
| support.type, support.class | #6BA9B6 | italic |
| support.other.variable | — | |
| invalid | #CF433E | |
| invalid.deprecated | #CF433E | — |
| meta.structure.dictionary.json string.quoted.double.json | #C5D671 | — |
| meta.diff, meta.diff.header | #223A39 | — |
| markup.deleted | #E61F44 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #F7B83D | — |
| constant.numeric.line-number.find-in-files - match | #8FBE00A0 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| keyword.other | #3E6A68 | — |
| meta.property-value, support.constant.property-value, constant.other.color | #C5D671 | — |
| meta.structure.dictionary.json string.quoted.double.json | #BBD4BE | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #C5D671 | — |
| meta.property-name support.type.property-name | — | |
| meta.property-value punctuation.separator.key-value | #B1C7CC | — |
| keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as | #43BDB2 | — |
| meta.use support.class.builtin, meta.other.inherited-class support.class.builtin | #43BDB2 | |
| variable.other | #FFFFFF | |
| variable.other.readwrite.ts | #0C7B44 | italic bold |
| variable.parameter.function.coffee | #E4F279 | |
| entity.name.section.markdown | #BBD4BE | — |
| punctuation.definition.heading.markdown | #F7A8A5 | — |
| markup.raw.inline.markdown | #C5D671 | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #F7A8A5 | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown | #F7A8A5 | — |
| punctuation.definition.metadata.markdown | #F7A8A5 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown, meta.image.inline.markdown | #43BDB2 | |
| markup.bold.markdown, markup.italic.markdown | #43BDB2 | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
| markup.raw.block.markdown | #664E4D | — |
| markup.deleted.git_gutter | #E61F44 | — |
| markup.inserted.git_gutter | #A7DA1E | — |
| markup.changed.git_gutter | #F7B83D | — |
| meta.template.expression | #B1C7CC | — |
| support.type.property-name.css | #67B04B | — |
| storage.type, support.type.property-name.css | — | italic |
| variable.language.this | — | italic underline |
| constant.language.boolean.true | #159C0E | — |
| constant.language.boolean.true, constant.language.boolean.false | — | italic bold |
| constant.language.boolean.false | #9c0e6f | — |
| punctuation.definition.template-expression, punctuation.section.embedded.coffee | #414950 | — |
| entity.other.inherited-class | #FFFFFF | italic underline |
| support.type.property-name.json, string.quoted.single, keyword.operator.logical, keyword.operator.expression | — | |
| storage.type.function.arrow, constant.language.null, constant.language.undefined, constant.numeric.decimal, variable.language.super | — | bold |
| keyword.control, keyword.operator | #F92672 | italic |
| punctuation.terminator.statement.cs | #B1C7CC | |
| keyword.operator | — | |
| constant.language.null, constant.language.undefined | #8A5A44 | italic bold |
| constant.language.nan | — | italic bold |
| keyword.operator.logical, keyword.operator.ternary, punctuation.accessor.optional | #47CCB1 | — |
| constant.language.json | — | bold |
| support.class.component | #6E9AF8 | underline |
| keyword.control.trycatch | #155A7C | bold |
| storage.modifier.async | #4DD67B | |
| punctuation.definition.tag.begin, punctuation.definition.tag.end | #22272B | — |
| punctuation.definition.tag.begin.tsx, punctuation.definition.tag.end.tsx, punctuation.definition.tag.begin.js, punctuation.definition.tag.end.js | #414950 | — |
| entity.other.attribute-name.html, entity.other.attribute-name.tsx, entity.other.attribute-name.js.jsx | #CC66FF | — |
| storage.type | #13997E | — |
| entity.name.type.interface | #8FB3C3 | bold |
| storage.modifier.ts, storage.modifier.tsx, storage.modifier.cs, source.cs | #394d49 | |
| meta.type.parameters.ts, meta.type.parameters.tsx | #70D673 | bold |
| support.type.primitive.ts, support.type.primitive.tsx, keyword.type.cs | #62b5a4 | bold |
| storage.type.type, storage.type.namespace, storage.type.interface, keyword.control.type | #80b0c4 | |
| keyword.control.import, keyword.control.from | #394D49 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}