Sepia for VS Code
Publisher: Weevil_BreederThemes in package: 1
Warm beige, eye-friendly light theme with vivid gruvbox-based syntax colors. A VS Code port of Adam Wojszczyk's Sepia theme for JetBrains IDEs.
Warm beige, eye-friendly light theme with vivid gruvbox-based syntax colors. A VS Code port of Adam Wojszczyk's Sepia theme for JetBrains IDEs.
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 | #928374 | italic |
| string.quoted.docstring, string.quoted.docstring punctuation.definition.string | #928374 | italic |
| string, punctuation.definition.string | #689d6a | bold |
| constant.character.escape, string constant.other.placeholder | #458588 | bold |
| punctuation.definition.interpolation, meta.fstring punctuation.section.embedded | #458588 | bold |
| constant.numeric | #458588 | bold |
| keyword, keyword.control, storage, storage.type, storage.modifier, keyword.operator.logical.python, keyword.operator.new, constant.language | #458588 | bold |
| keyword.operator, punctuation | #282828 | |
| entity.name.function, meta.function-call.generic, support.function | #282828 | |
| entity.name.type, entity.name.class, entity.other.inherited-class, support.class, support.type | #282828 | |
| meta.function.decorator, entity.name.function.decorator, punctuation.definition.decorator, meta.decorator | #98971a | |
| variable, variable.other.readwrite, meta.item-access | #b16286 | — |
| variable.parameter | #b16286 | bold |
| variable.parameter.function-call, meta.function-call.arguments variable.parameter | #b16286 | |
| variable.language.special.self, variable.language.special.cls, variable.language.this | #458588 | bold |
| variable.other.constant, constant.other.caps | #6c2f55 | bold |
| variable.other.property, variable.other.object.property, meta.attribute.python | #8f3f71 | bold |
| support.function.builtin.python | #282828 | |
| support.function.magic.python, variable.language.special.dunder | #8f3f71 | |
| entity.name.tag | #458588 | bold |
| entity.other.attribute-name | #b16286 | bold |
| markup.heading, markup.heading entity.name | #282828 | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.inline.raw, markup.fenced_code.block | #504945 | — |
| markup.underline.link, string.other.link | #076678 | — |
| invalid, invalid.illegal | #cc241d | — |
| support.type.property-name.json | #8f3f71 |
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}!`;
}