Moonspell Themes
Publisher: OodriThemes in package: 5
Ethereal
Ethereal
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 | #403A56 | — |
| punctuation, constant.other.symbol | #726b8a | — |
| constant.character.escape, text.html constant.character.entity.named, punctuation.definition.entity.html | #DDA647 | — |
| constant.language.boolean | #7A64E8 | — |
| constant.language.null, constant.language.undefined | #7A64E899 | — |
| constant.numeric | #7A64E8 | — |
| variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments | #403A56 | — |
| keyword, keyword.other, modifier | #726b8a | — |
| constant.language.import-export-all | #169392 | — |
| variable.language.this, support.type.object, constant.language | #7A64E8 | — |
| entity.name.function, support.function | #9A8AF2 | — |
| storage.type, storage.modifier | #7A64E8 | — |
| support.module, support.node | #7A64E8 | italic |
| support.type, constant.other.key | #726b8a | — |
| entity.name.type, entity.other.inherited-class, entity.other | #726b8a | — |
| comment, punctuation.definition.comment | #726b8a | italic |
| punctuation | #726b8a | — |
| entity.name, entity.name.type.class, support.type, support.class, meta.use | #9A8AF2 | — |
| variable.object.property, meta.field.declaration entity.name.function | #9A8AF2 | — |
| meta.definition.method entity.name.function | #7A64E8 | — |
| meta.function entity.name.function | #9A8AF2 | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #7A64E8 | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #403A56 | — |
| entity.name.tag.yaml | #7A64E8 | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #9A8AF2 | — |
| constant.language.json | #7A64E8 | — |
| entity.other.attribute-name.class | #7A64E8 | — |
| entity.other.attribute-name.id | #7A64E8 | — |
| source.css entity.name.tag | #7A64E8 | — |
| support.type.property-name.css | #9A8AF2 | — |
| meta.tag, punctuation.definition.tag | #7A64E8 | — |
| entity.name.tag | #7A64E8 | — |
| entity.other.attribute-name | #9A8AF2 | italic |
| markup.heading | #726b8a | — |
| markup.inserted | #169392 | — |
| markup.deleted | #E03A81 | — |
| text.html.markdown meta.link.inline, meta.link.reference, text.html.markdown beginning.punctuation.definition.list, string.other.link.description.markdown, punctuation.definition.metadata.markdown | #D44FE2 | — |
| markup.italic | #3FAD45 | italic |
| markup.bold | #3FAD45 | bold |
| markup.underline.link.image, punctuation.definition.link.description.begin.markdown, string.other.link.title.markdown, string.other.link.description.markdown meta.image.inline.markdown meta.paragraph.markdown text.html.markdown, markup.underline.link.markdown meta.link.inline.markdown meta.paragraph.markdown text.html.markdown | #D44FE2 | bold |
| markup.bold markup.italic, markup.italic markup.bold | #3FAD45 | italic bold |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #3FAD45 | — |
| entity.name.section.markdown, punctuation.definition.heading.markdown | #7A64E8 | bold |
| punctuation.definition.comment.html | #7A64E8aa | — |
| punctuation.definition.inserted | #169392 | — |
| punctuation.definition.deleted | #E03A81 | — |
| markup.inline.raw.string.markdown | #7A64E8 | — |
| keyword.other.definition.ini | #726b8a | — |
| entity.name.section.group-title.ini | #726b8a | — |
| source.cs meta.class.identifier storage.type | #7A64E8 | — |
| source.cs meta.method.identifier entity.name.function | #7A64E8 | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #9A8AF2 | — |
| source.cs storage.type | #9A8AF2 | — |
| source.cs meta.method.return-type | #9A8AF2 | — |
| source.cs meta.preprocessor | #726b8a | — |
| source.cs entity.name.type.namespace | #403A56 | — |
| meta.jsx.children, SXNested | #403A56 | — |
| support.class.component | #726b8a | — |
| source.cpp meta.block variable.other | #403A56 | — |
| source.python meta.member.access.python | #7A64E8 | — |
| source.python meta.function-call.python, meta.function-call.arguments | #9A8AF2 | — |
| meta.block | #726b8a | — |
| entity.name.function.call | #9A8AF2 | — |
| source.php support.other.namespace, source.php meta.use support.class | #403A56 | — |
| keyword.control | #726b8a | italic |
| keyword.operator.arithmetic | #726b8a | — |
| markup.quote | #169392 | italic |
| markup.fenced_code.block | #726b8a | — |
| punctuation.definition.quote | #726b8a | — |
| meta.structure.dictionary.json support.type.property-name.json | #9A8AF2 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #9A8AF2 | — |
| 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 | #3FAD45 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #3FAD45 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json support.type.property-name.json | #7A64E8 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json support.type.property-name.json | #9A8AF2 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json support.type.property-name.json | #3FAD45 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json support.type.property-name.json | #7A64E8 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json support.type.property-name.json | #169392 | — |
| token.info-token | #169392 | — |
| token.warn-token | #9A8AF2 | — |
| token.error-token | #E03A81 | — |
| token.debug-token | #3FAD45 | — |
| punctuation.definition.list.begin.markdown | #9A8AF2 | — |
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}!`;
}