Shakira Warm Spectrum
Publisher: Shakira ChristianThemes in package: 2
Warm-spectrum light and dark themes with vibrant syntax highlighting for C++, JavaScript/TypeScript (including JSX/TSX), Julia, MATLAB, Python, and R.
Warm-spectrum light and dark themes with vibrant syntax highlighting for C++, JavaScript/TypeScript (including JSX/TSX), Julia, MATLAB, Python, and R.
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 |
|---|---|---|
| constant.other.color | #ffffff | — |
| invalid, invalid.illegal | #FF5370 | — |
| punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #333334 | — |
| punctuation.separator.comma, punctuation.separator.parameter, punctuation.separator.delimiter, punctuation.terminator.statement, punctuation.accessor | #333333 | — |
| punctuation.definition.string, punctuation.definition.string.begin, punctuation.definition.string.end | #476ae0 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #4063D8 | — |
| meta.function-call, variable.function, keyword.other.special-method | #4063D8 | — |
| meta.block variable.other | #333333 | — |
| constant.numeric, support.constant, keyword.other.unit | #e77b00 | — |
| constant.other.symbol, constant.other.key, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #476ae0 | — |
| entity.name.class, entity.name.type, entity.name.struct, entity.name.interface, entity.other.inherited-class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #389826 | — |
| 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 | #389826 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #389826 | — |
| entity.name.method.js | #4063D8 | |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #4063D8 | — |
| entity.other.attribute-name | #4063D8 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #a9b7c6 | |
| entity.other.attribute-name.class | #389826 | — |
| source.sass keyword.control | #CB3C33 | — |
| markup.inserted | #389826 | — |
| markup.deleted | #CB3C33 | — |
| markup.changed | #e77b00 | — |
| string.regexp | #476ae0 | — |
| constant.character.escape | #333333 | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #4063D8 | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #333333 | |
| source.json meta.structure.dictionary.json support.type.property-name.json | #333333 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #4063D8 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #333333 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #4063D8 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #333333 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #4063D8 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #333333 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #4063D8 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #333333 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #333333 | — |
| text.html.markdown markup.inline.raw.markdown | #476ae0 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #333333 | — |
| markdown.heading, markup.heading entity.name, markup.heading markup.bold, markup.heading punctuation.definition.heading.markdown | #4063D8 | bold |
| markup.italic | #CB3C33 | italic |
| markup.bold | — | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #CB3C33 | bold |
| markup.underline | #e77b00 | underline |
| markup.quote punctuation.definition.blockquote.markdown | #a9b7c6 | — |
| markup.quote | — | italic |
| text.html.markdown string.other.link | #4063D8 | — |
| string.other.link.description.title.markdown | #476ae0 | — |
| constant.other.reference.link.markdown | #e77b00 | — |
| markup.inline.raw.string.markdown | #476ae0 | — |
| markup.raw.block | #476ae0 | — |
| punctuation.definition.list.begin.markdown | #e77b00 | — |
| markup.fenced_code.block.markdown punctuation.definition, markup.fenced_code.block.markdown fenced_code.block.language | #666666 | — |
| markup.raw.block.fenced.markdown, punctuation.definition.fenced.markdown | #00000050 | — |
| variable.language.fenced.markdown, punctuation.section.class.end | #333333 | — |
| meta.separator | #a9b7c6 | bold |
| markup.table | #333333 | — |
| comment, punctuation.definition.comment, comment.line.number-sign.julia | #546E7A | |
| string | #476ae0 | — |
| constant.numeric.julia, source.js storage.type.numeric, source.ts storage.type.numeric | #e77b00 | — |
| variable.other.readwrite.matlab, support.other.variable, variable.other.constant | #333333 | — |
| entity.name.namespace, support.variable.property, support.variable.tsx | #333333 | — |
| support.function.macro.julia, entity.name.function.decorator.python | #4063D8 | — |
| entity.name.function.julia, meta.function support.function.magic, meta.function entity.name.function, meta.definition.function.js, meta.definition.function.tsx, entity.name.function.definition.cpp, meta.function.definition.cpp entity.name.function.definition.cpp, meta.function.declaration.matlab entity.name.function.matlab | #e77b00 | — |
| support.function.julia, source.python meta.function-call, meta.function-call support.function, meta.function-call meta.function-call.generic, meta.function-call entity.name.function constant.numeric, meta.function meta.function-call entity.name.function, meta.function-call.tsx, new.expr keyword.operator.new, entity.name.function.call.cpp, entity.name.function.member.cpp, meta.function-call.parens.matlab entity.name.function.matlab, text.tex.latex support.function | #4063D8 | — |
| meta.function-call.arguments, variable.parameter.function-call.r, variable.parameter.function-call.python, source.python meta.function-call meta.function-call.arguments | #333333 | — |
| variable.parameter.function.language.r, variable.parameter.function.language.python, variable.parameter.output.matlab, variable.parameter.input.matlab | #333333 | — |
| keyword.operator.arithmetic | #333333 | — |
| keyword.operator.assignment, keyword.operator.update, meta.function-call.r keyword.operator.assignment.r, meta.function.parameters.r keyword.operator.assignment.r, meta.function.parameters keyword.operator, keyword.operator.storage.at.matlab | #333333 | — |
| keyword.operator.dots.julia, punctuation.separator, punctuation.accessor.dot.matlab | #333333 | — |
| keyword.operator.assignment.r, keyword.operator.arrow.julia, punctuation.separator.annotation.result.python, meta.arrow storage.type.function.arrow.js, meta.arrow storage.type.function.arrow.js.jsx, meta.arrow storage.type.function.arrow.ts, meta.arrow storage.type.function.arrow.tsx | #f17821 | — |
| keyword.operator.range, meta.for keyword.operator.vector.colon.matlab | #e77b00 | — |
| keyword.operator.relational, keyword.operator.comparison, keyword.operator.ternary | #e77b00 | — |
| keyword.operator.logical, keyword.operator.relation.in.julia, keyword.operator.boolean.julia, keyword.operator.bitwise.julia, keyword.operator.isa.julia, keyword.operator.word.r, keyword.operator.other.r, keyword.operator.logical.js.jsx, keyword.operator.logical.tsx | #CB3C33 | — |
| support.type.julia, support.type.builtin.python, meta.function.parameters support.type, source.python meta.function support.type, support.type.primitive, source.cpp storage.type storage.type.built-in, source.cpp meta.parameter.cpp entity.name.type.parameter.cpp | #389826 | — |
| keyword.operator.relation.types.julia, punctuation.separator.annotation, keyword.operator.type.annotation, source.cpp punctuation.separator.scope-resolution | #666666 | — |
| meta.class storage.type.class, storage.type.function.python, storage.type.function.async.python | #CB3C33 | — |
| entity.name.type.class, meta.block.struct entity.name.type.struct, entity.name.type.enum | #333333 | — |
| constant.language.julia, constant.language.r, support.constant.misc.r, constant.language.python, constant.language.boolean | #389826 | — |
| source.matlab storage.modifier, source.js storage.modifier, source.ts storage.modifier, source.jsx storage.modifier, source.tsx storage.modifier, source.cpp storage.modifier, source.cpp storage.type.modifier | #e77b00 | — |
| keyword.control, keyword.other.julia, keyword.storage.modifier.julia, keyword.other.concept.cpp, storage.modifier.specifier.const.cpp, source.cpp keyword.other.using, source.c++ keyword.other.using, source.cpp storage.type.struct.cpp, source.c++ storage.type.struct.cpp, storage.type.function.tsx, meta.type.declaration storage.type.type, storage.type.function.matlab, storage.type.function.end.matlab, source.js storage.type, source.ts storage.type, meta.var.expr.js.jsx storage.type.js.jsx, meta.var.expr.tsx storage.type.tsx, text.tex.latex keyword.other | #CB3C33 | — |
| keyword.operator.applies.julia, keyword.operator.pipe.r | #e0c841 | — |
| string.docstring.julia, string.docstring.julia punctuation.definition.string.begin.julia, string.docstring.julia punctuation.definition.string.end.julia | #848BBD | — |
| docstring.julia.codeblock meta.embedded.block.julia | #333333 | — |
| keyword.operator.interpolation.julia | #4063D8 | — |
| constant.character.escape.julia | #333333 | — |
| constant.other.symbol.julia | #CB3C33 | — |
| variable.interpolation.julia | #333333 | — |
| constant.global.julia, source.julia variable.language, keyword.operator.relation.julia, keyword.operator.ternary.julia | #9558B2 | — |
| source.cpp storage.type.template, source.c++ storage.type.template | #6192cc | — |
| source.cpp meta.qualified_type.cpp entity.name.type.cpp, source.c++ meta.qualified_type.cpp entity.name.type.cpp | #389826 | — |
| source.cpp punctuation.accessor.scope-resolution, source.c++ punctuation.accessor.scope-resolution | #333333 | — |
| source.cpp keyword.other.unit, source.c++ keyword.other.unit, source.cpp keyword.operator.minus.exponent, source.c++ keyword.operator.minus.exponent | #e77b00 | — |
| keyword.other.r | #e77b00 | — |
| constant.character.escape.r | #333333 | — |
| keyword.accessor.dollar.r | #4063D8 | — |
| storage.type.r | #4063D8 | — |
| support.namespace.r | #333333 | — |
| punctuation.accessor.colons.r | #333333 | — |
| meta.function.parameters variable.parameter.function.language.special.self, variable.language.special.self | #e77b00 | — |
| string.regexp.quoted.single.python storage.type.string.python, meta.fstring.python storage.type.string.python | #4063D8 | — |
| meta.fstring.python storage.type.format.python | #e77b00 | — |
| entity.other.inherited-class.python | #476ae0 | — |
| support.type.exception.python | #4063D8 | — |
| storage.type.imaginary.number.python | #e77b00 | — |
| storage.type.number.python | #e77b00 | — |
| meta.function-call keyword.operator.vector.colon.matlab | #333333 | — |
| meta.object-literal.key | #4063D8 | — |
| meta.math.block.tex, meta.math.block.latex, text.tex.latex punctuation.definition.string.begin, text.tex.latex punctuation.definition.string.end | #e77b00 | — |
| variable.parameter.definition.label.tex, variable.parameter.definition.label.latex | #e77b00 | — |
| meta.citation.latex | #476ae0 | — |
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}!`;
}