Quantum Synthwave
Publisher: GatomontesRoseIIIThemes in package: 1
A Synthwave-inspired colour theme to satisfy your neon dreams
A Synthwave-inspired colour theme to satisfy your neon dreams
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 |
|---|---|---|
| source.json meta.structure.dictionary.json support.type.property-name.json, 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 | #6267FF | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, 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 | #89DDFF | — |
| 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, 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 | #ff7edb | bold |
| 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, 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 | #c562ff | — |
| 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 | #c0caf5 | — |
| punctuation.support.type.property-name.begin.json.comments, punctuation.support.type.property-name.end.json.comments, punctuation.separator.dictionary.key-value.json.comments | #89DDFF | — |
| string.regexp | #f97e72 | — |
| markup.underline.link | #DD5500 | — |
| string.other.link.description | #f97e72 | — |
| keyword.other.unit | #f97e72 | — |
| entity.other.inherited-class | #DD5500 | — |
| punctuation.separator.delimiter | #FFFFFF | — |
| variable.other.php, variable.other.rust | #ff7edb | bold |
| support.function.basic_functions.php, support.function.var.php | #0DB9D7 | — |
| variable.language | #fe4450 | — |
| variable.language.this | #fede5d | — |
| variable.language.this | #ffe2fd | — |
| storage.type | #72f1b8 | — |
| constant.language | #FF6887 | — |
| constant.character.escape | #36f9f6 | — |
| punctuation.section.embedded | #fede5d | — |
| markup.heading, entity.name.section | #ff7edb | bold |
| markup.quote | #b6b1b1cc | italic |
| beginning.punctuation.definition.list | #ff7edb | bold |
| markup.underline.link.markdown, markup.inline.raw.string.markdown | #42FF9E | italic |
| string.other.link.title.markdown | #fede5d | — |
| markup.heading.markdown, entity.name.section.markdown | #ff7edb | bold |
| markup.italic.markdown | #2EE2FA | — |
| markup.bold.markdown | #2EE2FA | — |
| punctuation.definition.quote.begin.markdown, markup.quote.markdown | #42FF9E | — |
| keyword.operator.new, keyword.other.new, keyword.operator.expression, keyword.operator.logical | #fede5d | — |
| support.function | #36f9f6 | — |
| entity.other.attribute-name.id | #36f9f6 | — |
| entity.other.attribute-name.class, meta.at-rule.mixin.scss entity.name.function.scss | #42FF9E | — |
| entity.other.attribute-name.parent-selector-suffix punctuation.definition.entity.css | #6267FF | — |
| entity.name.tag.css | #FF6887 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #36f9f6 | — |
| keyword.control.at-rule.apply.tailwind, entity.name.tag.reference.scss | #C562FF | — |
| variable.scss | #0DB9D7 | — |
| variable.parameter.keyframe-list.css, meta.at-rule.keyframes.scss | #00f150 | — |
| keyword.control.at-rule.keyframes.scss, keyword.control.at-rule.keyframes.css | #FEDE5D | — |
| entity.other.keyframe-offset.css, entity.other.attribute-name.scss | #b267e6 | — |
| meta.at-rule.mixin keyword.control.at-rule.mixin, meta.at-rule.include entity.name.function.scss, meta.at-rule.include keyword.control.at-rule.include | #FEDE5D | — |
| keyword.control.at-rule.include punctuation.definition.keyword, keyword.control.at-rule.mixin punctuation.definition.keyword, meta.at-rule.include keyword.control.at-rule.include, keyword.control.at-rule.extend punctuation.definition.keyword, meta.at-rule.extend keyword.control.at-rule.extend, entity.other.attribute-name.placeholder.css punctuation.definition.entity.css, meta.at-rule.media keyword.control.at-rule.media, meta.at-rule.mixin keyword.control.at-rule.mixin, meta.at-rule.function keyword.control.at-rule.function, keyword.control punctuation.definition.keyword | #FEDE5D | — |
| support.type.property-name.css | #ff7edb | bold |
| support.constant.font-name, meta.definition.variable | #4786FF | — |
| punctuation.definition.constant.css, support.constant.color.w3c-standard-color-name.css | #36F9F6 | bold |
| constant.other.color.rgb-value.hex.css | #36F9F6 | — |
| constant.numeric.css | #6267FF | bold |
| keyword.other.unit.px.css, keyword.other.unit.deg.css, keyword.other.unit.s.css, keyword.other.unit.percentage.css, keyword.other.unit.rem.css, keyword.other.unit.em.css, keyword.other.unit.vh.css, keyword.other.unit.dvh.css, keyword.other.unit.vw.css, keyword.other.unit.dvw.css, keyword.other.unit.ch.css, keyword.other.unit.cw.css | #4786FF | bold |
| support.function.misc.scss, support.function.misc.css | #36F9F6 | — |
| entity.other.attribute-name.css | #fede5d | — |
| 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, support.type.vendored.property-name, support.type.map.key | #7aa2f7 | — |
| punctuation.definition.entity, punctuation.definition.entity, entity.other.attribute-name.class punctuation.definition.entity, entity.name.tag.reference | #e0af68 | — |
| meta.property-list | #9abdf5 | — |
| meta.property-list meta.at-rule.if, meta.at-rule.return variable.parameter.url, meta.property-list meta.at-rule.else | #ff9e64 | — |
| meta.property-list meta.property-list | #9abdf5 | — |
| meta.property-list meta.at-rule.include | #c0caf5 | — |
| support.constant.property-value | #B267E6 | — |
| comment | #848bbd | italic |
| string.quoted, punctuation.definition.string, meta.import.js, string.template, support.other.namespace.php | #42FF9E | — |
| punctuation.definition.string.end.ts, punctuation.definition.string.begin.ts, punctuation.definition.string.template | #89DDFF | — |
| string.template meta.embedded.line | #b6b1b1 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #4786FF | — |
| switch-block.expr.js | #42FF9E | — |
| constant.numeric | #2ac3dd | — |
| constant.numeric | #b267e6 | — |
| entity.name.type, entity.other.inherited-class, support.class, punctuation.decorator.ts, punctuation.decorator.tsx | #fe4450 | — |
| entity.name | #fe4450 | — |
| entity.name.function, variable.function | #36f9f6 | — |
| variable.other.constant.property.js, variable.other.property.js | #ff7edb | bold |
| meta.object-literal.key, support.type.property-name | #ff7edb | bold |
| variable.parameter, meta.parameter | #c562ff | — |
| keyword.control | #fede5d | — |
| keyword.other.import, keyword.control.export, keyword.control.import, keyword.other.use.php, keyword.other.rust, keyword.other.use-as.php | #6267ff | — |
| storage.modifier | #6267ff | — |
| support.type.primitive, keyword.other.type.php | #6267ff | — |
| storage.type, keyword.other.namespace.php, keyword.other.class.php | #6267ff | — |
| keyword.operator | #FEDE5D | — |
| storage.type.function, keyword.other.fn.rust | #b267e6 | — |
| storage.type.function.arrow | #fede5d | — |
| entity.name.tag, meta.tag.sgml, entity.name.tag.js.jsx | #ff6887 | — |
| support.class.component.js.jsx, support.class.component.tsx, support.tag.custom.html, support.class.component.astro | #fe4450 | — |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag, punctuation.definition.tag.end.js.jsx, punctuation.definition.tag.begin.js.jsx, punctuation.definition.tag.js.jsx | #BA3C97 | — |
| entity.other.attribute-name.html, entity.other.attribute-name.tsx, entity.other.attribute-name.js.jsx, entity.other.attribute-name.astro | #c562ff | — |
| entity.other.ng-binding-name.property.html | #b267e6 | — |
| entity.other.ng-binding-name.event.html | #36F9F6 | — |
| string.quoted.double.html, string.quoted.double.tsx, string.quoted.double.js.jsx | #42FF9E | — |
| punctuation.definition.string.begin.html, punctuation.definition.string.end.html, punctuation.definition.string.end.tsx, punctuation.definition.string.begin.tsx, punctuation.definition.string.begin.js.jsx, punctuation.definition.string.end.js.jsx, punctuation.definition.string.begin.astro, punctuation.definition.string.end.astro | #89DDFF | — |
| punctuation.separator.key-value.html, punctuation.separator.key-value.js.jsx, punctuation.separator.key-value.astro, punctuation.separator.key-value, keyword.operator.assignment.tsx | #FEDE5D | — |
| text.html, text.astro, source.tsx, source.js.jsx | #ccd4f3 | — |
| entity.other.ng-binding-name.ngFor.html | #fede5d | — |
| storage.type.ng | #F7768E | — |
| meta.definition.variable.ng | #4786ff | — |
| meta.definition.variable.initializer.ng | #0db9d7 | — |
| variable.other.readwrite.ts | #ff7edb | bold |
| meta.ng-binding.property.html | #ff7edb | — |
| storage.modifier.async.ts | #00f150 | — |
| keyword.other.definition.ini | #ff7edb | bold |
| source.ini | #0db9d7 | — |
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}!`;
}