Papaya Theme
Publisher: fethalenThemes in package: 1
A dark theme for Visual Studio Code based on a Vim theme
A dark theme for Visual Studio Code based on a Vim 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 |
|---|---|---|
| comment | #63616e | italic |
| constant.character | #ba9f7e | — |
| constant.character.escape | #ba9f7e | — |
| constant.language | #a1a6a8 | — |
| constant.numeric | #bd7b6f | — |
| constant.regexp | #f0c06b | — |
| entity.name.class, entity.name.type.class | #4b8bc8 | — |
| entity.name.function | #4b8bc8 | — |
| entity.name.tag | #4b8bc8 | — |
| entity.other.attribute-name | #82b9d8 | — |
| entity.other.inherited-class | #82b9d8 | bold |
| invalid.deprecated | #b6d3e3 | — |
| invalid.illegal | #b6d3e3 | — |
| keyword.other | #d957b6 | — |
| keyword.control | #d957b6 | — |
| keyword.storage | #d957b6 | — |
| keyword.operator | #604f75 | — |
| markup.heading | #ffffff | — |
| markup.bold, strong | — | bold |
| markup.italic, emphasis | — | italic |
| markup.bold markup.italic, markup.italic markup.bold | — | italic bold |
| markup.underline | — | underline |
| markup.bold markup.underline, markup.underline markup.bold | — | bold underline |
| markup.italic markup.underline, markup.underline markup.italic | — | italic underline |
| markup.bold markup.italic markup.underline, markup.italic markup.bold markup.underline, markup.bold markup.underline markup.italic, markup.italic markup.underline markup.bold, markup.underline markup.italic markup.bold, markup.underline markup.bold markup.italic | — | italic bold underline |
| markup.changed | #f0c06b | — |
| markup.deleted | #c35066 | — |
| markup.inserted | #75bc77 | — |
| meta.preprocessor | #5E81AC | — |
| punctuation.definition.tag | #75bc77 | — |
| punctuation.section | #72badb | — |
| punctuation.section.embedded.begin, punctuation.section.embedded.end | #75bc77 | — |
| punctuation.terminator | #75bc77 | — |
| punctuation.definition.variable | #72badb | — |
| storage | #75bc77 | — |
| string | #6b7e8f | — |
| string.regexp | #f0c06b | — |
| support.class | #75bc77 | — |
| support.constant | #75bc77 | — |
| support.function | #4b8bc8 | — |
| support.function.macro | #ba9f7e | — |
| support.function.construct | #4b8bc8 | — |
| support.type | #0088ff | — |
| support.type.exception | #9760d1 | bold |
| token.debug-token | #ca61b2 | — |
| token.error-token | #c35066 | — |
| token.info-token | #5a7491 | — |
| token.warn-token | #f0c06b | — |
| variable.other | #b6d3e3 | — |
| variable.language | #75bc77 | — |
| variable.parameter | #b6d3e3 | — |
| source.css constant.other.color.rgb-value | #ca61b2 | — |
| source.css meta.property-value | #5a7491 | — |
| source.css keyword.control.at-rule.media, source.css keyword.control.at-rule.media punctuation.definition.keyword | #D08770 | — |
| source.css punctuation.definition.keyword | #75bc77 | — |
| source.css support.type.property-name | #b6d3e3 | — |
| source.diff meta.diff.range.context | #82b9d8 | — |
| source.diff meta.diff.header.from-file | #82b9d8 | — |
| source.diff punctuation.definition.from-file | #82b9d8 | — |
| source.diff punctuation.definition.range | #82b9d8 | — |
| source.diff punctuation.definition.separator | #75bc77 | — |
| entity.name.type.module.elixir | #82b9d8 | — |
| variable.other.readwrite.module.elixir | #b6d3e3 | bold |
| constant.other.symbol.elixir | #b6d3e3 | bold |
| variable.other.constant.elixir | #82b9d8 | — |
| source.go constant.other.placeholder.go | #f0c06b | — |
| source.java comment.block.documentation.javadoc punctuation.definition.entity.html | #75bc77 | — |
| source.java constant.other | #b6d3e3 | — |
| source.java keyword.other.documentation | #82b9d8 | — |
| source.java keyword.other.documentation.author.javadoc | #82b9d8 | — |
| source.java keyword.other.documentation.directive, source.java keyword.other.documentation.custom | #82b9d8 | — |
| source.java keyword.other.documentation.see.javadoc | #82b9d8 | — |
| source.java meta.method-call meta.method | #5a7491 | — |
| source.java meta.tag.template.link.javadoc, source.java string.other.link.title.javadoc | #82b9d8 | — |
| source.java meta.tag.template.value.javadoc | #5a7491 | — |
| source.java punctuation.definition.keyword.javadoc | #82b9d8 | — |
| source.java punctuation.definition.tag.begin.javadoc, source.java punctuation.definition.tag.end.javadoc | #616E88 | — |
| source.java storage.modifier.import | #82b9d8 | — |
| source.java storage.modifier.package | #82b9d8 | — |
| source.java storage.type | #82b9d8 | — |
| source.java storage.type.annotation | #D08770 | — |
| source.java storage.type.generic | #82b9d8 | — |
| source.java storage.type.primitive | #75bc77 | — |
| source.js punctuation.decorator, source.js meta.decorator variable.other.readwrite, source.js meta.decorator entity.name.function | #D08770 | — |
| source.js meta.object-literal.key | #5a7491 | — |
| source.js storage.type.class.jsdoc | #82b9d8 | — |
| source.js string.quoted.template punctuation.quasi.element.begin, source.js string.quoted.template punctuation.quasi.element.end, source.js string.template punctuation.definition.template-expression | #75bc77 | — |
| source.js string.quoted.template meta.method-call.with-arguments | #ffffff | — |
| source.js string.template meta.template.expression support.variable.property, source.js string.template meta.template.expression variable.other.object | #b6d3e3 | — |
| source.js support.type.primitive | #75bc77 | — |
| source.js variable.other.object | #b6d3e3 | — |
| source.js variable.other.readwrite.alias | #82b9d8 | — |
| text.html.basic constant.character.entity.html | #f0c06b | — |
| text.html.basic constant.other.inline-data | #D08770 | italic |
| text.html.basic meta.tag.sgml.doctype | #5E81AC | — |
| text.html.basic punctuation.definition.entity | #75bc77 | — |
| source.properties entity.name.section.group-title.ini | #5a7491 | — |
| source.properties punctuation.separator.key-value.ini | #75bc77 | — |
| text.html.markdown markup.fenced_code.block | #6b7e8f | — |
| text.html.markdown markup.fenced_code.block punctuation.definition | #6b7e8f | — |
| beginning.punctuation.definition.list.markdown, punctuation.definition.list.begin.markdown | #4b8bc8 | — |
| text.html.markdown markup.inline.raw, text.html.markdown markup.inline.raw punctuation.definition.raw | #6b7e8f | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.heading.markdown | #6b7e8f | — |
| text.html.markdown markup.underline.link | #61afef | — |
| text.html.markdown beginning.punctuation.definition.list | #5a7491 | — |
| text.html.markdown markup.quote | #ba9f7e | — |
| text.html.markdown beginning.punctuation.definition.quote | #ba9f7e | — |
| text.html.markdown punctuation.definition.heading | #b6d3e3 | — |
| text.html.markdown punctuation.definition.constant, text.html.markdown punctuation.definition.string | #5a7491 | — |
| text.html.markdown constant.other.reference.link, text.html.markdown string.other.link.description, text.html.markdown string.other.link.title | #ffffff | — |
| source.perl punctuation.definition.variable | #b6d3e3 | — |
| source.php meta.function-call, source.php meta.function-call.object | #5a7491 | — |
| source.python entity.name.function.decorator, source.python meta.function.decorator support.type | #D08770 | — |
| source.python meta.function-call.generic | #4b8bc8 | — |
| source.python support.type | #5a7491 | — |
| source.python variable.parameter.function.language | #b6d3e3 | — |
| source.python meta.function.parameters variable.parameter.function.language.special.self | #75bc77 | — |
| source.css.scss punctuation.definition.interpolation.begin.bracket.curly, source.css.scss punctuation.definition.interpolation.end.bracket.curly | #75bc77 | — |
| source.css.scss variable.interpolation | #b6d3e3 | italic |
| source.ts punctuation.decorator, source.ts meta.decorator variable.other.readwrite, source.ts meta.decorator entity.name.function, source.tsx punctuation.decorator, source.tsx meta.decorator variable.other.readwrite, source.tsx meta.decorator entity.name.function | #D08770 | — |
| source.ts meta.object-literal.key, source.tsx meta.object-literal.key | #b6d3e3 | — |
| source.ts meta.object-literal.key entity.name.function, source.tsx meta.object-literal.key entity.name.function | #5a7491 | — |
| source.ts support.class, source.ts support.type, source.ts entity.name.type, source.ts entity.name.class, source.tsx support.class, source.tsx support.type, source.tsx entity.name.type, source.tsx entity.name.class | #82b9d8 | — |
| source.ts support.constant.math, source.ts support.constant.dom, source.ts support.constant.json, source.tsx support.constant.math, source.tsx support.constant.dom, source.tsx support.constant.json | #82b9d8 | — |
| source.ts support.variable, source.tsx support.variable | #b6d3e3 | — |
| text.xml entity.name.tag.namespace | #82b9d8 | — |
| text.xml keyword.other.doctype | #5E81AC | — |
| text.xml meta.tag.preprocessor entity.name.tag | #5E81AC | — |
| text.xml string.unquoted.cdata, text.xml string.unquoted.cdata punctuation.definition.string | #D08770 | italic |
| source.yaml entity.name.tag | #82b9d8 | — |
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}!`;
}