Lime Grove
Publisher: Pipe Pipe CodeThemes in package: 14
A light theme for Visual Studio Code with lime green syntax and dark orange chrome. 6 perceptually distinct colors for maximum code readability.
A light theme for Visual Studio Code with lime green syntax and dark orange chrome. 6 perceptually distinct colors for maximum code readability.
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 |
|---|---|---|
| source, text | #E8ECF0 | — |
| comment, punctuation.definition.comment, comment.block, comment.line | #6A7A88 | italic |
| comment.block.documentation, comment.line.double-slash.documentation | #808E9A | italic |
| keyword, keyword.control, keyword.control.flow, keyword.control.conditional, keyword.control.loop, keyword.control.import, keyword.control.export, keyword.control.return, keyword.control.trycatch, keyword.control.exception, keyword.other.using, keyword.other.import, keyword.operator.new, keyword.operator.delete, keyword.operator.typeof, keyword.operator.void, keyword.operator.instanceof, keyword.operator.in, keyword.operator.of | #E58FBE | bold |
| storage.type, storage.modifier | #E58FBE | bold |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution, entity.name.enum | #6CC0F0 | bold |
| support.class, support.type, meta.type.annotation, meta.type.parameters, entity.other.inherited-class | #6CC0F0 | — |
| keyword.type, support.type.primitive, storage.type.primitive, storage.type.numeric, storage.type.string, storage.type.boolean, storage.type.object, storage.type.void, storage.type.cs | #6CC0F0 | — |
| entity.name.function, entity.name.method, entity.name.member | #F0A800 | bold |
| meta.function-call entity.name.function, meta.method-call entity.name.function, support.function, support.function.builtin | #F0A800 | — |
| variable.parameter | #EDC360 | italic |
| variable, variable.other, variable.other.readwrite, variable.other.object, variable.other.object.property | #E8ECF0 | — |
| variable.language | #E58FBE | italic |
| variable.other.property, variable.other.member, support.variable.property | #82C9F2 | — |
| string, string.quoted, string.quoted.single, string.quoted.double, string.quoted.triple, string.template, string.interpolated | #2CC79A | — |
| constant.character.escape, constant.character.entity | #ECD840 | bold |
| punctuation.definition.template-expression, punctuation.section.embedded | #F0A800 | bold |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #F07848 | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.none | #F07848 | bold |
| constant.other | #ECD840 | — |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.bitwise, keyword.operator.ternary, keyword.operator.spread, keyword.operator.optional, keyword.operator.nullish, keyword.operator.arrow | #A8B4BC | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.accessor, punctuation.definition.block, punctuation.definition.parameters, meta.brace, meta.delimiter | #8D989F | — |
| string.regexp, constant.other.character-class.regexp, constant.character.regexp, keyword.operator.quantifier.regexp, keyword.operator.or.regexp, punctuation.definition.group.regexp, punctuation.definition.character-class.regexp | #7FE8D0 | — |
| meta.decorator, punctuation.decorator, entity.name.function.decorator, storage.type.annotation | #ECD840 | italic |
| entity.name.type.attribute.cs, support.type.attribute | #ECD840 | — |
| entity.name.tag, entity.name.tag.xml, entity.name.tag.html, meta.tag.xml entity.name.tag | #6CC0F0 | bold |
| entity.other.attribute-name, entity.other.attribute-name.xml, entity.other.attribute-name.html | #ECD840 | — |
| string.quoted.double.html, string.quoted.single.html, string.quoted.double.xml, string.quoted.single.xml | #2CC79A | — |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end, meta.tag punctuation | #A8B4BC | — |
| string.unquoted.cdata.xml | #2CC79A | italic |
| meta.tag.sgml.doctype, meta.tag.preprocessor.xml | #6A7A88 | italic |
| entity.name.tag.namespace.xml | #E58FBE | — |
| entity.name.tag.css | #6CC0F0 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #E58FBE | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less | #ECD840 | — |
| support.constant.property-value.css, meta.property-value.css | #2CC79A | — |
| keyword.other.unit.css | #F07848 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #7FE8D0 | — |
| support.type.property-name.json | #ECD840 | bold |
| string.quoted.double.json | #2CC79A | — |
| constant.numeric.json | #F07848 | — |
| constant.language.json | #F07848 | bold |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #E58FBE | bold |
| markup.bold, punctuation.definition.bold.markdown | #F0A800 | bold |
| markup.italic, punctuation.definition.italic.markdown | #6CC0F0 | italic |
| markup.inline.raw, markup.fenced_code.block | #7FE8D0 | — |
| markup.underline.link, string.other.link | #7FE8D0 | underline |
| punctuation.definition.list.begin.markdown | #F0A800 | — |
| markup.quote, punctuation.definition.quote.begin.markdown | #6A7A88 | italic |
| invalid, invalid.illegal | #14181C | — |
| invalid.deprecated | #F07848 | strikethrough |
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}!`;
}