Monokai Vapor
Publisher: murtaza64Themes in package: 1
Monokai based theme inspired by vaporwave aesthetics
Monokai based theme inspired by vaporwave aesthetics
Full workbench mockup using this variant's colors and tokenColors.
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| meta.class | — | — |
| punctuation.section.class.begin.python | #f8f8f2 | |
| meta.function-call.generic | #FFDEFD | — |
| support.function.magic | #e0ffa1 | italic |
| variable.language.special.self, variable.parameter.function.language.special.self, support.variable.magic, variable.language.this |
TypeScript sample highlighted with this variant's colors and tokenColors.
| — |
| comment | #8C8C8C | — |
| string | #fff1ad | — |
| constant.numeric | #e0ffa1 | — |
| constant.language | #e0ffa1 | — |
| constant.character, constant.other | #e0ffa1 | — |
| variable | — |
| keyword | #FF9FA2 | — |
| storage | #FF9FA2 |
| storage.type | #B6F3FF | italic |
| entity.name.class | #FFC4FA | underline |
| entity.other.inherited-class | #FFC4FA | italic underline |
| entity.name.function | #FFC4FA |
| variable.parameter | #ffc583 | italic |
| entity.name.tag | #B6F3FF |
| entity.other.attribute-name | #FFADF8 |
| support.function | #B6F3FF |
| support.constant | #B6F3FF |
| support.type, support.class | #B6F3FF | italic |
| support.other.variable | — |
| support.other.namespace, entity.name.type.namespace | #FFB2F9 | — |
| support.other.namespace.use-as.php | #B6F3FF | — |
| variable.language.namespace.php | #D66990 | — |
| punctuation.separator.inheritance.php | #ffa764 | — |
| support.function.misc.css, support.constant.property-value.css, support.constant.font-name.css | #fff1ad | — |
| meta.tag.template.value.twig, meta.tag.template.block.twig | #CD5AC5 | — |
| keyword.control.twig | #E05D8C | — |
| variable.other.twig | #E5A5E0 | — |
| variable.other.property.twig | #FFE1FC | — |
| constant.language.twig | #FFD2A6 | — |
| constant.numeric.twig | #FFD0FB | — |
| support.function.twig | #90E7F7 | — |
| meta.function-call.other.twig | #FAB85A | — |
| meta.function-call.twig | #FAB85A | — |
| invalid | #F8F8F0 |
| invalid.deprecated | #F8F8F0 | — |
| text source | — | — |
| meta.diff, meta.diff.header | #E0EDDD | bold |
| markup.deleted | #D3201F |
| markup.changed | #BF3904 |
| markup.inserted | #60CF30 | — |
| meta.diff, meta.diff.range | #3BC0F0 | — |
| markup.heading.markdown, markup.heading.1.markdown, markup.heading.2.markdown | #CCFF67 | — |
| markup.bold.markdown | #F8F8F2 | bold |
| markup.italic.markdown | #F8F8F2 | italic |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.raw.markdown | #D3201F | — |
| markup.list.unnumbered.markdown | #FFADF8 | — |
| markup.list.numbered.markdown | #FFADF8 | — |
| markup.raw.block.markdown, markup.raw.inline.markdown | #fff1ad | — |
| markup.quote.markdown, punctuation.definition.blockquote.markdown | #6C71C4 | — |
| meta.image.inline.markdown, markup.underline.link.markdown | #8C8C8C | italic |
| string.other.link.title.markdown, string.other.link.description.markdown | #b6f3ff | — |
| punctuation.definition.link.markdown | #8C8C8C | — |
| punctuation.definition.metadata.markdown | #8C8C8C | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.constant.markdown | #8C8C8C | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #ffa764 | — |
| meta.template.expression | #F8F8F2 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| entity.name.function.decorator | #FF9FA2 | — |
| meta.class.inheritance.python | — |
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}!`;
}