Plane
Publisher: Plane themeThemes in package: 3
Plane color theme
Plane color theme
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown | #E6E8EF | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #6BD5FE | — |
| comment | #D8E4FC75 | italic |
| constant.language | #E6E8EF | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #E6E8EF | — |
| source.css.scss | #6BD5FE | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #B486FF | — |
| entity.other.attribute-name | #22DDCC | — |
| invalid | #F44747 | — |
| markup.underline | — | underline |
| markup.bold | #FF88AA | bold |
| markup.heading | #FF88AA | bold |
| markup.italic | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #B5CEA8 | — |
| markup.deleted | #CE9178 | — |
| markup.changed | #FF88AA | — |
| punctuation.definition.quote.begin.markdown | #22DDCC | — |
| punctuation.definition.list.begin.markdown | #6BD5FE | — |
| markup.inline.raw | #CE9178 | — |
| punctuation.definition.tag | #B486FF | — |
| meta.preprocessor, entity.name.function.preprocessor | #B486FF | — |
| meta.preprocessor.string | #E6E8EF | — |
| meta.preprocessor.numeric | #B5CEA8 | — |
| meta.structure.dictionary.key.python | #9CDCFE | — |
| meta.diff.header | #FF88AA | — |
| storage | #B486FF | — |
| storage.type | #B486FF | — |
| storage.modifier, keyword.operator.noexcept | #B486FF | — |
| string | #FFF1CC | — |
| string.tag | #E6E8EF | — |
| string.value | #E6E8EF | — |
| string.regexp | #E6E8EF | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #FFF1CC | — |
| meta.template.expression | #E6E8EF | — |
| keyword | #B486FF | — |
| keyword.control | #B486FF | italic |
| keyword.operator | #B486FF | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #FF88AA | — |
| keyword.other.unit | #E6E8EF | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #FF88AA | — |
| support.function.git-rebase | #9CDCFE | — |
| constant.sha.git-rebase | #B5CEA8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #E6E8EF | — |
| variable.language | #B486FF | italic |
| token.info-token | #6BD5FE | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B486FF | — |
| entity.name.type, keyword.primitive-datatypes.swift, keyword.type.cs, meta.protocol-list.objc, meta.return-type.objc, source.go storage.type, source.groovy storage.type, source.java storage.type, source.powershell entity.other.attribute-name, storage.class.std.rust, storage.type.attribute.swift, storage.type.c, storage.type.core.rust, storage.type.cs, storage.type.groovy, storage.type.objc, storage.type.php, storage.type.haskell, storage.type.ocaml | #6BD5FE | italic |
| entity.name.function.target.makefile, entity.name.section.toml, entity.name.tag.yaml, variable.other.key.toml | #22DDCC | — |
| entity.name.function, meta.function-call.generic, meta.function-call.object, meta.function-call.php, meta.function-call.static, meta.method-call.java meta.method, meta.method.groovy, support.function.any-method.lua, keyword.operator.function.infix | #6BD5FE | — |
| entity.name.variable.parameter, meta.at-rule.function variable, meta.at-rule.mixin variable, meta.function.arguments variable.other.php, meta.selectionset.graphql meta.arguments.graphql variable.arguments.graphql, variable.parameter | #22DDCC | italic |
| keyword.control.trycatch.ts | #B486FF | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded, meta.property-list.scss, variable.parameter.keyframe-list.css | #E6E8EF | — |
| support.type.property-name.css, meta.property-name.scss, source.css.scss, variable.css | #22DDCC | — |
| variable.argument.css, variable.scss | #6BD5FE | — |
| entity.name.tag.css | #E6E8EF | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss | #E6E8EF | — |
| entity.name.tag.reference.scss, entity.name.tag.custom.scss, keyword.operator.css | #B486FF | — |
| keyword.other.important.scss | #FF88AA | — |
| entity.name.type.type-parameter, meta.indexer.mappedtype.declaration entity.name.type, meta.type.parameters entity.name.type | #B486FF | — |
| meta.object-literal.key, support.type.property-name.json | #22DDCC | — |
| string.quoted.double.json | #E6E8EF | — |
| string.quoted.double.html | #E6E8EF | — |
| heading.1.markdown, heading.2.markdown, heading.3.markdown, heading.4.markdown, heading.5.markdown, heading.6.markdown | #E6E8EF | bold |
| markup.inline.raw.string.markdown | #FFF1CC | — |
| markup.bold.markdown | #FFFFFF | — |
| string.other.link.title.markdown, meta.link.inline.markdown | #B486FF | — |
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}!`;
}