*Незабудка: Цветовые Темы
Publisher: Nezaboodka SoftwareThemes in package: 4
Цветовые Темы Незабудка (Nezaboodka Color Themes)
Цветовые Темы Незабудка (Nezaboodka Color Themes)
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded | #d0d0d0 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #608b4e | — |
| entity.name.tag | #93caec | — |
| entity.name.tag.css | #83f1c9 | — |
| entity.other.attribute-name | #ffc0c0 | |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #83f1c9 | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #83F1C9 | |
| markup.heading | #ffffb7 | bold |
| markup.italic | — | italic |
| markup.inserted | #b5cea8 | — |
| markup.deleted | #ce9178 | — |
| markup.changed | #93caec | — |
| beginning.punctuation.definition.quote.markdown | #608b4e | — |
| beginning.punctuation.definition.list.markdown | #6796e6 | — |
| punctuation.definition.markdown | #707080 | — |
| markup.italic.markdown markup.inline.raw | #ffffb7 | |
| markup.bold.markdown markup.inline.raw | #83f1c9 | — |
| markup.bold.markdown string.other.link.title.markdown | #83f1c9 | underline |
| markup.italic.markdown string.other.link.title.markdown | #f0f0f0 | italic underline |
| string.other.link.title.markdown | #f0f0f0 | underline |
| markup.underline.link.markdown | #547289 | underline |
| markup.inline.raw | #93caec | — |
| meta.selector | #d7ba7d | — |
| punctuation.definition.tag | #93caec | — |
| meta.preprocessor | #93caec | — |
| meta.preprocessor.string | #ce9178 | — |
| meta.preprocessor.numeric | #b5cea8 | — |
| meta.structure.dictionary.key.python | #9cdcfe | — |
| meta.diff.header | #93caec | — |
| storage | #93caec | — |
| storage.type | #93caec | — |
| storage.modifier | #93caec | — |
| string | #ce9178 | — |
| string.tag | #ce9178 | — |
| string.value | #ce9178 | — |
| string.regexp | #d16969 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #93caec | — |
| meta.template.expression, meta.interpolation.cs | #b0b0b0 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #ffffb7 | |
| keyword | #93caec | — |
| keyword.control | #93caec | — |
| keyword.operator | #d0d0d0 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python | #93caec | — |
| keyword.other.unit | #ffc0c0 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #93caec | — |
| support.function.git-rebase | #9cdcfe | — |
| constant.sha.git-rebase | #b5cea8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d0d0d0 | — |
| variable.language | #93caec | — |
| string | #ffc0c0 | — |
| constant.numeric, variable.other.enummember | #ffc0c0 | — |
| constant.language | #ffc0c0 | — |
| constant.regexp | #646695 | — |
| comment | #808090 | italic |
| punctuation | #547289 | — |
| entity.name.function, support.function, support.constant.handlebars | #ffffb7 | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #83f1c9 | — |
| meta.return.type, meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #83f1c9 | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| meta.decorator.js, meta.decorator.js entity.name.function, meta.decorator.jsx, meta.decorator.jsx entity.name.function, meta.decorator.ts, meta.decorator.ts entity.name.function, meta.decorator.tsx, meta.decorator.tsx entity.name.function | #93caec | italic |
| punctuation.terminator.statement, punctuation.accessor, keyword.operator.type.annotation | #606070 | — |
| nlog.id.0 | #f05455 | italic |
| nlog.id.1 | #ea3838 | italic |
| nlog.id.2 | #e64d3d | italic |
| nlog.id.3 | #d35501 | italic |
| nlog.id.4 | #f05455 | italic |
| nlog.id.5 | #ea3838 | italic |
| nlog.id.6 | #e64d3d | italic |
| nlog.id.7 | #d35501 | italic |
| nlog.text.0 | #2fcc71 | — |
| nlog.text.1 | #ece05a | — |
| nlog.text.2 | #79c9d0 | — |
| nlog.text.3 | #e67f23 | — |
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}!`;
}