ll_latex_light
Publisher: lalitaalaalitahThemes in package: 1
A light theme based on Catppuccin Latte palette mainly for use with LaTeX. Creator lalitaalaalitah.
A light theme based on Catppuccin Latte palette mainly for use with LaTeX. Creator lalitaalaalitah.
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 |
|---|---|---|
| comment, punctuation.definition.comment, comment.block.preprocessor, comment.documentation, comment.block.documentation | #acb0be | italic |
| invalid.illegal | #d20f39 | — |
| keyword.operator | #7c7f93 | — |
| keyword, storage | #7287fd | — |
| keyword.control.preamble.latex, meta.preamble.latex | #dc8a78 | italic bold |
| storage.type, support.type | #8839ef | italic bold |
| storage.type.function.latex | #8839ef | italic bold |
| constant.language, support.constant, variable.language | #df8e1d | — |
| variable, support.variable | #8839ef | — |
| entity.name.function, support.function | #d20f39 | — |
| entity.name.type, entity.other.inherited-class, support.class, support.class.latex | #8839ef | — |
| entity.name.exception | #dd7878 | — |
| entity.name.section | — | — |
| constant.numeric, constant.character, constant | #df8e1d | — |
| string | #40a02b | — |
| constant.character.escape | #6c6f85 | — |
| string.regexp | #04a5e5 | — |
| constant.other.symbol | #e64553 | — |
| punctuation | #7c7f93 | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html | #7c7f93 | — |
| meta.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #7287fd | — |
| entity.name.tag | #209fb5 | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #7287fd | italic |
| constant.character.entity, punctuation.definition.entity | #df8e1d | — |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css | #8839ef | — |
| meta.property-name, support.type.property-name | #d20f39 | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #40a02b | — |
| keyword.other.important | — | — |
| markup.changed | #4c4f69 | — |
| markup.deleted | #4c4f69 | — |
| markup.italic | — | italic |
| markup.error | #dd7878 | — |
| markup.inserted | #4c4f69 | — |
| meta.link | #7287fd | — |
| markup.output, markup.raw | #6c6f85 | — |
| markup.prompt | #6c6f85 | — |
| markup.heading | #d20f39 | — |
| markup.bold | — | — |
| markup.traceback | #e64553 | — |
| markup.underline | — | underline |
| markup.quote | #8839ef | — |
| markup.list | #04a5e5 | — |
| markup.bold, markup.italic | #8839ef | — |
| markup.inline.raw | #df8e1d | |
| meta.diff.range, meta.diff.index, meta.separator | #4c4f69 | — |
| meta.diff.header.from-file | #4c4f69 | — |
| meta.diff.header.to-file | #4c4f69 | — |
| meta.function.textbf.latex | #ea76cb | — |
| comment.line.percentage.tex | #acb0be | italic bold |
| support.function.textbf.latex | #d20f39 | — |
| markup.bold.textbf.latex | #4c4f69 | — |
| support.function.be.latex | #fe640b | italic bold |
| support.function.general.tex, variable.parameter.function.latex | #FF0000 | — |
| text.tex.latex | #4c4f69 | — |
| source.ini | #4c4f69 | — |
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}!`;
}