Mulberry Oats
Publisher: Backtier LabsThemes in package: 1
Warm dichromatic VS Code theme - A breakfast inspired Oat-Mulberry palette on a creamy-oat canvas.
Warm dichromatic VS Code theme - A breakfast inspired Oat-Mulberry palette on a creamy-oat canvas.
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded, variable.legacy.builtin.python | #4A3A24 | — |
| comment | #8B7B62 | italic |
| punctuation.definition.comment | #A68D6E | italic |
| string | #5E8B3A | — |
| string.regexp | #A8442A | — |
| constant.character.escape, constant.character | #7A4452 | bold |
| constant.numeric | #7A4452 | — |
| constant.language, constant.language.boolean, constant.language.null | #7A4452 | bold |
| variable | #4A3A24 | — |
| variable.parameter | #7A4452 | italic |
| variable.language | #7A4452 | italic |
| variable.other.property, variable.other.object.property | #7A4452 | bold |
| meta.object-literal.key | #7A4452 | — |
| keyword | #7A4452 | bold |
| keyword.control, keyword.control.flow, keyword.control.from | #7A4452 | bold |
| keyword.control.import | #B87A90 | — |
| keyword.operator, keyword.operator.new, keyword.operator.expression | #7A4452 | — |
| keyword.other.new | #7A4452 | bold |
| storage | #7A4452 | bold |
| storage.type, storage.modifier | #7A4452 | bold |
| storage.type.function.arrow, storage.type.function | #7A4452 | — |
| entity.name.class, entity.name.type, entity.name.type.class, entity.name.namespace, entity.name.scope-resolution, support.class, support.type | #8C3F5D | bold |
| entity.other.inherited-class | #A06674 | italic |
| entity.name.function, meta.function-call entity.name.function | #7A4452 | bold |
| support.function, support.function.construct | #7A4452 | bold |
| support.constant, support.variable | #7A4452 | — |
| support.type.exception | #A8442A | bold |
| entity.name.tag, entity.name.tag.html, entity.name.tag.jsx | #7A4452 | bold |
| punctuation.definition.tag | #8B7B62 | — |
| entity.other.attribute-name | #4A3A24 | italic |
| punctuation, meta.brace, punctuation.separator, punctuation.terminator | #6B5E4D | — |
| punctuation.definition.string, punctuation.definition.string.begin, punctuation.definition.string.end | #A68D6E | — |
| punctuation.section.embedded.begin, punctuation.section.embedded.end | #A8442A | — |
| punctuation.separator.continuation | #A8442A | — |
| meta.preprocessor | #7A4452 | — |
| invalid | #D87A60 | — |
| invalid.deprecated | #A8442A | strikethrough |
| meta.diff, meta.diff.header | #3D7BA8 | italic |
| markup.deleted | #A8442A | — |
| markup.changed | #C8901A | — |
| markup.inserted | #5E8B3A | — |
| markup.heading | #7A4452 | bold |
| markup.heading.setext | #7A4452 | — |
| markup.quote | #6B5E4D | italic |
| markup.list | #7A4452 | — |
| markup.bold | #2A141B | bold |
| markup.italic | #4A3A24 | italic |
| markup.strikethrough | — | strikethrough |
| markup.inline.raw | #7A4452 | — |
| markup.underline.link | #7A4452 | underline |
| token.info-token | #3D7BA8 | — |
| token.warn-token | #C8901A | — |
| token.error-token | #A8442A | — |
| token.debug-token | #7A4452 | — |
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}!`;
}