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 | #9cd1bb | — |
| comment | #696d77 | — |
| markup.heading | #ffd76d | — |
| entity.name.tag | #ff657a | — |
| entity.name.tag | #9cd1bb | — |
| comment | #696d77 | — |
| markup.underline.link | #9cd1bb | — |
| keyword | #9cd1bb | — |
| markup.fenced_code, markup.inline.raw | — | — |
| markup.list | #ff657a | — |
| invalid | #ff657a | — |
| keyword | #ff95be | — |
| keyword | #ffd76d | — |
| invalid.deprecated | #ff95be | — |
| invalid.deprecated | — | — |
| markup.inserted | #bad761 | — |
| markup.inserted | #94ac4d | — |
| comment | #c39ac9 | — |
| comment | #9cd1bb | — |
| comment | #ff95be | — |
| comment | #bad761 | — |
| comment | #9cd1bb | — |
| keyword | #9cd1bb | — |
| gitDecoration.addedResourceForeground | #bad761 | — |
| gitDecoration.untrackedResourceForeground | #ff95be | — |
| gitDecoration.ignoredResourceForeground | #696d77 | — |
| gitDecoration.renamedResourceForeground | #ff95be | — |
| gitDecoration.modifiedResourceForeground | #c39ac9 | — |
| breadcrumb.foreground, tree.tableColumnHeader.foreground | #ffd76d | — |
| explorer.fileForeground | #eaf2f1 | — |
| explorer.directoryForeground | #eaf2f1 | — |
| comment.documentation | #696969 | — |
| editorSuggestWidget.highlightForeground | #ffd76d | — |
| editorSuggestWidget.selectedBackground | — | — |
| editorSuggestWidget.background | #eaf2f1 | — |
| invalid | #FF0000 | — |
| invalid | #bad761 | — |
| invalid | #9cd1bb | — |
| invalid | #9cd1bb | — |
| invalid | #bad761 | — |
| invalid, invalid.deprecated | #ff95be | — |
| invalid | #ff657a | — |
| invalid.deprecated | #ff95be | — |
| invalid | #ff657a | — |
| invalid.deprecated | — | — |
| invalid | — | — |
| invalid | #ff657a | — |
| invalid.deprecated | #ff95be | — |
| invalid | #ff657a | — |
| invalid.deprecated | #ff95be | — |
| invalid | #ff657a | — |
| entity.name.type | #9cd1bb | — |
| variable | #FFA500 | — |
| entity.name.function | #4D4DDDDDDDDD | — |
| constant | #FF1493 | — |
| string | #FFA500 | — |
| comment.documentation | #696d77 | — |
| diffEditor.insertedTextBackground | #bad761 | — |
| diffEditor.removedTextBackground | #ff657a | — |
| invalid | #FF0000 | — |
| entity.name.function | #9cd1bb | — |
| diff.insertedTextBackground | #bad761 | — |
| diff.removedTextBackground | #ff657a | — |
| meta.diff.header.file | #9cd1bb | — |
| meta.diff.header | #9cd1bb | — |
| invalid.deprecated | #ff657a | — |
| invalid.deprecated | #ff95be | — |
| entity.name.function | #eaf2f1 | — |
| invalid.deprecated | #ff95be | — |
| string | #FFFFE0 | — |
| invalid.deprecated | #ff95be | — |
| invalid | #ff657a | — |
| invalid.deprecated | #ff95be | — |
| invalid | #ff657a | — |
| variable | #bad761 | — |
| variable | #9cd1bb | — |
| variable | #535763 | — |
| comment | #535763 | — |
| comment | #eaf2f1 | — |
| comment.documentation | #bad761 | — |
| editor.findMatchBackground | #eaf2f1 | — |
| editor.findMatchHighlightBackground | #eaf2f1 | — |
| editor.findMatchBackground, editor.findMatchHighlightBackground | #eaf2f1 | — |
| string.regexp | #ff657a | — |
| string.regexp | #ff657a | — |
| string.regexp | #ffd76d | — |
| meta.preprocessor, keyword.control.import | #ff657a | — |
| invalid.deprecated | #ff95be | — |
| invalid.deprecated | #ff95be | — |
| constant, constant.language, support.constant | #c39ac9 | — |
| constant | #c39ac9 | — |
| storage.type, support.type, entity.name.type | #9cd1bb | — |
| entity.name.type | #9cd1bb | — |
| variable | #eaf2f1 | — |
| variable, variable.other | #eaf2f1 | — |
| variable | #eaf2f1 | — |
| entity.name.function | #bad761 | — |
| entity.name.function, support.function | #bad761 | — |
| entity.name.function | #bad761 | — |
| support.function, support.class, support.type | #c39ac9 | — |
| keyword, storage, keyword.control, storage.modifier | #9cd1bb | — |
| keyword | #9cd1bb | — |
| comment.documentation | #c39ac9 | — |
| comment.documentation, comment.block.documentation | #8e9199 | — |
| comment.documentation | #8e9199 | — |
| string, string.quoted, string.template | #ffd76d | — |
| string | #ffd76d | — |
| comment, punctuation.definition.comment | #696d77 | — |
| comment | #696d77 | — |
| comment, punctuation.definition.comment | #696d77 | — |
| comment | #696d77 | — |
| invalid | #131313 | — |
| invalid | — | — |
| invalid.illegal | #ff657a | — |
| editor.wordHighlightStrongBackground | #bad761 | — |
| invalid.deprecated | #ff95be | — |
| invalid.illegal | #ff657a | — |
| editorCursor.foreground | — | — |
| editorGutter.background | #535763 | — |
| editorGroup.border | #3d3f4d | — |
| editorGroupHeader.tabsBackground | #eaf2f1 | — |
| statusBar.noFolderBackground | #eaf2f1 | — |
| statusBar.background, statusBar.foreground | #eaf2f1 | — |
| editorLineNumber.activeForeground | — | — |
| editorLineNumber.activeForeground | #888d94 | — |
| editorLineNumber.foreground | #535763 | — |
| invalid.deprecated | — | — |
| editor.selectionHighlightBackground | — | — |
| editor.selectionBackground, editor.selectionForeground | — | — |
| editor.findMatchBackground | #131313 | — |
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}!`;
}