Fexend Theme
Publisher: FexendThemes in package: 6
A dark, vibrant Visual Studio Code theme inspired by Tailwind CSS and the Shades of Purple theme
A dark, vibrant Visual Studio Code theme inspired by Tailwind CSS and the Shades of Purple theme
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, comment.line, comment.block | #64748b | italic |
| string, string.quoted, string.template, string.quoted.single, string.quoted.double, string.quoted.triple, string.unquoted | #10b981 | italic |
| string.template, punctuation.definition.string.template.begin, punctuation.definition.string.template.end | #10b981 | italic |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #f97316 | italic |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #f59e0b | italic |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.nan | #ef4444 | bold italic |
| constant.other, constant.character, constant.other.color | #f59e0b | italic |
| variable, variable.other, variable.parameter, variable.assignment | #ffffff | italic |
| variable.other.property, variable.other.object.property, meta.object-literal.key | #06b6d4 | italic |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.other | #f97316 | bold italic |
| storage.type, storage.modifier, storage.type.class, storage.type.function, storage.type.var | #f97316 | bold italic |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical | #f97316 | italic |
| entity.name.function, support.function, meta.function-call, variable.function | #22d3ee | bold italic |
| entity.name.class, entity.name.type.class, support.class | #fbbf24 | bold italic |
| entity.name.type, support.type, entity.other.inherited-class | #06b6d4 | italic |
| entity.name.tag, meta.tag, punctuation.definition.tag | #f97316 | italic |
| entity.other.attribute-name, entity.other.attribute-name.html | #fbbf24 | italic |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #f97316 | italic |
| support.type.property-name.css | #06b6d4 | italic |
| support.constant.property-value.css, constant.numeric.css | #10b981 | italic |
| support.type.property-name.json, string.quoted.double.json support.type.property-name.json | #06b6d4 | italic |
| string.quoted.double.json, constant.numeric.json | #10b981 | italic |
| constant.character.escape, constant.character.escape.backslash | #ef4444 | italic |
| invalid, invalid.illegal, invalid.deprecated | #ef4444 | underline italic |
| markup.deleted, meta.diff.header.from-file | #ef4444 | italic |
| markup.inserted, meta.diff.header.to-file | #10b981 | italic |
| markup.changed | #f59e0b | italic |
| markup.heading, entity.name.section.markdown | #f97316 | bold italic |
| punctuation.definition.heading.markdown, punctuation.definition.heading.setext | #fb7185 | — |
| markup.bold | #fbbf24 | bold italic |
| punctuation.definition.bold.markdown | #f59e0b | — |
| markup.italic | #22d3ee | italic |
| punctuation.definition.italic.markdown | #22d3ee | — |
| markup.strikethrough | #ef4444 | strikethrough italic |
| punctuation.definition.strikethrough.markdown | #ef4444 | — |
| markup.inline.raw, markup.fenced_code, markup.raw.block.markdown | #10b981 | italic |
| punctuation.definition.raw.markdown, punctuation.definition.markdown | #10b981 | — |
| fenced_code.block.language.markdown, markup.fenced_code.block.markdown | #fbbf24 | italic |
| markup.underline.link | #06b6d4 | italic |
| string.other.link.title.markdown, meta.link.inline.markdown | #7c86ff | italic |
| punctuation.definition.link.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #94a3b8 | — |
| markup.list, punctuation.definition.list.begin.markdown | #fb7185 | — |
| markup.quote | #94a3b8 | italic |
| punctuation.definition.quote.begin.markdown | #64748b | — |
| meta.separator.markdown | #475569 | — |
| punctuation.separator.table-cell.markdown, punctuation.section.table-header.markdown | #64748b | — |
| entity.name.tag.yaml | #06b6d4 | italic |
| string.unquoted.yaml | #10b981 | italic |
| text.html, text.xml | #ffffff | italic |
| punctuation.separator, punctuation.terminator, punctuation.accessor | #94a3b8 | italic |
| punctuation.section.brackets, punctuation.section.parens, punctuation.section.braces | #94a3b8 | italic |
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}!`;
}