Arctone
Publisher: kh4fThemes in package: 1
❄️ Polar Night VS Code Theme
❄️ Polar Night VS Code 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 |
|---|---|---|
| string | #FF5640 | — |
| punctuation, constant.other.symbol | #89DDFF | — |
| constant.character.escape, text.html constant.character.entity.named | #EEFFFF | — |
| constant.language.boolean | #ff3d67 | — |
| constant.numeric | #ff3953 | — |
| variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments | #e0e0e0 | — |
| keyword.other | #8A92A3 | italic |
| keyword, modifier, variable.language.this, support.type.object, constant.language | #89DDFF | — |
| entity.name.function, support.function | #19ddf7 | — |
| storage.type, storage.modifier, storage.control | #8a92a3 | italic |
| support.module, support.node | #F07178 | italic |
| support.type, constant.other.key | #FFCB6B | — |
| entity.name.type, entity.other.inherited-class, entity.other | #FF5640 | — |
| comment | #4A4A4A | italic |
| comment punctuation.definition.comment, string.quoted.docstring | #4A4A4A | italic |
| punctuation | #89DDFF | — |
| entity.name, support.class, meta.use | #FF702E | — |
| entity.name.section.markdown | #d9e71a | — |
| entity.name.type.class | #ff4a2b | — |
| support.type | #ff702e | — |
| variable.object.property | #bec6df | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #89DDFF | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #EEFFFF | — |
| support.type.property-name.json | #a7beff | — |
| meta.object-literal.key, meta.object-literal.key string | #c4abff | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | — | — |
| constant.language.json | #89DDFF | — |
| entity.other.attribute-name.class | #FF702E | — |
| entity.other.attribute-name.id | #FF5640 | — |
| support.type.property-name.css | #A7BEFF | — |
| meta.tag, punctuation.definition.tag | #89DDFF | — |
| entity.name.tag | #00d9ff | — |
| entity.name.tag.yaml | #A7BEFF | — |
| entity.other.attribute-name | #979DBE | — |
| punctuation.definition.entity.html | #EEFFFF | — |
| markup.heading | #89DDFF | — |
| text.html.markdown meta.link.inline, meta.link.reference | #F07178 | — |
| text.html.markdown beginning.punctuation.definition.list | #89DDFF | — |
| markup.italic | #F07178 | italic |
| markup.bold | #FF702E | bold |
| markup.bold markup.italic, markup.italic markup.bold | #F07178 | italic bold |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #C3E88D | — |
| markup.inline.raw.string.markdown | #23deff | — |
| keyword.other.definition.ini | #F07178 | — |
| entity.name.section.group-title.ini | #89DDFF | — |
| source.cs meta.class.identifier storage.type | #FFCB6B | — |
| source.cs meta.method.identifier entity.name.function | #F07178 | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #82AAFF | — |
| source.cs storage.type | #FFCB6B | — |
| source.cs meta.method.return-type | #FFCB6B | — |
| source.cs meta.preprocessor | #4A4A4A | — |
| source.cs entity.name.type.namespace | #EEFFFF | — |
| meta.jsx.children, SXNested | #EEFFFF | — |
| support.class.component | #00ff9d | — |
| source.cpp meta.block variable.other | #EEFFFF | — |
| source.python meta.member.access.python | #F07178 | — |
| source.python meta.function-call.python, meta.function-call.arguments | #82AAFF | — |
| meta.block | #FF8B07 | — |
| source.php support.other.namespace, source.php meta.use support.class | #EEFFFF | — |
| constant.keyword | #89DDFF | italic |
| meta.var.expr meta.function-call entity.name.function | #30b1fc | — |
| new.expr.ts meta.function-call entity.name.function | #ff3b55 | — |
| meta.definition.method entity.name.function, meta.definition.function entity.name.function, meta.definition.variable entity.name.function, entity.name.function.python, meta.definition.property entity.name.function | #00e0ce | — |
| constant.other.placeholder | #F07178 | — |
| markup.deleted | #F07178 | — |
| markup.inserted | #C3E88D | — |
| markup.underline | #A7BEFF | underline |
| keyword | #81dbff | italic |
| keyword.operator | #81dbff | |
| keyword.control | #60dfff | italic |
| variable.parameter | #E0E0E0 | — |
| variable.parameter.function.language.special.self.python | #F07178 | italic |
| constant.character.format.placeholder.other.python | #FF8B07 | — |
| markup.quote | #89DDFF | italic |
| markup.fenced_code.block | #EEFFFF90 | — |
| punctuation.definition.quote | #FF3953 | — |
| meta.structure.dictionary.json support.type.property-name.json | #979DBE | — |
| 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 | #FF8B07 | — |
| 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 | #F07178 | — |
| 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 | #916B53 | — |
| 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 | #82AAFF | — |
| 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 | #FF9CAC | — |
| 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 | #C792EA | — |
| 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 | #C3E88D | — |
| ref.matchtext | #FFFFFF | — |
| string | #ff5640 | — |
| string.quoted | #ff5640 | — |
| string.regexp | #ff5640 | — |
| variable | #e0e0e0 | — |
| constant | #ff8b07 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}