Vellum Theme
Warm ivory parchment meets material high contrast dark. Two extremes, one identity.
Warm ivory parchment meets material high contrast dark. Two extremes, one identity.
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 | #75715E | italic |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete, keyword.operator.typeof, keyword.operator.instanceof, keyword.operator.void, keyword.operator.of, keyword.operator.in, storage, storage.type, storage.modifier | #F92672 | bold |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.relational, keyword.operator.bitwise, keyword.operator.ternary | #F92672 | |
| string, string.quoted, string.template, string.interpolated | #E6DB74 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #AE81FF | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.nan, constant.language.infinity, support.constant | #AE81FF | bold |
| entity.name.function, meta.function-call, support.function, meta.function-call entity.name.function | #A6E22E | — |
| entity.name.type, entity.name.class, entity.name.namespace, entity.other.inherited-class, support.type, support.class, entity.name.type.class | #66D9EF | italic |
| entity.name.type.interface, entity.name.type.parameter, entity.name.type.alias, entity.name.type.enum | #66D9EF | italic |
| variable, variable.other, variable.other.readwrite, support.variable | #F8F8F2 | — |
| variable.parameter, meta.parameters variable, meta.function variable.parameter | #FD971F | italic |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.type.property-name, string.json support.type.property-name | #66D9EF | — |
| punctuation, punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.arguments, punctuation.separator, punctuation.terminator, meta.brace | #F8F8F2 | — |
| punctuation.definition.template-expression, string.template punctuation.definition.template-expression | #F92672 | — |
| entity.name.tag, punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end | #F92672 | — |
| entity.other.attribute-name, entity.other.attribute-name.html | #A6E22E | italic |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.name.tag.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #A6E22E | — |
| support.type.property-name.css, support.type.vendored.property-name.css | #66D9EF | — |
| support.constant.property-value.css, support.constant.color.css, support.constant.font-name.css | #F8F8F2 | — |
| keyword.other.unit.css, keyword.other.unit.scss, keyword.other.unit.less | #AE81FF | — |
| string.regexp, constant.character.escape, constant.other.character-class.regexp, keyword.operator.quantifier.regexp, keyword.control.anchor.regexp | #66D9EF | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.default, keyword.control.as, meta.import keyword, meta.export keyword | #F92672 | bold |
| meta.decorator, meta.decorator entity.name.function, meta.decorator variable, punctuation.decorator, storage.type.annotation | #66D9EF | italic |
| support.type.property-name.json | #66D9EF | — |
| string.quoted.double.json | #E6DB74 | — |
| markup.heading, entity.name.section | #A6E22E | bold |
| markup.bold | #FD971F | bold |
| markup.italic | #E6DB74 | italic |
| markup.underline.link, string.other.link | #66D9EF | — |
| markup.inline.raw, markup.fenced_code | #AE81FF | — |
| markup.list, punctuation.definition.list.begin.markdown | #F92672 | — |
| markup.inserted | #A6E22E | — |
| markup.deleted | #F92672 | — |
| markup.changed | #E6DB74 | — |
| entity.name.tag.yaml | #66D9EF | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml, punctuation.definition.alias.yaml | #A6E22E | — |
| variable.other.normal.shell, variable.other.special.shell, variable.other.positional.shell, punctuation.definition.variable.shell | #FD971F | — |
| variable.language.self, variable.language.cls, variable.language.this, variable.language.super, variable.language.special.self, variable.parameter.function.language.special.self | #FD971F | italic |
| support.function.magic.python | #A6E22E | italic |
| storage.type.numeric.go, storage.type.string.go, storage.type.boolean.go, storage.type.byte.go, entity.name.type.numeric.rust, entity.name.type.primitive.rust | #66D9EF | italic |
| meta.preprocessor, keyword.control.directive, punctuation.definition.directive, entity.name.function.preprocessor | #F92672 | — |
| invalid, invalid.illegal | #F8F8F2 | — |
| invalid.deprecated | #F8F8F2 | — |
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 | #616E88 | italic |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python, storage, storage.type, storage.modifier | #81A1C1 | bold |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.comparison, keyword.operator.ternary | #81A1C1 | |
| string, string.quoted, string.template | #A3BE8C | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal | #B48EAD | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined | #B48EAD | bold |
| variable, variable.other, variable.other.readwrite | #D8DEE9 | — |
| variable.parameter, meta.function.parameter, meta.parameters | #D8DEE9 | italic |
| entity.name.function, meta.function-call, support.function, meta.function-call entity.name.function | #88C0D0 | — |
| entity.name.type, entity.name.class, support.type, support.class, entity.other.inherited-class, entity.name.type.interface, entity.name.type.enum, entity.name.type.alias | #8FBCBB | — |
| punctuation, punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.array, punctuation.separator, punctuation.terminator, meta.brace | #ECEFF4 | — |
| meta.object-literal.key, support.type.property-name.json, string.json support.type.property-name, entity.name.tag.yaml, support.type.property-name | #88C0D0 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, keyword.control.default | #81A1C1 | bold |
| string.regexp, constant.character.escape, constant.other.character-class.regexp, keyword.operator.quantifier.regexp | #EBCB8B | — |
| meta.decorator, meta.decorator entity.name.function, punctuation.decorator, meta.annotation, storage.type.annotation | #D08770 | italic |
| entity.name.tag, punctuation.definition.tag | #81A1C1 | — |
| entity.other.attribute-name, entity.other.attribute-name.html | #8FBCBB | italic |
| entity.name.tag.css, 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 | #8FBCBB | — |
| support.type.property-name.css, support.type.vendored.property-name.css | #88C0D0 | — |
| support.constant.property-value.css, support.constant.font-name.css | #D8DEE9 | — |
| keyword.other.unit.css, keyword.other.unit.scss | #B48EAD | — |
| markup.heading, entity.name.section.markdown | #88C0D0 | bold |
| markup.bold | #D8DEE9 | bold |
| markup.italic | #D8DEE9 | italic |
| markup.underline.link, string.other.link | #88C0D0 | — |
| markup.inline.raw, markup.fenced_code | #A3BE8C | — |
| markup.list, punctuation.definition.list | #81A1C1 | — |
| markup.quote | #616E88 | italic |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.template.expression | #81A1C1 | — |
| support.constant, variable.other.constant | #B48EAD | bold |
| variable.language, variable.language.this, variable.language.self | #81A1C1 | italic |
| string.quoted.double.json | #A3BE8C | — |
| string.unquoted.plain.out.yaml | #D8DEE9 | — |
| variable.other.normal.shell, variable.other.special.shell, variable.other.positional.shell | #D8DEE9 | — |
| markup.inserted | #A3BE8C | — |
| markup.deleted | #BF616A | — |
| markup.changed | #EBCB8B | — |
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 | #5C6370 | italic |
| keyword, keyword.control, keyword.other, storage, storage.type, storage.modifier | #C678DD | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, meta.import keyword, meta.export keyword | #C678DD | bold |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.comparison, keyword.operator.ternary, keyword.operator.spread, keyword.operator.rest, keyword.operator.type | #56B6C2 | — |
| string, string.quoted, string.template, string.quoted.single, string.quoted.double, string.quoted.triple | #98C379 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #D19A66 | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.nan | #D19A66 | bold |
| support.constant, variable.language.this, variable.language.self, variable.language.super | #D19A66 | — |
| entity.name.function, meta.function-call entity.name.function, support.function, meta.function-call | #61AFEF | — |
| variable.parameter, meta.parameter, meta.function.parameters variable | #ABB2BF | italic |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.module, support.type, support.class, entity.other.inherited-class, storage.type.class, meta.type.annotation entity.name.type | #E5C07B | — |
| entity.name.type.interface, entity.name.type.type-parameter, entity.name.type.enum | #E5C07B | — |
| variable.other.readwrite, variable.other.assignment, meta.definition.variable variable | #E06C75 | — |
| variable, variable.other | #ABB2BF | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.type.property-name, string.json support.type.property-name | #E06C75 | — |
| meta.decorator, meta.decorator entity.name.function, meta.decorator variable, punctuation.decorator, meta.annotation, meta.annotation entity.name.type | #E5C07B | italic |
| punctuation, punctuation.definition.block, punctuation.definition.parameters, punctuation.separator, punctuation.terminator, punctuation.accessor, meta.brace.round, meta.brace.square, meta.brace.curly | #ABB2BF | — |
| punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.string.template.begin, punctuation.definition.string.template.end | #98C379 | — |
| string.regexp, constant.character.escape, string.regexp keyword.operator, string.regexp punctuation, constant.other.character-class.regexp, keyword.operator.quantifier.regexp, keyword.operator.or.regexp, keyword.operator.negation.regexp | #56B6C2 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, meta.template.expression | #C678DD | — |
| entity.name.tag, punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end | #E06C75 | — |
| entity.other.attribute-name, entity.other.attribute-name.html | #D19A66 | italic |
| entity.name.tag.css, 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 | #E06C75 | — |
| support.type.property-name.css, support.type.vendored.property-name.css | #ABB2BF | — |
| support.constant.property-value.css, support.constant.font-name.css, meta.property-value.css | #D19A66 | — |
| keyword.other.unit.css, keyword.other.unit.scss, keyword.other.unit.less | #D19A66 | — |
| support.function.css, support.function.misc.css, support.function.url.css | #61AFEF | — |
| support.type.property-name.json | #E06C75 | — |
| string.quoted.double.json | #98C379 | — |
| markup.heading, markup.heading entity.name, entity.name.section.markdown | #E06C75 | bold |
| markup.bold | #D19A66 | bold |
| markup.italic | #C678DD | italic |
| markup.inline.raw, markup.fenced_code.block, markup.raw.block | #98C379 | — |
| markup.underline.link, string.other.link | #61AFEF | — |
| markup.list, beginning.punctuation.definition.list | #E06C75 | — |
| markup.quote | #5C6370 | italic |
| markup.inserted | #98C379 | — |
| markup.deleted | #E06C75 | — |
| markup.changed | #61AFEF | — |
| meta.function.decorator.python, entity.name.function.decorator.python | #E5C07B | italic |
| variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #D19A66 | italic |
| support.function.magic.python | #61AFEF | italic |
| storage.modifier.lifetime.rust, entity.name.type.lifetime.rust | #D19A66 | italic |
| entity.name.function.macro.rust, meta.macro.rust | #61AFEF | bold |
| entity.name.package.go | #E5C07B | — |
| support.class.component.tsx, support.class.component.jsx, entity.name.tag.tsx, entity.name.tag.jsx | #E5C07B | — |
| meta.type.annotation.ts, meta.type.annotation.tsx, meta.return.type.ts, meta.return.type.tsx | #E5C07B | — |
| variable.other.normal.shell, variable.other.positional.shell, variable.other.special.shell, variable.other.bracket.shell | #E06C75 | — |
| entity.name.tag.yaml | #E06C75 | — |
| keyword.key.toml, support.type.property-name.table.toml, support.type.property-name.array.toml | #E06C75 | — |
| entity.name.section.group-title.ini | #61AFEF | bold |
| variable.language.documentroot, meta.tag.sgml.doctype, keyword.other.doctype, meta.tag.sgml.doctype string | #636B78 | — |
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 | #A89CA1 | italic |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete, keyword.operator.typeof, keyword.operator.instanceof, keyword.operator.void, keyword.operator.in, keyword.operator.of, storage, storage.type, storage.modifier | #C06A90 | bold |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.bitwise, keyword.operator.comparison, keyword.operator.relational, keyword.operator.ternary, keyword.operator.spread, keyword.operator.rest | #75696E | |
| string, string.quoted, string.template, string.quoted.single, string.quoted.double, string.quoted.triple | #3A7D5C | — |
| constant.character.escape, string.regexp | #1A7A7A | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #B35E2A | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, support.constant, variable.other.constant | #C44040 | bold |
| entity.name.function, support.function, meta.function-call, variable.function | #6B4C9A | — |
| variable.parameter, meta.parameter | #524850 | italic |
| entity.name.type, entity.name.class, support.type, support.class, entity.other.inherited-class, storage.type.class, entity.name.type.class | #1A7A7A | — |
| entity.name.type.parameter, meta.type.parameters | #1A7A7A | italic |
| entity.name.type.interface, entity.name.type.alias | #1A7A7A | italic |
| variable, variable.other, variable.other.readwrite | #1E1A1C | — |
| variable.other.property, support.variable.property, variable.other.object.property | #1E1A1C | — |
| meta.object-literal.key, string.unquoted, support.type.property-name.json | #6B4C9A | — |
| entity.name.namespace, entity.name.module, support.other.namespace | #75696E | — |
| meta.decorator, meta.decorator entity.name.function, punctuation.decorator, meta.annotation, storage.type.annotation | #C06A90 | italic |
| punctuation, punctuation.definition, punctuation.separator, punctuation.terminator, meta.brace, punctuation.definition.block, punctuation.definition.parameters, punctuation.section | #75696E | — |
| entity.name.tag, punctuation.definition.tag, meta.tag | #C06A90 | — |
| entity.other.attribute-name | #6B4C9A | italic |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.name.tag.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #6B4C9A | — |
| support.type.property-name.css, meta.property-name.css | #1A7A7A | — |
| support.constant.property-value.css, meta.property-value.css, support.constant.color.css, constant.other.color.rgb-value.css, support.constant.font-name.css | #B35E2A | — |
| keyword.other.unit.css, keyword.other.unit.scss, keyword.other.unit.less | #C06A90 | — |
| heading.1.markdown entity.name, heading.2.markdown entity.name, heading.3.markdown entity.name, heading.4.markdown entity.name, heading.5.markdown entity.name, heading.6.markdown entity.name, markup.heading, markup.heading.setext, punctuation.definition.heading.markdown | #1E1A1C | bold |
| markup.bold, punctuation.definition.bold.markdown | #1E1A1C | bold |
| markup.italic, punctuation.definition.italic.markdown | #1E1A1C | italic |
| markup.inline.raw, markup.fenced_code, markup.raw.block, punctuation.definition.raw.markdown | #6B4C9A | — |
| markup.underline.link, markup.underline.link.markdown, string.other.link.title.markdown, string.other.link.description.markdown | #E08BAB | — |
| beginning.punctuation.definition.list.markdown, punctuation.definition.list.begin.markdown, markup.list | #75696E | — |
| markup.quote, punctuation.definition.quote.begin.markdown | #A89CA1 | italic |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, keyword.control.default | #C06A90 | bold |
| invalid, invalid.illegal | #C44040 | strikethrough |
| invalid.deprecated | #A89CA1 | strikethrough |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #C06A90 | — |
| support.variable, support.other | #75696E | — |
| entity.name, entity.name.section | #6B4C9A | — |
| markup.inserted | #3A7D5C | — |
| markup.deleted | #C44040 | — |
| markup.changed | #4A6FA5 | — |
| string.regexp, constant.other.character-class.regexp, keyword.operator.quantifier.regexp, keyword.operator.or.regexp, punctuation.definition.group.regexp, punctuation.definition.character-class.regexp | #1A7A7A | — |
| support.type.property-name.json, support.type.property-name.json.comments | #6B4C9A | — |
| entity.name.tag.yaml | #6B4C9A | — |
| support.type.property-name.toml, entity.name.tag.toml | #6B4C9A | — |
| variable.other.normal.shell, variable.other.special.shell, variable.other.positional.shell | #1E1A1C | — |
| entity.name.function.target.makefile | #6B4C9A | bold |
| meta.diff.header, meta.diff.index, meta.separator.diff | #C06A90 | bold |
| markup.inserted.diff | #3A7D5C | — |
| markup.deleted.diff | #C44040 | — |
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}!`;
}