Salt Water Taffy
Publisher: Finn JamesThemes in package: 1
Seaside colors with a pastel finish
Seaside colors with a pastel finish
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 | #43565e | italic |
| meta.type.flowtype variable.other.flowtype, variable.other.property, variable.other.object, variable.other.readwrite, meta.template.expression, entity.name.type.module, punctuation.definition.entity, variable.parameter | #d4d4d4 | — |
| variable.language.this, variable.language.super | #d4d4d4 | — |
| entity.name.tag.reference, entity.name.tag.css, entity.name.tag.scss | #DBA7CD | — |
| keyword, storage.type, storage.type.function, variable.other.flowtype, storage.type.extends, storage.type.function, storage.type.class, keyword.operator.module | #759596 | — |
| entity.name.type | #92ABD6 | underline |
| entity.name.type.module | — | |
| storage.modifier | #759596 | — |
| entity.name.tag | #759596 | — |
| meta.decorator, meta.decorator.tsx variable.other.readwrite.tsx, meta.decorator.tsx variable.other.object.tsx, meta.decorator.tsx variable.other.property.tsx, meta.decorator.jsx variable.other.readwrite.jsx, meta.decorator.jsx variable.other.object.jsx, meta.decorator.jsx variable.other.property.jsx | #759596 | — |
| support.class.component | #EBAEB8 | — |
| variable.function, source meta.function-call entity.name.function, meta.class meta.group.braces.curly meta.function-call variable.function, meta.class meta.field.declaration meta.function-call entity.name.function, variable.function.constructor, meta.block meta.var.expr meta.function-call entity.name.function, support.function.console, meta.function-call support.function, meta.property.class variable.other.class, punctuation.definition.entity.css, meta.function-call.python | #EBAEB8 | — |
| entity.name.function, meta.class entity.name.class, meta.class entity.name.type.class, meta.class meta.function-call variable.function, source keyword.control.loop, storage.type.function.arrow, keyword.other.important | #DBA7CD | — |
| entity.name.type.class, entity.name.type.js | — | bold |
| keyword.control.flow | #C97DAC | — |
| support.type.primitive | #92ABD6 | italic |
| support.type.property-name | #d4d4d4 | — |
| keyword.control.trycatch, source meta.group.braces.curly keyword.control.loop, keyword.control.switch | #759596 | — |
| punctuation.terminator, punctuation.definition, punctuation.support, punctuation.separator.dictionary, punctuation.separator.array, meta.brace.round, punctuation.section.embedded, punctuation.accessor, meta.delimiter.comma, keyword.operator.ternary, punctuation.section.property-list, punctuation.section.function, punctuation.separator.comma, meta.function-call.without-arguments, constant.character.entity, entity.other.attribute-name.pseudo-class, meta.brace.curly, meta.brace.square, punctuation.separator.parameter, punctuation.operation.graphql | #759596 | — |
| keyword.other.substitution, punctuation.definition.interpolation, punctuation.definition.template-expression | #759596 | — |
| punctuation.separator.key-value, keyword.operator.type | #759596 | — |
| keyword.operator.optional | #EBAEB8 | — |
| keyword.operator.assignment | #C28C95 | — |
| keyword.operator.logical | #EBAEB8 | — |
| keyword.operator.comparison, keyword.operator.relational | #DBA7CD | — |
| string.quoted, string.interpolated, support.constant.property-value, keyword.other.unit, string.template, punctuation.definition.string | #7BC7AB | — |
| keyword.other.unit | #92ABD6 | — |
| constant.language, constant.numeric, support.constant, constant.character, constant.other.color, constant.other.symbol, constant.other.key | #92ABD6 | — |
| markup.inserted | #99C794 | — |
| markup.deleted | #BD4F7B | — |
| markup.changed | #BB80B3 | — |
| *url*, *link*, *uri* | — | underline |
| constant.numeric.line-number.find-in-files - match | #C97DAC | — |
| entity.name.filename.find-in-files | #99C794 | — |
| token.info-token | #7BC7AB | — |
| token.warn-token | #EBAEB8 | — |
| token.error-token | #DBA7CD | — |
| token.debug-token | #92ABD6 | — |
| source entity.other.attribute-name | #A9DECA | italic |
| source meta.tag.attributes entity.other.attribute-name, meta.jsx.js entity.other.attribute-name.jsx | #d4d4d4 | italic |
| text.html.basic entity.other.attribute-name.html | — | italic |
| punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.block.any.html | #43565e | — |
| variable.language.this.js, variable.language.special.self.python | #A9E0EB | — |
| entity.other.attribute-name.html | #92ABD6 | — |
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}!`;
}