Lima Theme
Publisher: Adriano LimaThemes in package: 1
Lima's custom theme with minimalist style
Lima's custom theme with minimalist style
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 |
|---|---|---|
| constant.character, constant.escape, constant.language, constant.numeric, constant.other.key, constant.other.symbol, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key string.unquoted.label, source.sass keyword.control, string, string.quoted.double punctuation, string.quoted.single punctuation, string.template punctuation, support.constant | #80f0d0 | — |
| meta.block meta.var.expr meta.function-call entity.name.function, meta.class meta.field.declaration meta.function-call entity.name.function, source meta.function-call entity.name.function, source meta.function-call entity.name.function, source meta.method-call entity.name.function | #80d0f0cc | — |
| *link*, *uri*, *url*, beginning.punctuation.definition.list.markdown, constant.character.escape, constant.other.reference.link.markdown, entity.name.function, entity.name.function.method, entity.name.tag, entity.name.type, entity.name.type.alias, entity.other.attribute-name.class, entity.other.inherited-class, fenced_code.block.language, keyword-meta.export, keyword.other.important, markup.deleted.git_gutter, markup.inline.raw.markdown, markup.inserted, markup.list.unnumbered.markdown, markup.quote punctuation.definition.blockquote.markdown, markup.raw.block, markup.table, markup.underline.link.markdown, meta.class entity.name.class, meta.class entity.name.type.class, meta.class meta.function-call variable.function, meta.class meta.group.braces.curly meta.function-call variable.function, meta.function-call support.function, meta.image.inline.markdown string.other.link.description.title.markdown, meta.import variable.other.readwrite, meta.import variable.other.readwrite.alias, meta.link.inline.markdown string.other.link.description.title.markdown, meta.link.inline.markdown string.other.link.title.markdown, meta.link.reference.def.markdown markup.underline.link.markdown, meta.link.reference.markdown string.other.link.title.markdown, meta.property.class variable.other.class, meta.tag.sgml, meta.type.declaration, punctuation.definition.bold.markdown, punctuation.definition.entity.css, punctuation.definition.heading.markdown, punctuation.definition.italic.markdown, punctuation.definition.list.begin.markdown, punctuation.definition.markdown, punctuation.definition.raw.markdown, punctuation.definition.tag, punctuation.definition.tag.html, punctuation.separator.inheritance.php, source.cpp meta.block variable.other, source.css support.type.property-name, source.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, source.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, source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, source.json meta.structure.dictionary.json support.type.property-name.json, source.less support.type.property-name, source.postcss support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.stylus support.type.property-name, string.other.link, string.other.link.description.title.markdown punctuation.definition.string.begin.markdown, string.other.link.description.title.markdown punctuation.definition.string.end.markdown, string.other.link.description.title.markdown punctuation.definition.string.markdown, string.other.link.description.title.markdown, string.other.link.description.title.markdown, string.other.link.title.markdown, string.regexp, support.class, support.class.component, support.constant, support.function.console, support.other.variable, support.type.builtin, support.type.primitive, text.html.basic entity.other.attribute-name, text.html.basic entity.other.attribute-name.html, text.html.markdown markup.inline.raw.markdown, token.info-token, variable.function, variable.function.constructor, variable.language, variable.other.constant.object, variable.other.constant.object, variable.other.readwrite.alias | #80d0f0 | — |
| editor.findMatchHighlightBackground | #d080f099 | — |
| keyword, keyword.control, keyword.control.as, keyword.control.default, keyword.control.export, keyword.control.flow, keyword.control.import, keyword.control.module, keyword.control.new, keyword.control.trycatch, keyword.operator.expression, keyword.operator.new, keyword.other, keyword.other.unit, keyword.type, markup.changed, markup.raw.block.fenced.markdown, meta.class-method entity.name.function, meta.export, meta.import, punctuation.section.class.end, source.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, storage.modifier, storage.modifier.async, storage.type, support.type, text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown, variable.function.constructor, variable.language.fenced.markdown, variable.language.fenced.markdown, variable.language.super, variable.language.this | #d080f0 | — |
| constant.language.boolean.false, constant.language.null, constant.language.undefined, invalid, invalid.deprecated, invalid.illegal, keyword.operator.delete, keyword.operator.expression.delete, keyword.operator.void, log.error, log.exception, source.ignore, support.class.error, token.error-token | #f080d0 | — |
| entity.other.attribute-name, log.verbose, markup.bold markup.italic string, markup.bold markup.italic, markup.bold string, markup.bold, markup.deleted, markup.inline.raw.string.markdown, markup.italic markup.bold string, markup.italic markup.bold, markup.italic, markup.quote markup.bold string, markup.quote markup.bold, markup.raw.block.fenced.markdown, markup.underline, meta.definition.property entity.name.function, meta.diff.header.from-file, meta.separator, meta.separator.markdown, meta.tag.attributes keyword.operator.assignment, punctuation.definition.fenced.markdown, punctuation.definition.from-file.diff, punctuation.section.embedded, source.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, source.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, variable.object.property | #80d0f099 | — |
| comment, keyword.operator, keyword.operator.existential, meta.brace, meta.paragraph.markdown, meta.parameters comment.block, punctuation, punctuation.definition.comment, storage.type.function.arrow | #e0f0f099 | — |
| activityBar.activeForeground, constant.other.color, constant.other.color, constant.other.placeholder, editorLink.activeForeground, entity.name, entity.name.section.markdown, inputOption.activeForeground, keyword.other.substitution, keyword.other.template, markdown.heading, markup.changed.git_gutter, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, markup.heading.text.1.markdown, markup.heading.text.2.markdown, meta.definition.variable variable.other.constant, meta.definition.variable variable.other.readwrite, meta.object-literal.key-meta.object.member, meta.object.member, meta.objectliteral, meta.tag, meta.type.declaration entity.name.function, meta.use.php, panelTitle.activeForeground, punctuation.definition.list_item.markdown, source.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 meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, source.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, string.unquoted, support.other.namespace.php, support.other.namespace.use.php, support.type.object, support.type.sys-types, support.variable.property, tab.activeForeground, text.html.derivative, text.html.markdown, textLink.activeForeground, token.debug-token, variable - meta.import, variable.other, variable.other.object, variable.other.object.property, variable.other.property, variable.other.readwrite, variable.parameter | #e0f0f0 | — |
| token.warn-token | #f0d080 | — |
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}!`;
}