Alolan Marowak Theme
Publisher: Henrique-OliveiraThemes in package: 1
Tema inspirado no Pokemon Marowak de Alola
Tema inspirado no Pokemon Marowak de Alola
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 |
|---|---|---|
| support.type.property-name.css, meta.property-name.scss, source.css.scss | #9f7db0 | italic |
| keyword.operator.comparison, keyword.control.loop.js, keyword.control.loop.ts, keyword.control.import.js, keyword.control.import.ts, keyword.control.import.tsx, keyword.control.from.js, keyword.control.from.ts, keyword.control.from.tsx, keyword.control.export, keyword.operator.instanceof.js, keyword.operator.expression.instanceof.ts, keyword.operator.expression.instanceof.tsx, storage.modifier.async | #6edad1 | — |
| storage.modifier.async | #6edad1 | italic |
| keyword, storage, support, variable.language, keyword.control.flow, storage.modifier, keyword.operator, entity.other.attribute-name.class.css, entity.other.keyframe-offset, markup.heading, markup.underline.link, variable.other.env, punctuation.definition.list.begin.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.markdown, punctuation.definition.quote.begin.markdown, punctuation.definition.raw.markdown, constant.length.units.css, constant.percentage.units.css | #9670a9 | — |
| string, markup.inserted, markup.raw, constant, source.env, support.type.builtin.graphql, variable.other.quoted.double, markup.inline.raw.string.markdown, entity.other.attribute-name.id.css, meta.jsx.children, JSXNested | #9f9d96 | — |
| entity.name.function, support.function, entity.name.function.elixir, entity.name.function-call.elixir, support.class.component, support.class.component.open, support.class.component.close, meta.function-call.generic.python, entity.name.section.markdown, storage.type.annotation.dart | #a889b8 | — |
| invalid, markup.deleted | #9e8d8f | — |
| string.unquoted, punctuation.separator, entity.other.attribute-name, meta.object-literal.key, variable.object.property, variable.other.property, variable.other.object.property, variable.other.constant.property, meta.type.annotation, support.type.vendored, constant.language.symbol.elixir, variable.graphql, meta.attribute.python, source.dart | #8d64a1 | — |
| variable, markup.list, support.constant.property-value.css, variable.parameter.keyframe-list.css, source.css, support.constant.font-name, support.constant.vendored.property-value, variable.parameter, meta.class, meta.method.declaration, parameter.variable.function.elixir, punctuation.definition.tag, punctuation.section.embedded, meta.embedded.expression, punctuation.terminator.dart, punctuation.dot.dart | #baa1c6 | — |
| comment, string.quoted.docstring.multi.python, punctuation.definition.comment | #776567 | — |
| entity.name.type, entity.name.class, support.class.builtin, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.quasi.element.begin, punctuation.quasi.element.end, entity.other.inherited-class, variable.other.constant.elixir, entity.other.attribute-name.class.css, support.class.dart | #7dded6 | — |
| meta.return.type, entity.name.type.interface, meta.type.annotation, meta.function.parameters, markup.italic.markdown | — | italic |
| markup.underline | — | underline |
| markup.bold.markdown, storage.type.annotation.dart | — | bold |
| support.type.property-name.json, meta.object-literal.key.json | #9f7db0 | italic |
| entity.name.tag.html, entity.name.tag.svg, entity.name.tag.xml | #5ed6cc | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.class.css, support.class.component.css | #4ed2c7 | — |
| meta.decorator | #3fcec2 | italic |
| meta.member.expression.js, variable.object.property, meta.property.access.js | #33c7bb | — |
| support.variable.builtin.js, support.global | #8de2db | — |
| punctuation.section.parens.begin, punctuation.section.parens.end, punctuation.section.brackets.begin, punctuation.section.brackets.end, punctuation.section.braces.begin, punctuation.section.braces.end, punctuation.definition.parameters.begin, punctuation.definition.parameters.end | #ccbad5 | — |
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}!`;
}