savetemin
Publisher: Ulises BasualdoThemes in package: 1
This is a color theme that applies to the whole editor, including the terminal.
This is a color theme that applies to the whole editor, including the terminal.
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| meta.diff.header | #000080 | — |
| comment | #ffffff5b | — |
| constant.language | #569cd6 | — |
| constant.numeric, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #b5cea8 | — |
| constant.regexp | #b46695 | — |
| entity.name.tag | #ff8800 | — |
| entity.name.tag.css | #d7ba7d | — |
| entity.other.attribute-name | #00DDFF | — |
| source.css entity.other.attribute-name, source.css.less entity.other.attribute-name.id, source.scss entity.other.attribute-name | #d7ba7d | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | — | bold |
| markup.heading | #6796e6 | — |
| markup.italic | — | italic |
| markup.inserted | #b5cea8 | — |
| markup.deleted | #ce9178 | — |
| markup.changed | #569cd6 | — |
| meta.selector | #d7ba7d | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor | #569cd6 | — |
| meta.preprocessor.string | #ce9178 | — |
| meta.preprocessor.numeric | #b5cea8 | — |
| meta.structure.dictionary.key.python | #9cdcfe | — |
| storage | #569cd6 | — |
| storage.type | #569cd6 | — |
| storage.modifier | #31cbff | — |
| string | #ce9178 | — |
| string.tag | #ce9178 | — |
| string.value | #ce9178 | — |
| string.regexp | #d16969 | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #569cd6 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less | #d4d4d4 | — |
| keyword | #569cd6 | — |
| keyword.control | #FF73B3 | italic |
| keyword.operator | #d4d4d4 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python | #569cd6 | — |
| keyword.operator.logical | #ff7b00 | — |
| keyword.operator.assignment | #FFEE00 | — |
| keyword.other.unit | #b5cea8 | — |
| support.function.git-rebase | #d4d4d4 | — |
| constant.sha.git-rebase | #b5cea8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language.this | #569cd6 | — |
| entity.name.function, support.function, support.constant.handlebars | #FFEE00 | — |
| storage.type.constructor.ts, storage.type.constructor.tsx, storage.type.constructor.js, entity.name.function.constructor, meta.method.declaration.ts storage.type.ts | #FFEE00 | — |
| meta.class.ts keyword.other.implements, meta.class.tsx keyword.other.implements, meta.class.js keyword.other.implements, storage.modifier.implements, keyword.other.implements, meta.interface-heritage.ts keyword.control.implements, meta.interface-heritage.tsx keyword.control.implements, meta.class storage.modifier.implements | #569cd6 | italic |
| support.class.interface.ts, entity.name.type.interface.ts, entity.other.inherited-class.ts, meta.interface-heritage.ts entity.name.type | #FFEE00 | italic |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, source.cs storage.type | #4EC9B0 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #4EC9B0 | — |
| variable, meta.definition.variable.name, support.variable | #9CDCFE | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function | #9CDCFE | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #CE9178 | — |
| punctuation.definition.string.begin | #ffee00 | — |
| punctuation.definition.string.end | #ffee00 | — |
| punctuation.definition.tag.begin | #fffb00 | — |
| punctuation.definition.tag.end | #fffb00 | — |
| punctuation.definition.block | #ffee00 | — |
| string.quoted.double.html | #ff93dd | italic |
| string.quoted.single.html | #ff93dd | — |
| string.quoted.double.ts | #84f1ff | — |
| string.quoted.single.ts | #84f1ff | — |
| variable.other.object.ts.embedded.html | #D0A9FF | — |
| variable.other.property.ts.embedded.html | #D0A9FF | — |
| variable.other | #e4b5fd | — |
| constant.language.boolean | #FFD700 | italic |
| constant.language.boolean.true | #FFAA00 | italic |
| constant.language.boolean.false | #FF6600 | italic |
| support.type.primitive, support.type | #22D1B0 | italic |
| entity.name.type | #1EDCAA | italic |
| entity.name.type.interface, entity.name.type.alias | #26E9B6 | italic |
| meta.type.parameters | #26D9F7 | italic |
| punctuation.definition.string.template.begin, string.template punctuation.definition.string.begin, punctuation.definition.string.template.end, string.template punctuation.definition.string.end | #FFCC00 | bold |
| meta.decorator meta.object.member string.template punctuation | #FFCC00 | bold |
| punctuation.separator.key-value | #FFEE00 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id | #ff93dd | — |
| support.type.property-name.css | #ffdd76 | — |
| support.constant.property-value.css | #33e0ff | — |
| punctuation.section.property-list.begin.bracket.curly.css, punctuation.section.property-list.end.bracket.curly.css, punctuation.separator.key-value.css, punctuation.terminator.rule.css | #FFEE00 | — |
| punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json | #FFEE00 | — |
| keyword.operator.at.ts | #FFFF00 | bold |
| punctuation.decorator.control-flow.angular, keyword.control.flow.at-character.angular, meta.block.ts.embedded.html keyword.control.flow.at-character, text.html.derivative keyword.control.flow.at-character | #FFFF00 | bold |
| punctuation.decorator, meta.decorator.angular-at-block, keyword.control.flow.angular, punctuation.decorator.at-character.angular, meta.block.ts meta.decorator punctuation.decorator, meta.block.ts.embedded.html punctuation.decorator, text.html meta.decorator punctuation.decorator | #FFDD00 | bold |
| punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json | #FFEE00 | — |
| punctuation.decorator, meta.decorator.angular-at-block, keyword.control.flow.angular, punctuation.decorator.at-character.angular, meta.block.ts meta.decorator punctuation.decorator, meta.block.ts.embedded.html punctuation.decorator, text.html meta.decorator punctuation.decorator | #febe3d | bold |
| support.type.property-name.json | #00EEFF | italic |
| constant.language.json | #FFEE00 | — |
| text.html.derivative, meta.tag.block.any.html text.html, meta.tag.inline.any.html text.html, text.html.angular | #FFFFFF | — |
| support.function.pipe.angular, entity.name.function.pipe, entity.name.type.pipe, support.type.pipe, meta.object-literal.key.pipe, variable.other.readwrite.ts.pipe, meta.tag.template.angular variable.other.pipe | #FFA500 | italic |
| keyword.operator | #feffac | — |
| punctuation.definition.ng-binding-name.begin.html, punctuation.definition.ng-binding-name.end.html, storage.type.function.arrow.ts, punctuation.section.brackets | #ffd900 | — |
| source.dart | #41ccff | — |
| support.class.dart | #ff6d6d | bold |
| entity.name.type.class | #ff6d6d | bold |
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}!`;
}