Lemur Monokai Dark Theme
Publisher: Keun-LemurThemes in package: 1
A Monokai-inspired dark theme infused with soothing greens—designed to keep your eyes comfortable without losing the iconic Monokai vibe.
A Monokai-inspired dark theme infused with soothing greens—designed to keep your eyes comfortable without losing the iconic Monokai vibe.
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 |
|---|---|---|
| — | #F6F6F6 | — |
| comment, string.comment | #708090 | italic |
| string | #FFD945 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #FF3F4F | — |
| meta.string.template | #E5A422 | — |
| meta | #f8f8f0 | — |
| constant.numeric | #E373CE | — |
| string.embedded.begin, string.embedded.end | #E373CE | — |
| string.embedded | #98c379 | — |
| constant.language | #E373CE | — |
| constant.character, constant.other | #E373CE | — |
| variable.language | #FF3F4F | italic |
| variable.readwrite, variable.readwrite.other.block | #00a0e4 | — |
| keyword, keyword.operator.logical, keyword.operator.constructor | #FF3F4F | — |
| keyword.operator | #FF3F4F | — |
| storage | #FF3F4F | italic |
| storage.type | #19D1E5 | — |
| entity.name.class, entity.name.module, entity.name.type, storage.identifier, support.class | #00a0e4 | — |
| meta.block.switch.c, variable.other.object | #00a0e4 | — |
| variable.other.property, variable.other.block | #f8f8f0 | — |
| entity.other.inherited-class | #81F900 | — |
| entity.name.function, support.function | #81F900 | — |
| support.function | #19D1E5 | — |
| variable.parameter | #FF9700 | italic |
| entity.name.function-call | #f8f8f0 | — |
| function.support.builtin, function.support.core | #81F900 | — |
| entity.name.tag, entity.name.tag.class.js, entity.name.tag.class.jsx | #FF3F4F | — |
| entity.name.tag.class, entity.name.tag.id | #19D1E5 | — |
| entity.other.attribute-name | #81F900 | — |
| support.constant | #19D1E5 | — |
| support.type, support.variable | #19D1E5 | — |
| support.dictionary.json | #19D1E5 | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less, support.type.property-name.sass | #6AEBF7 | — |
| support.constant.css, support.constant.scss, support.constant.less, support.constant.sass | #98c379 | — |
| variable.css, variable.scss, variable.less, variable.sass | #56b6c2 | — |
| variable.css.string, variable.scss.string, variable.less.string, variable.sass.string | #e5c07b | — |
| unit.css, unit.scss, unit.less, unit.sass | #c678dd | — |
| constant.numeric.css, constant.numeric.scss, constant.numeric.less, constant.numeric.sass | #E373CE | — |
| function.css, function.scss, function.less, function.sass | #56b6c2 | — |
| support.other.variable | — | |
| invalid | #F8F8F0 | — |
| invalid.deprecated | #F8F8F0 | — |
| structure.dictionary.property-name.json | #56b6c2 | — |
| string.detected-link | #00a0e4 | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #E542FF | — |
| markup.inserted | #e5c07b | — |
| markup.changed | #e5c07b | — |
| constant.numeric.line-number.find-in-files - match | #56b6c2A0 | — |
| entity.name.filename.find-in-files | #e5c07b | — |
| markup.italic, markup.italic.markdown | — | italic |
| punctuation.definition.italic.markdown | #696969 | |
| markup.underline.link.markdown | #00a0e4 | — |
| markup.bold.markdown | — | bold |
| punctuation.definition.bold.markdown | #919191 | |
| markup.heading.markdown | #FF3F4F | bold |
| punctuation.definition.heading.markdown | #919191 | |
| markup.quote.markdown | #6FD80D | — |
| meta.separator.markdown | #E542FF | bold |
| markup.raw.inline.markdown, markup.raw.block.markdown | #56b6c2 | — |
| punctuation.definition.list_item.markdown | #ffffff | bold |
| variable.other.jsdoc | #9496a5 | — |
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}!`;
}