Arcane Color Theme
Publisher: Papa Ours PolaireThemes in package: 1
Thème sombre inspiré de l'univers Arcane (League of Legends) pour Visual Studio Code.
Thème sombre inspiré de l'univers Arcane (League of Legends) pour Visual Studio Code.
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 |
|---|---|---|
| variable, string constant.other.placeholder, invalid.deprecated, keyword, storage.type, storage.modifier | #416EF2 | — |
| variable, string constant.other.placeholder, entity.name.function, punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | — | italic |
| punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | #6589F2 | — |
| constant.other.php | #416EF2 | — |
| constant.other.color | #0FF2F2 | — |
| invalid, invalid.illegal | #034AA6 | — |
| Keyword, Storage | — | italic |
| keyword.control, punctuation.definition.tag, punctuation, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, entity.name.tag.reference.scss | #E84B8B | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.name.type.module.js | #E84B8B | — |
| keyword.control.at-rule, punctuation.terminator.rule.css, keyword.control.operator, punctuation.definition.entity.css, keyword.operator.assignment.js | #EB3969 | — |
| comment, punctuation.definition.comment | #2AAB80 | italic |
| string, constant.other.symbol | #6589F2 | — |
| constant.numeric, constant.language | #0FF2F2 | — |
| entity.name.function, meta.require, support.function.any-method | #0FF2F2 | — |
| entity.name.tag | #EB3969 | — |
| entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, entity.other.attribute-name.html | #416EF2 | — |
| support.type | #B2CCD6 | — |
| 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 | #E84B8B | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #0FF2F2 | — |
| entity.name.method.js, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #0FF2F2 | italic |
| entity.other.attribute-name, support.function | #416EF2 | — |
| entity.other.attribute-name.id, entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.name.tag.css, keyword.control.conditional.js, support.constant, entity.other.attribute-name.html, string.quoted.single.js, storage.type.function.js, meta.object-literal.key | #0FF2F2 | — |
| source.scss keyword.control | #416EF2 | — |
| markup.inserted | #6589F2 | — |
| markup.deleted | #034AA6 | — |
| markup.changed | #416EF2 | — |
| string.regexp | #4FF7FF | — |
| constant.character.escape | #4FF7FF | — |
| *url*, *link*, *uri* | — | underline |
| source.js constant.other.object.key.js string.unquoted.label.js | #0FF2F2 | italic |
| support.type.property-name.json | #5b29ffa9 | — |
| text.html.markdown, punctuation.definition.list_item.markdown, meta.paragraph.markdown | #D0C8E8 | — |
| text.html.markdown markup.inline.raw.markdown | #416EF2 | — |
| punctuation.definition.raw.markdown, punctuation.definition.markdown | #4FF7FF | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, entity.name.section.markdown | #E84B8B | bold |
| markup.underline | #0FF2F2 | underline |
| markup.strike | — | |
| markup.quote punctuation.definition.blockquote.markdown | #EB3969 | — |
| markup.quote | — | italic |
| markup.italic, markup.italic.markdown, text.html.markdown markup.italic, text.html.markdown markup.italic.markdown | #4FF7FF | italic |
| punctuation.definition.italic.begin.markdown, punctuation.definition.italic.end.markdown, punctuation.definition.italic.markdown | #4FF7FF | italic |
| markup.bold, markup.bold.markdown, text.html.markdown markup.bold, text.html.markdown markup.bold.markdown | #EB3969 | bold |
| punctuation.definition.bold.begin.markdown, punctuation.definition.bold.end.markdown, punctuation.definition.bold.markdown | #EB3969 | bold |
| markup.bold markup.italic, markup.italic markup.bold, text.html.markdown markup.bold markup.italic | #E84B8B | bold italic |
| string.other.link.description.title.markdown | #416EF2 | — |
| constant.other.reference.link.markdown | #416EF2 | — |
| markup.raw.block | #416EF2 | — |
| variable.language.fenced.markdown | #EB3969 | — |
| meta.separator | #A7A8AF | bold |
| token.info-token | #EB3969 | — |
| token.warn-token | #416EF2 | — |
| token.error-token | #FF293B | — |
| token.debug-token | #4FF7FF | — |
| variable.language.special.self.python, variable.language.special.cls.python | #EB3969 | italic |
| entity.name.function.decorator.python, meta.function.decorator.python, punctuation.definition.decorator.python | #E84B8B | italic |
| meta.fstring.python, constant.character.format.placeholder.other.python | #4FF7FF | — |
| support.function.builtin.python | #0FF2F2 | — |
| support.function.magic.python | #6589F2 | italic |
| storage.modifier.lifetime.rust, entity.name.lifetime.rust, punctuation.definition.lifetime.rust | #3DEBAA | italic |
| support.macro.rust, entity.name.function.macro.rust | #4FF7FF | — |
| storage.type.rust, entity.name.type.rust | #3DEBAA | — |
| meta.attribute.rust, punctuation.definition.attribute.rust | #E84B8B | italic |
| variable.language.self.rust | #EB3969 | italic |
| variable.other.php, variable.language.this.php, punctuation.definition.variable.php | #0FF2F2 | — |
| keyword.operator.class.php, punctuation.separator.inheritance.php | #E84B8B | — |
| support.other.namespace.php, meta.use.php | #416EF2 | — |
| entity.name.type.ts, entity.name.type.tsx, entity.name.interface.ts | #3DEBAA | — |
| meta.type.parameters.ts, meta.type.parameters.tsx | #4FF7FF | — |
| meta.type.annotation.ts, meta.type.annotation.tsx | #6589F2 | — |
| entity.name.type.enum.ts | #3DEBAA | — |
| entity.name.tag.tsx, entity.name.tag.jsx, support.class.component.tsx, support.class.component.jsx | #3DEBAA | — |
| entity.other.attribute-name.tsx, entity.other.attribute-name.jsx | #0FF2F2 | — |
| entity.name.tag.yaml, meta.mapping.key.yaml string.unquoted.plain.out.yaml | #0FF2F2 | — |
| string.unquoted.plain.out.yaml, meta.mapping.value.yaml | #6589F2 | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml, punctuation.definition.anchor.yaml, punctuation.definition.alias.yaml | #EB3969 | — |
| variable.other.normal.shell, variable.other.bracket.shell, punctuation.definition.variable.shell | #0FF2F2 | — |
| support.function.builtin.shell | #3DEBAA | — |
| string.unquoted.argument.shell | #4FF7FF | — |
| comment.line.shebang.shell | #EB3969 | bold |
| keyword.other.sql, keyword.other.DML.sql, keyword.other.DDL.create.sql | #EB3969 | bold |
| support.function.aggregate.sql | #0FF2F2 | — |
| entity.name.function.sql | #3DEBAA | — |
| entity.name.package.go, keyword.import.go | #416EF2 | — |
| storage.type.go | #3DEBAA | — |
| keyword.channel.go, keyword.go | #EB3969 | — |
| variable.other.property.go | #0FF2F2 | — |
| constant.other.symbol.ruby, punctuation.definition.constant.ruby | #4FF7FF | — |
| variable.other.readwrite.instance.ruby, variable.other.readwrite.class.ruby, punctuation.definition.variable.ruby | #0FF2F2 | — |
| punctuation.section.embedded.begin.ruby, punctuation.section.embedded.end.ruby | #EB3969 | — |
| meta.declaration.annotation.java, punctuation.definition.annotation.java, storage.type.annotation.java | #E84B8B | italic |
| storage.type.primitive.java | #3DEBAA | — |
| variable.language.this.java | #EB3969 | italic |
| markup.inserted.diff, meta.diff.header.to-file | #3DEBAA | — |
| markup.deleted.diff, meta.diff.header.from-file | #FF293B | — |
| meta.diff.range.unified, punctuation.definition.range.diff | #416EF2 | — |
| variable.other.env | #0FF2F2 | — |
| string.unquoted.env, string.quoted.double.env, string.quoted.single.env | #6589F2 | — |
| punctuation.separator.key-value.env | #EB3969 | — |
| support.type.graphql, entity.name.type.graphql | #3DEBAA | — |
| variable.graphql | #0FF2F2 | — |
| entity.name.directive.graphql | #E84B8B | italic |
| keyword.key.toml | #0FF2F2 | — |
| entity.other.attribute-name.table.toml, punctuation.definition.table.toml | #EB3969 | — |
| keyword.control.directive.cpp, keyword.control.directive.c, punctuation.definition.directive.cpp | #E84B8B | — |
| storage.type.c, storage.type.cpp | #3DEBAA | — |
| storage.modifier.pointer.cpp, storage.modifier.reference.cpp | #4FF7FF | — |
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}!`;
}