coral
Publisher: washingmachineThemes in package: 1
the washingmachine theme. its really corally
the washingmachine theme. its really corally
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 |
|---|---|---|
| string constant.other.placeholder, invalid.deprecated, keyword, storage.type, storage.modifier | #ff7aa2 | — |
| string constant.other.placeholder, punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | — | italic |
| punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | #C9184A | — |
| constant.other.php | #ff7aa2 | — |
| variable | #B79CED | — |
| constant.other.color | #575757 | — |
| invalid, invalid.illegal | #FF6D00 | — |
| Keyword, Storage | — | italic |
| keyword.control, constant.other.color, punctuation.definition.tag, punctuation, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, entity.name.tag.reference.scss | #564592 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.name.type.module.js | #09BC8A | — |
| keyword.control.at-rule, punctuation.terminator.rule.css, keyword.control.operator, punctuation.definition.entity.css, keyword.operator.assignment.js, punctuation.separator.comma.js, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, punctuation.definition.binding-pattern.object.js | #575757 | — |
| punctuation.definition, string.quoted.single.scss | #564592 | — |
| keyword.control | — | bold |
| comment.line.scss, comment.line.double-slash.js, punctuation.definition.comment.scss, punctuation.definition.comment.js, punctuation.definition.comment.html, comment.block.html | #6D6F7C | — |
| text.html.derivative | #564592 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #575757 | — |
| entity.name.tag.html | — | bold |
| variable.parameter.js, variable.parameter.keyframe-list.css | #ff7aa2 | — |
| variable.other.object.js, storage.type.js, string.other.link.title.markdown, variable.other.readwrite.js, variable.other.property.js | #09BC8A | |
| string, string.quoted.double.html, variable.other.constant.js, variable.other.object.property.js, string.quoted.double.json, markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, variable.function, keyword.other.special-method, entity.name.function, markup.bold, markup.bold.markdown, markup.italic.markdown, meta.class-method.js entity.name.function.js, variable.function.constructor, entity.name.tag.other.html, entity.name.tag.block.any.html, source.sass keyword.control | #40C9A2 | — |
| punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #7FD8BE | — |
| support.other.variable, string.other.link, markup.table | #575757 | — |
| constant.language, constant.character, constant.escape, keyword.other.unit, keyword.other, punctuation.separator.key-value.html | #ff7aa2 | — |
| constant.numeric | #718355 | — |
| variable.parameter.function.language.special, variable.parameter | #B79CED | — |
| constant.other.symbol, constant.other.key, entity.other.inherited-class, keyword.other.unit, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly, constant.other.object.key.js, string.unquoted.label.js | #C9184A | |
| support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, entity.other.attribute-name.html | #ff7aa2 | — |
| entity.name | #99d98c | — |
| support.type | #B2CCD6 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #09BC8A | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #B79CED | — |
| entity.name.method.js, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #40C9A2 | italic |
| entity.other.attribute-name, support.function | #ff7aa2 | — |
| entity.other.attribute-name.id, entity.other.attribute-name.class, keyword.control.conditional.js, support.constant, entity.other.attribute-name.html, string.quoted.single.js, storage.type.function.js, meta.object-literal.key | #575757 | — |
| source.scss keyword.control | #ff7aa2 | — |
| markup.inserted | #C9184A | — |
| markup.deleted | #B79CED | — |
| markup.changed | #ff7aa2 | — |
| string.regexp | #7FD8BE | — |
| constant.character.escape | #7FD8BE | — |
| *url*, *link*, *uri* | — | underline |
| source.js constant.other.object.key.js string.unquoted.label.js | #575757 | italic |
| support.type.property-name.json | #575757 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #575757 | — |
| text.html.markdown markup.inline.raw.markdown | #ff7aa2 | — |
| text.html.markdown markup.inline.raw.markdown, punctuation.definition.raw.markdown | #03666650 | — |
| text.html.markdown meta.dummy.line-break | — | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, entity.name.section.markdown | #09BC8A | bold |
| markup.underline | #40C9A2 | underline |
| markup.strike | — | |
| markup.quote punctuation.definition.blockquote.markdown | #03666650 | — |
| markup.quote | — | italic |
| string.other.link.description.title.markdown | #ff7aa2 | — |
| constant.other.reference.link.markdown | #ff7aa2 | — |
| markup.raw.block | #ff7aa2 | — |
| punctuation.definition.raw.markdown, punctuation.definition.markdown | #7FD8BE | — |
| variable.language.fenced.markdown | #036666 | — |
| meta.separator | #564592 | bold |
| token.info-token | #036666 | — |
| token.warn-token | #ff7aa2 | — |
| token.error-token | #FF293B | — |
| token.debug-token | #7FD8BE | — |
| meta.use.rust, meta.attribute.rust, support.constant.font-name.css, constant.other.color.rgb-value.hex.css | #bebcfc | — |
| storage.modifier.mut.rust, meta.attribute.rust | — | italic |
| source.python, keyword.other.unit.px.css, keyword.other.unit.vh.css, keyword.other.unit.s.css, keyword.other.unit.em.css, keyword.other.unit.pt.css, keyword.other.unit.pc.css, keyword.other.unit.q.css, keyword.other.unit.cm.css, keyword.other.unit.mm.css, keyword.other.unit.ex.css, keyword.other.unit.ch.css, keyword.other.unit.rem.css, keyword.other.unit.lh.css, keyword.other.unit.vw.css, keyword.other.unit.vmin.css, keyword.other.unit.vmax.css, keyword.other.unit.vw.css, keyword.other.unit.vb.css, meta.property-value.css | #FF7AA2 | — |
| punctuation.definition.comment.python, comment.line.number-sign.python, comment.line.double-slash.java, comment.block.javadoc.java, punctuation.definition.comment.java, punctuation.definition.comment.lua, punctuation.definition.comment.begin.lua, punctuation.definition.comment.end.lua, comment.line.semicolon.lisp, punctuation.definition.comment.lisp, support.type.property-name.json.comments | #8b959d | — |
| meta.item-access.arguments.python, storage.modifier.import.java | #beaec9 | — |
| meta.indexed-name.python, entity.name.tag.css, meta.method.body.java | #B79CED | — |
| meta.function-call.generic.python, entity.other.attribute-name.pseudo-class | #09BC8A | — |
| support.function.builtin.python, keyword.operator.arrow.skinny.rust, keyword.operator.arrow.fat.rust, support.constant.property-value.css | #bd2d87 | — |
| entity.other.attribute-name.class.css, constant.other.general.math.tex, entity.other.attribute.lua | #bdadde | — |
| storage.modifier.java, constant.language.lisp, meta.function.call.rust | #ffb0e1 | — |
| entity.other.attribute-name.pseudo-element.css, meta.property-value.css, support.constant.font-name.css, variable.language.self.lua, punctuation.definition.comment.begin.lua, punctuation.definition.comment.end.lua, comment.block.lineBackground, comment.block.javadoc.java, comment.block.java, storage.type.java | — | italic |
| markup.bold.textbf.latex | — | bold |
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}!`;
}