Vexiun theme
Publisher: Rafinha-g3Themes in package: 3
Official Vexiun theme collection. Carefully crafted dark & light variants with semantic highlighting optimized for React, TypeScript, and Next.js. Clean. Minimal. Focused.
Official Vexiun theme collection. Carefully crafted dark & light variants with semantic highlighting optimized for React, TypeScript, and Next.js. Clean. Minimal. Focused.
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 | #6272a4 | italic |
| variable, string constant.other.placeholder | #ffffff | — |
| constant.other.color | #ffffff | — |
| invalid, invalid.illegal | #610b74 | — |
| storage.type, storage.modifier | #fc5585 | — |
| keyword | #ff79c6 | — |
| keyword.other.template, keyword.other.substitution, keyword.control, constant.other.color | #fc5585 | — |
| punctuation, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded | #FFFFFF | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #fc5585 | — |
| entity.name.function.tsx | — | italic |
| meta.decorator.ts, meta.decorator.ts entity.name.function.ts, entity.name.function.decorator.ts | #BD93F9 | — |
| meta.function-call.ts entity.name.function.ts, meta.function-call.ts support.function, entity.name.function.ts | #8BFDBA | — |
| meta.function.ts entity.name.function.ts, meta.definition.method.ts entity.name.function.ts, meta.method.declaration.ts entity.name.function.ts, meta.function.declaration.ts entity.name.function.ts | #F993A7 | — |
| entity.name.type.class.ts, entity.name.type.interface.ts, entity.name.type.ts, support.type | #8BFDBA | — |
| support.type.primitive.ts, keyword.type.ts | #8BFDBA | — |
| variable.parameter.ts, meta.parameters.ts variable.parameter.ts | #FFB86C | — |
| variable.other.property.ts, meta.member.expression.ts variable.other.property.ts | #FFFFFF | — |
| variable.other.constant.ts, support.constant | #BD93F9 | italic |
| meta.block variable.other | #ffffff | — |
| support.other.variable, string.other.link | #8bfdba | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #bd93f9 | — |
| variable.parameter.tsx | #ffffff | — |
| string | #fa8c8c | — |
| constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #8bfdba | — |
| entity.name.type, support.class, entity.name.type, entity.name.type.module.ts, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #8bfdba | — |
| support.type | #8bfdba | — |
| 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 | #ff79c6 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FF5370 | — |
| variable.language | #ffffff | italic |
| entity.name.method.js | #82AAFF | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #82AAFF | — |
| entity.other.attribute-name | #a25fff | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #00fbff | italic |
| entity.other.attribute-name.class | #07E6FA | — |
| source.sass keyword.control | #82AAFF | — |
| markup.inserted | #C3E88D | — |
| markup.deleted | #FF5370 | — |
| markup.changed | #C792EA | — |
| string.regexp | #00b7ff | — |
| constant.character.escape | #89DDFF | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #82AAFF | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF5370 | italic |
| source.json support.type.property-name.json | #F993A7 | — |
| source.json string.quoted.double.json, source.json string.quoted.single.json | #8BFDBA | — |
| source.json constant.numeric.json | #FFB86C | — |
| source.json constant.language.json | #8BFDBA | — |
| source.json punctuation.separator.dictionary.key-value.json, source.json punctuation.separator.dictionary.pair.json, source.json punctuation.separator.array.json, source.json punctuation.definition.dictionary.begin.json, source.json punctuation.definition.dictionary.end.json, source.json punctuation.definition.array.begin.json, source.json punctuation.definition.array.end.json | #65737E | — |
| text.html.markdown | #EEFFFF | — |
| markup.heading.markdown, entity.name.section.markdown | #8BFDBA | bold |
| markup.bold.markdown, punctuation.definition.bold.markdown | #F993A7 | bold |
| markup.italic.markdown, punctuation.definition.italic.markdown | #BD93F9 | italic |
| markup.inline.raw.markdown, punctuation.definition.raw.markdown | #FFB86C | — |
| markup.raw.block.fenced.markdown, markup.fenced_code.block.markdown | #EEFFFF | — |
| punctuation.definition.fenced.markdown | #65737E | — |
| string.other.link.title.markdown | #8BFDBA | underline |
| markup.underline.link.markdown, markup.link.markdown, string.other.link.description.markdown | #65737E | — |
| markup.quote.markdown, punctuation.definition.blockquote.markdown | #65737E | italic |
| punctuation.definition.list.begin.markdown | #F993A7 | — |
| markup.table.markdown | #EEFFFF | — |
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}!`;
}