Rapture
Publisher: PusturThemes in package: 1
A dark blue theme with bright accents inspired by the fictional city of Rapture
A dark blue theme with bright accents inspired by the fictional city of Rapture
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 | #304b66 | — |
| entity.other.attribute-name.class.pug, markup.strikethrough.markdown, punctuation.definition.tag, source.json punctuation.support.type.property-name | #426185 | — |
| entity.name.tag, markup.list, meta.structure.dictionary.json support.type.property-name, source.ini, support.type.property-name.css | #6589b3 | — |
| markup.quote.markdown, support.type.vendored.property-name.css, variable | #8aafd1 | — |
| support.variable | #aacbe9 | — |
| constant.name.attribute.tag.pug, meta.template.expression.js, meta.template.expression.ts, meta.template.expression.tsx, punctuation.definition.metadata.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.separator.key-value.ini, text.html.derivative | #c0c9e5 | — |
| constant.other.caps.python, constant.other.class.php, constant.other.php, constant, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name, fenced_code.block.language, keyword.operator.star.sql, punctuation.definition.interpolation, punctuation.definition.template-expression, punctuation.section.embedded.begin.php, punctuation.section.embedded.begin.ruby, punctuation.section.embedded.end.php, punctuation.section.embedded.end.ruby, source.css keyword.other.unit, support.constant.core.php, support.constant.ext.php, support.type.exception.python | #ff4fa1 | — |
| entity.name.tag.css, source.css entity.name.tag.wildcard, source.css variable, variable.language.special.self.python, variable.language.this.js, variable.language.this.ts, variable.language.this.tsx | #ffabd0 | — |
| markup.italic, meta.function.decorator.python, meta.group.regexp, variable.language.super | #d190d1 | — |
| keyword.other.important, punctuation.definition.decorator.python, string.regexp | #c45ace | — |
| entity.name.function, meta.attribute.data-x entity.other.attribute-name.html, meta.function-call.generic.python, string.other.link.description.markdown, string.other.link.title.markdown, support.function | #6c9bf5 | — |
| constant.character.entity, entity.name.section.group-title.ini, entity.name.type, entity.other.attribute-name.id.css, entity.other.attribute-name.id.pug, entity.other.inherited-class, keyword.other.alias.sql, keyword.other.DDL.create.II.sql, markup.bold, meta.attribute.id entity.other.attribute-name, source.css support.function, source.php support.function, support.class, support.constant, support.function.magic.python, support.type.python, support.variable.magic.python | #64e0ff | — |
| entity.other.attribute-name.class.css, markup.heading, markup.inline.raw, punctuation.definition.markdown, source.sql punctuation.definition.string, string, text.html meta.embedded source.js string, text.html string, text.html.markdown string, text.html.php string, text.xml string | #7afde1 | — |
| punctuation.definition.string, text.html meta.embedded source.js punctuation.definition.string, text.html.php punctuation.definition.string | #4dad99 | — |
| keyword.operator, keyword, meta.attribute.href.html string, meta.attribute.src.html string, meta.image, meta.link, punctuation.definition.block.sequence.item.yaml, punctuation.separator.key-value.makefile, source.css variable.parameter.url, source.js support.type, storage | #fff09b | — |
| meta.attribute.href.html punctuation.definition.string, meta.attribute.src.html punctuation.definition.string | #a39859 | — |
| invalid.deprecated.entity.other.attribute-name.html, source.css constant.numeric, source.css entity.other.attribute-name, string.regexp meta.assertion, support.type.builtin.ts, support.type.builtin.tsx, support.type.primitive.ts, support.type.primitive.tsx | #ff9b49 | — |
| entity.other.attribute-name.parent-selector.css, source.css entity.name.tag.reference, storage.modifier.sql | #fc644d | — |
| invalid.deprecated.entity.other.attribute-name.html, markup.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
| markup.strikethrough.markdown | — | strikethrough |
| entity.other.inherited-class | — | underline |
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}!`;
}