Tropical Day
Publisher: SurfThemes in package: 1
A fun, balanced light theme for VS Code.
A fun, balanced light theme for VS Code.
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 | #aaaaaa | — |
| comment.keyword, keyword.codetag, keyword.phpdoc | #aaaaaa | bold |
| invalid.deprecated | — | — |
| invalid.illegal | #660000 | — |
| keyword.operator | #777777 | — |
| keyword, keyword.operator.expression, keyword.control.at-rule.css, source.php storage.modifier, source.php storage.type | #4299E1 | italic |
| punctuation.definition.keyword, keyword.control.at-rule.css punctuation | #91b3e0 | — |
| keyword.operator.new | #3182CE | — |
| storage, storage.type, storage.modifier, support.type | #3182CE | — |
| constant.language, support.constant, variable.language, variable.language.this | #FF6A66 | bold |
| variable, support.variable | #666 | — |
| punctuation.definition.variable | #3182CE | — |
| entity.name.function, entity.name.class, entity.method.name, support.function, meta.function-call | #9E45AF | — |
| entity.name.function, entity.name.class, entity.method.name | — | — |
| meta.function-call.arguments | #333333 | — |
| entity.name.type, entity.other.inherited-class, support.class | #C64D56 | — |
| entity.name.exception | #660000 | — |
| entity.name.section | — | bold |
| constant.numeric, constant.character, constant | #19905b | — |
| string, string.quoted, punctuation.definition.string, string.regexp, storage.type.string | #19905b | — |
| constant.character.escape | #234E52 | — |
| string.regex | #333333 | — |
| string.regexp keyword, string.regexp keyword.operator, string.regexp constant, string.regexp constant.character, string.regexp punctuation | #9E45AF | — |
| constant.other.symbol | #ab6526 | — |
| punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts | #ab6526 | — |
| punctuation, punctuation.separator | #777777 | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html, meta.tag.preprocessor, meta.tag.preprocessor entity.name.tag, meta.tag.preprocessor entity.other.attribute-name | #aaaaaa | — |
| meta.tag, entity.attribute-name, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.other.attribute-name.html, punctuation.separator.key-value.html | #7AA5F0 | — |
| entity.name.tag | #356BDE | — |
| meta.tag string.quoted, meta.tag punctuation.definition.string | #19905b | — |
| constant.character.entity, punctuation.definition.entity | #C64D56 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #C64D56 | — |
| meta.selector, selector.css, entity.name.selector, entity.other.attribute-name.id.css, source.css entity.name.tag, entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.parent-selector, entity.other.attribute-name.pseudo-element, punctuation.definition.entity.css, entity.id.scss, entity.tag.scss, entity.class.scss, entity.pseudo-class.scss, entity.parent-selector.scss, entity.pseudo-element.scss, punctuation.separator.list.css, meta.property-list keyword.operator.less, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss, entity.name.function.scss | #4A5568 | — |
| meta.property-name, support.type.property-name | #3182CE | — |
| meta.property-value, source.css keyword.other, source.css constant, source.css constant.numeric, source.css constant.numeric punctuation, meta.property-value support.constant | #19905b | — |
| support.constant.property-value.css | — | normal |
| source.css variable, source.css.less variable, source.css.scss variable | #C64D56 | — |
| keyword.other.important | — | bold |
| variable.js, source.js variable, source.js support.variable, source.js support.type | #333333 | — |
| entity.name.function.js | — | |
| source.embedded | — | — |
| punctuation.support.type.property-name | #ab6526 | — |
| constant.other.class.php | #C64D56 | — |
| punctuation.section.embedded.metatag.php | #aa3731 | bold |
| entity.name.function.decorator, meta.function.decorator punctuation.definition, meta.function.decorator string.quoted, meta.function.decorator punctuation.definition.string, meta.function.decorator meta.function-call.arguments, meta.function.decorator variable.parameter, meta.function.decorator keyword.operator | #aaaaaa | — |
| source.python variable.parameter | #333333 | — |
| source.python support.type | #333333 | — |
| source.python meta.function-call support.type | #aa3731 | — |
| markup.changed | — | — |
| markup.deleted | — | — |
| markup.italic | — | italic |
| markup.error | #660000 | — |
| markup.inserted | — | — |
| meta.link, meta.image.inline | #4b83cd | — |
| markup.output, markup.raw | #777777 | — |
| markup.prompt | #777777 | — |
| markup.heading | #333333 | bold |
| markup.bold | bold | |
| markup.traceback | #660000 | — |
| markup.underline | — | underline |
| markup.inline.raw | #777777 | — |
| markdown.punctuation, markdown.link punctuation, punctuation.definition.raw.markdown, punctuation.definition.heading.markdown, beginning.punctuation.definition.list.markdown, beginning.punctuation.definition.quote.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.metadata.markdown | #C64D56 | — |
| string.other.link.description.markdown, string.other.link.title.markdown | #19905b | — |
| meta.diff.range, meta.diff.index, meta.separator | — | — |
| meta.diff.header.from-file | — | — |
| meta.diff.header.to-file | — | — |
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}!`;
}