Galizur Theme
Publisher: Raziel AnarkiThemes in package: 1
A spellbound, vibrant dark editor color scheme with matching UI theme for 𝗩𝗦𝗖𝗢𝗗𝗘
A spellbound, vibrant dark editor color scheme with matching UI theme for 𝗩𝗦𝗖𝗢𝗗𝗘
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 | #556677 | italic |
| comment.block.documentation | #339966 | italic |
| constant | #5599cc | — |
| constant.character, meta.shebang, keyword.control.import.reg | #2288aa | — |
| constant.character.escape | #008866 | — |
| constant.language, constant.other.option, constant.other.option.dash | #aa6633 | — |
| constant.other | #3377aa | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent, constant.other.color.rgb-value.hex, punctuation.definition.constant, meta.diff.range | #33aacc | — |
| entity.name | #4477cc | — |
| entity.name.function.preprocessor | #33bb99 | — |
| entity.name.class, support.class | #0088cc | — |
| entity.name.function, entity.name.command | #ccaa11 | — |
| entity.name.method, entity.name.function.member | #ccaa33 | — |
| entity.name.tag | #cc7733 | — |
| entity.name.section | #2288cc | — |
| entity.other.attribute-name, support.function.regname, string.key.json5 | #9955dd | — |
| invalid | #aa6633 | underline |
| invalid.illegal | #aa1133 | underline |
| invalid.illegal.annotation | #3377aa | |
| invalid.deprecated | #aa4466 | |
| keyword, keyword.control, storage.type.js, storage.type.function | #cc7733 | — |
| keyword.blade, keyword.control.blade, meta.directive.blade | #cc2255 | — |
| keyword.control.directive, punctuation.definition.directive, storage.type.format, support.type | #3399aa | — |
| keyword.file.content.ignore, string.directory.content.ignore | #668844 | — |
| keyword.operator | #778899 | — |
| keyword.operator.list, keyword.operator.pipe, keyword.operator.expression | #cc7733 | — |
| keyword.operator.logical | #996633 | — |
| keyword.operator.redirect | #446677 | — |
| keyword.other | #779955 | — |
| keyword.other.dotenv | #779955 | — |
| markup.deleted.negate.content.ignore | #446677 | — |
| meta.preprocessor | #3399aa | — |
| source, text | #aabbcc | |
| source.diff | #667788 | — |
| markup.bold, strong | — | bold |
| markup.deleted.negate.content.ignore | #446677 | — |
| markup.italic, emphasis | — | italic |
| markup.underline | — | underline |
| markup.fenced_code.block, markup.inline.raw, markup.raw | #778899 | — |
| string, markup.quote | #77aa33 | — |
| punctuation.definition.inserted, punctuation.definition.to-file, meta.diff.header.to-file | #88cc66 | |
| punctuation.definition.deleted, punctuation.definition.from-file, meta.diff.header.from-file | #cc6688 | |
| punctuation.definition.deleted, punctuation.definition.inserted, punctuation.definition.from-file, punctuation.definition.to-file | — | bold |
| meta.diff.header.from-file, meta.diff.header.to-file | — | underline |
| markup.inserted | #66cc88 | — |
| markup.changed | #6688cc | — |
| markup.deleted | #aa6688 | |
| punctuation.definition.variable | #666DDD | — |
| punctuation.definition.heading, markup.heading | #9955cc | — |
| punctuation.definition.string | #77aa33 | — |
| punctuation.section, punctuation.definition.range | #336699 | — |
| punctuation.separator, punctuation.definition.evaluation | #aa8822 | — |
| punctuation.accessor.js | #aa6622 | — |
| keyword.operator.assignment, punctuation.separator.key-value, punctuation.separator.dictionary.key-value, punctuation.terminator | #557788 | — |
| meta.separator, punctuation.definition, punctuation.definition source, punctuation.definition.list, meta.tag.xml | #556677 | — |
| meta.brace, support.function.construct, support.function.construct source | #557788 | — |
| variable | #666ddd | — |
| variable.other.bracket | #4488cc | — |
| variable.language, support.function, support.function.misc | #aa6655 | — |
| property, support.variable.property | #9955dd | — |
| variable.parameter | #8855cc | — |
| storage.modifier | #aa6633 | — |
| storage.type, keyword.other.type | #00aacc | — |
| support.constant, variable.other.constant | #3377cc | — |
| support.type.property-name | #9955dd | — |
| meta.diff.header, header | #9977dd | underline |
| meta.link, meta.link.reference | #3377cc | underline |
| string.other.link.title | #3399ff | — |
| constant.other.symbol.negate.ignore | #aa7733 | — |
| constant.other.symbol.asterisk.ignore | #77aa22 | — |
| constant.separator.directory.ignore, constant.restriced.file.ignore, constant.character.directory.ignore | #448866 | — |
| entity.gitconfig, entity.name.tag.gitconfig | #2288cc | — |
| support.gitconfig | #557788 | — |
| storage.gitconfig, variable.other.constant.object.gitconfig | #8855dd | — |
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}!`;
}