Provenance Theme
Publisher: Joël DeffnerThemes in package: 2
A warm paper-and-ink theme for VS Code, in a light and a dark variant.
A warm paper-and-ink theme for VS Code, in a light and a dark variant.
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 | #8b806c | italic |
| variable, variable.other, variable.parameter, meta.definition.variable.name, support.variable, entity.name.variable, meta.object-literal.key, variable.other.readwrite, variable.other.object.property | #ece3d2 | — |
| keyword, keyword.control, storage, storage.type, storage.modifier, keyword.other, meta.tag.sgml, keyword.operator.expression, keyword.operator.new, keyword.operator.delete | #cf8d5c | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.flow, keyword.control.return, keyword.control.trycatch, keyword.control.loop, keyword.control.conditional | #cf8d5c | bold |
| keyword.operator, punctuation.separator, punctuation.terminator, punctuation.accessor, meta.brace, punctuation.definition.parameters, punctuation.definition.arguments, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical | #a3977f | — |
| punctuation.definition.block, punctuation.section.block, punctuation.definition.dict, punctuation.definition.array, punctuation.section.embedded | #6d6455 | — |
| string, string.quoted, string.template, punctuation.definition.string, string.regexp, string.other.link | #8fb3ac | — |
| constant.character.escape, punctuation.definition.template-expression, punctuation.section.embedded.begin, punctuation.section.embedded.end | #ddaa74 | — |
| constant.numeric, constant.language, constant.other, support.constant, keyword.other.unit, variable.other.constant | #e0a473 | — |
| entity.name.function, support.function, meta.function-call.generic, meta.function-call entity.name.function, variable.function | #d9ae6b | bold |
| entity.name.type, entity.name.class, entity.name.namespace, entity.other.inherited-class, support.type, support.class, entity.name.type.class, entity.name.scope-resolution, meta.type.annotation entity.name.type, storage.type.class | #9fc0cc | — |
| variable.language, variable.language.this, variable.language.self, variable.language.super, keyword.other.this | #8fb3ac | bold |
| entity.name.tag, entity.name.tag.html, entity.name.tag.yaml, punctuation.definition.tag | #9fc0cc | — |
| entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #cf8d5c | — |
| entity.name.function.preprocessor, meta.preprocessor, keyword.control.directive, entity.name.function.macro, meta.decorator, meta.decorator entity.name.function, punctuation.decorator, entity.name.function.decorator | #a8c79c | bold |
| support.type.property-name.css, support.type.property-name.json, support.type.property-name | #ece3d2 | — |
| invalid, invalid.illegal | #e29a82 | — |
| invalid.deprecated | #dcb56f | italic |
| markup.heading, markup.heading entity.name, entity.name.section | #ece3d2 | bold |
| markup.bold, markup.bold string | #ece3d2 | bold |
| markup.italic, markup.italic string | #ece3d2 | italic |
| markup.inline.raw, markup.raw, markup.fenced_code.block | #e0a473 | — |
| markup.underline.link, markup.underline.link.image | #cf8d5c | underline |
| markup.quote | #a3977f | italic |
| markup.list punctuation.definition.list, beginning.punctuation.definition.list | #cf8d5c | — |
| markup.inserted, markup.inserted.diff | #a8c79c | — |
| markup.deleted, markup.deleted.diff | #e29a82 | — |
| markup.changed | #dcb56f | — |
| meta.separator | #6d6455 | — |
| comment.line.number-sign.paradox, comment.line.number-sign.paradox-loc | #8b806c | italic |
| entity.name.tag.block.paradox | #ece3d2 | bold |
| variable.other.property.paradox | #ece3d2 | — |
| keyword.control.paradox | #cf8d5c | bold |
| keyword.operator.iterator.paradox | #e0a473 | bold |
| keyword.operator.comparison.paradox, keyword.operator.arithmetic.paradox | #a3977f | — |
| punctuation.section.block.begin.paradox, punctuation.section.block.end.paradox | #6d6455 | — |
| variable.language.scope.paradox | #8fb3ac | bold |
| variable.other.saved-scope.paradox | #8fb3ac | italic |
| constant.language.paradox | #cf8d5c | — |
| constant.numeric.paradox, constant.numeric.date.paradox | #e0a473 | — |
| string.quoted.double.paradox, string.unquoted.value.paradox | #8fb3ac | — |
| string.unquoted.reference.paradox | #ece3d2 | — |
| entity.name.function.event-id.paradox | #e0a473 | bold |
| variable.parameter.macro.paradox, variable.other.substitution.paradox | #ddaa74 | bold |
| variable.other.constant.script.paradox | #ddaa74 | — |
| support.function.databinding.paradox | #8fb3ac | — |
| support.type.color-model.paradox | #a3977f | — |
| meta.inline-math.paradox | #e0a473 | — |
| constant.other.formatting.paradox, constant.character.escape.paradox | #ddaa74 | — |
| entity.name.tag.loc-key.paradox-loc | #ece3d2 | bold |
| keyword.control.language.paradox-loc | #cf8d5c | bold |
| string.quoted.double.paradox-loc | #8fb3ac | — |
| variable.other.substitution.paradox-loc | #e0a473 | bold |
| constant.other.icon.paradox-loc, constant.other.formatting.paradox-loc | #ddaa74 | — |
| constant.numeric.version.paradox-loc | #a3977f | — |
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 | #8a7d6a | italic |
| variable, variable.other, variable.parameter, meta.definition.variable.name, support.variable, entity.name.variable, meta.object-literal.key, variable.other.readwrite, variable.other.object.property | #2a2620 | — |
| keyword, keyword.control, storage, storage.type, storage.modifier, keyword.other, meta.tag.sgml, keyword.operator.expression, keyword.operator.new, keyword.operator.delete | #a36b43 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.flow, keyword.control.return, keyword.control.trycatch, keyword.control.loop, keyword.control.conditional | #a36b43 | bold |
| keyword.operator, punctuation.separator, punctuation.terminator, punctuation.accessor, meta.brace, punctuation.definition.parameters, punctuation.definition.arguments, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical | #6f6557 | — |
| punctuation.definition.block, punctuation.section.block, punctuation.definition.dict, punctuation.definition.array, punctuation.section.embedded | #a99c85 | — |
| string, string.quoted, string.template, punctuation.definition.string, string.regexp, string.other.link | #5d7b76 | — |
| constant.character.escape, punctuation.definition.template-expression, punctuation.section.embedded.begin, punctuation.section.embedded.end | #9c6a2f | — |
| constant.numeric, constant.language, constant.other, support.constant, keyword.other.unit, variable.other.constant | #7a5238 | — |
| entity.name.function, support.function, meta.function-call.generic, meta.function-call entity.name.function, variable.function | #8a6526 | bold |
| entity.name.type, entity.name.class, entity.name.namespace, entity.other.inherited-class, support.type, support.class, entity.name.type.class, entity.name.scope-resolution, meta.type.annotation entity.name.type, storage.type.class | #4d6a75 | — |
| variable.language, variable.language.this, variable.language.self, variable.language.super, keyword.other.this | #5d7b76 | bold |
| entity.name.tag, entity.name.tag.html, entity.name.tag.yaml, punctuation.definition.tag | #4d6a75 | — |
| entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #a36b43 | — |
| entity.name.function.preprocessor, meta.preprocessor, keyword.control.directive, entity.name.function.macro, meta.decorator, meta.decorator entity.name.function, punctuation.decorator, entity.name.function.decorator | #4f6f4a | bold |
| support.type.property-name.css, support.type.property-name.json, support.type.property-name | #2a2620 | — |
| invalid, invalid.illegal | #9c4a34 | — |
| invalid.deprecated | #97702c | italic |
| markup.heading, markup.heading entity.name, entity.name.section | #2a2620 | bold |
| markup.bold, markup.bold string | #2a2620 | bold |
| markup.italic, markup.italic string | #2a2620 | italic |
| markup.inline.raw, markup.raw, markup.fenced_code.block | #7a5238 | — |
| markup.underline.link, markup.underline.link.image | #a36b43 | underline |
| markup.quote | #6f6557 | italic |
| markup.list punctuation.definition.list, beginning.punctuation.definition.list | #a36b43 | — |
| markup.inserted, markup.inserted.diff | #4f6f4a | — |
| markup.deleted, markup.deleted.diff | #9c4a34 | — |
| markup.changed | #97702c | — |
| meta.separator | #a99c85 | — |
| comment.line.number-sign.paradox, comment.line.number-sign.paradox-loc | #8a7d6a | italic |
| entity.name.tag.block.paradox | #2a2620 | bold |
| variable.other.property.paradox | #2a2620 | — |
| keyword.control.paradox | #a36b43 | bold |
| keyword.operator.iterator.paradox | #7a5238 | bold |
| keyword.operator.comparison.paradox, keyword.operator.arithmetic.paradox | #6f6557 | — |
| punctuation.section.block.begin.paradox, punctuation.section.block.end.paradox | #a99c85 | — |
| variable.language.scope.paradox | #5d7b76 | bold |
| variable.other.saved-scope.paradox | #5d7b76 | italic |
| constant.language.paradox | #a36b43 | — |
| constant.numeric.paradox, constant.numeric.date.paradox | #7a5238 | — |
| string.quoted.double.paradox, string.unquoted.value.paradox | #5d7b76 | — |
| string.unquoted.reference.paradox | #2a2620 | — |
| entity.name.function.event-id.paradox | #7a5238 | bold |
| variable.parameter.macro.paradox, variable.other.substitution.paradox | #9c6a2f | bold |
| variable.other.constant.script.paradox | #9c6a2f | — |
| support.function.databinding.paradox | #5d7b76 | — |
| support.type.color-model.paradox | #6f6557 | — |
| meta.inline-math.paradox | #7a5238 | — |
| constant.other.formatting.paradox, constant.character.escape.paradox | #9c6a2f | — |
| entity.name.tag.loc-key.paradox-loc | #2a2620 | bold |
| keyword.control.language.paradox-loc | #a36b43 | bold |
| string.quoted.double.paradox-loc | #5d7b76 | — |
| variable.other.substitution.paradox-loc | #7a5238 | bold |
| constant.other.icon.paradox-loc, constant.other.formatting.paradox-loc | #9c6a2f | — |
| constant.numeric.version.paradox-loc | #6f6557 | — |
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}!`;
}