Emacs Themes Ported
Publisher: voidfooThemes in package: 136
Popular Emacs themes ported for VS Code
Popular Emacs themes ported for VS Code
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 | #b18bb1 | — |
| comment | #64727d | — |
| markup.heading | #c6797e | — |
| entity.name.tag | #64727d | — |
| entity.name.tag | #b18bb1 | — |
| comment | #64727d | — |
| markup.underline.link | #b18bb1 | — |
| keyword | #c6797e | — |
| markup.fenced_code, markup.inline.raw | — | — |
| markup.list | #c6797e | — |
| invalid | #c6797e | — |
| keyword | #F7E3AF | — |
| keyword | #A3B09A | — |
| invalid.deprecated | #F7E3AF | — |
| invalid.deprecated | — | — |
| markup.inserted | #A3B09A | — |
| markup.inserted | #828c7b | — |
| comment | #5D80AE | — |
| comment | #b18bb1 | — |
| comment | #eabe9a | — |
| comment | #A3B09A | — |
| comment | #b18bb1 | — |
| keyword | #88C0D0 | — |
| gitDecoration.addedResourceForeground | #A3B09A | — |
| gitDecoration.untrackedResourceForeground | #A3B09A | — |
| gitDecoration.ignoredResourceForeground | #64727d | — |
| gitDecoration.renamedResourceForeground | #A3B09A | — |
| gitDecoration.modifiedResourceForeground | #5D80AE | — |
| breadcrumb.foreground, tree.tableColumnHeader.foreground | #B16E75 | — |
| explorer.fileForeground | #FAFFF6 | — |
| explorer.directoryForeground | #B16E75 | — |
| comment.documentation | #696969 | — |
| editorSuggestWidget.highlightForeground | #B16E75 | — |
| editorSuggestWidget.selectedBackground | — | — |
| editorSuggestWidget.background | #A7ACB9 | — |
| invalid | #FF0000 | — |
| invalid | #F9B5AC | — |
| invalid | #c6797e | — |
| invalid | #c6797e | — |
| invalid | #A3B09A | — |
| invalid, invalid.deprecated | #F7E3AF | — |
| invalid | #c6797e | — |
| invalid.deprecated | #F7E3AF | — |
| invalid | #c6797e | — |
| invalid | #c6797e | — |
| invalid.deprecated | #F7E3AF | — |
| invalid | #c6797e | — |
| invalid.deprecated | #F7E3AF | — |
| invalid | #c6797e | — |
| entity.name.type | #b18bb1 | — |
| variable | #FFA500 | — |
| entity.name.function | #4D4DDDDDDDDD | — |
| constant | #FF1493 | — |
| string | #FFA500 | — |
| comment.documentation | #64727d | — |
| diffEditor.insertedTextBackground | #A3B09A | — |
| diffEditor.removedTextBackground | #c6797e | — |
| invalid | #FF0000 | — |
| entity.name.function | #88C0D0 | — |
| diff.insertedTextBackground | #A3B09A | — |
| diff.removedTextBackground | #c6797e | — |
| meta.diff.header.file | #6e94b9 | — |
| meta.diff.header | #88C0D0 | — |
| invalid.deprecated | #c6797e | — |
| invalid.deprecated | #F7E3AF | — |
| entity.name.function | #c6797e | — |
| invalid.deprecated | #F7E3AF | — |
| string | #FFFFE0 | — |
| invalid.deprecated | #F7E3AF | — |
| invalid | #c6797e | — |
| invalid.deprecated | #F7E3AF | — |
| invalid | #c6797e | — |
| variable | #A3B09A | — |
| variable | #b18bb1 | — |
| variable | #64727d | — |
| comment | #64727d | — |
| comment | #FAFFF6 | — |
| comment.documentation | #A3B09A | — |
| editor.findMatchBackground | #A3B09A | — |
| editor.findMatchHighlightBackground | — | — |
| editor.findMatchBackground, editor.findMatchHighlightBackground | — | — |
| string.regexp | #b18bb1 | — |
| string.regexp | #b18bb1 | — |
| string.regexp | #A3B09A | — |
| meta.preprocessor, keyword.control.import | #b18bb1 | — |
| invalid.deprecated | #F7E3AF | — |
| invalid.deprecated | #F7E3AF | — |
| constant, constant.language, support.constant | #c6797e | — |
| constant | #c6797e | — |
| storage.type, support.type, entity.name.type | #c6797e | — |
| entity.name.type | #c6797e | — |
| variable | #c6797e | — |
| variable, variable.other | #c6797e | — |
| variable | #c6797e | — |
| entity.name.function | #F9B5AC | — |
| entity.name.function, support.function | #F9B5AC | — |
| entity.name.function | #F9B5AC | — |
| support.function, support.class, support.type | #DB6E8F | — |
| keyword, storage, keyword.control, storage.modifier | #b18bb1 | — |
| keyword | #b18bb1 | — |
| comment.documentation | #c6797e | — |
| comment.documentation, comment.block.documentation | #A3B09A | — |
| comment.documentation | #A3B09A | — |
| string, string.quoted, string.template | #A3B09A | — |
| string | #A3B09A | — |
| comment, punctuation.definition.comment | #64727d | — |
| comment | #64727d | — |
| comment, punctuation.definition.comment | #64727d | — |
| comment | #64727d | — |
| invalid | #070A0E | — |
| invalid | — | — |
| invalid.illegal | #1F2A3F | — |
| editor.wordHighlightStrongBackground | #c6797e | — |
| invalid.deprecated | #F7E3AF | — |
| invalid.illegal | #c6797e | — |
| editorCursor.foreground | — | — |
| editorGutter.background | #5D636E | — |
| editorGroup.border | #B16E75 | — |
| editorGroupHeader.tabsBackground | — | — |
| statusBar.noFolderBackground | #B16E75 | — |
| statusBar.background, statusBar.foreground | — | — |
| editorLineNumber.activeForeground | — | — |
| editorLineNumber.activeForeground | #E8E9EB | — |
| editorLineNumber.foreground | #838e96 | — |
| invalid.deprecated | — | — |
| editor.selectionHighlightBackground | — | — |
| editor.selectionBackground, editor.selectionForeground | — | — |
| editor.findMatchBackground | #070A0E | — |
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}!`;
}