AEPCodes Themes
Publisher: AEP CodesThemes in package: 6
Six warm, tactile light and dark color themes for Visual Studio Code.
Six warm, tactile light and dark color themes for Visual Studio 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 |
|---|---|---|
| source, meta.embedded, source.groovy.embedded, meta.jsx.children | #eee7da | — |
| comment, punctuation.definition.comment, string.comment | #b8b1a5 | italic |
| keyword, storage.type, storage.modifier, keyword.control, keyword.other | #d18a9c | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.comparison | #eee7da | — |
| punctuation, meta.brace, punctuation.separator, punctuation.terminator | #eee7da | — |
| string, string.quoted, string.template, string.interpolated | #88adbf | — |
| constant.character.escape, constant.character.entity, punctuation.definition.entity | #d0ae63 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex | #d18a9c | — |
| constant.language, constant.character, variable.language, support.constant | #d0ae63 | — |
| constant.other, entity.name.constant, variable.other.constant, variable.other.enummember | #d0ae63 | — |
| entity.name.function, entity.name.method, support.function, variable.function, meta.function-call entity.name.function | #c3aed1 | — |
| entity.name.type, entity.name.class, entity.name.interface, entity.name.namespace, entity.other.inherited-class, support.type, support.class | #88adbf | — |
| variable, variable.other, variable.other.readwrite, support.variable | #eee7da | — |
| variable.parameter, meta.function.parameters variable | #d0ae63 | — |
| variable.other.property, support.type.property-name, entity.other.attribute-name, meta.object-literal.key | #eee7da | — |
| string.regexp, source.regexp, constant.regexp | #d0ae63 | — |
| meta.decorator, meta.annotation, punctuation.decorator, entity.name.function.decorator | #d0ae63 | — |
| entity.name.function.js, entity.name.function.ts, entity.name.function.method.js, entity.name.function.method.ts, support.function.dom.js, support.function.dom.ts | #c3aed1 | — |
| entity.name.type.class.js, entity.name.type.class.ts, entity.name.type.interface.ts, support.type.primitive.ts, support.type.builtin.ts | #88adbf | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.end.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts | #d18a9c | — |
| support.type.property-name.json, meta.structure.dictionary.json string.quoted.double.json | #d0ae63 | — |
| constant.language.json, constant.numeric.json | #d18a9c | — |
| entity.name.tag.html, entity.name.tag.block.any.html, entity.name.tag.inline.any.html, entity.name.tag.doctype.html, punctuation.definition.tag.html | #88adbf | — |
| entity.other.attribute-name.html, meta.attribute-with-value.html entity.other.attribute-name.html | #eee7da | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #88adbf | — |
| support.type.property-name.css, meta.property-name.css | #eee7da | — |
| support.constant.property-value.css, support.constant.color.w3c-standard-color-name.css, support.constant.font-name.css, keyword.other.unit.css | #d0ae63 | — |
| markup.heading.markdown, entity.name.section.markdown, punctuation.definition.heading.markdown | #88adbf | bold |
| markup.bold.markdown, punctuation.definition.bold.markdown | #eee7da | bold |
| markup.italic.markdown, punctuation.definition.italic.markdown | #eee7da | italic |
| markup.quote.markdown, punctuation.definition.quote.begin.markdown, punctuation.definition.list.begin.markdown | #d0ae63 | — |
| markup.inline.raw.string.markdown, markup.fenced_code.block.markdown, punctuation.definition.raw.markdown | #88adbf | — |
| markup.underline.link.markdown, string.other.link.title.markdown, constant.other.reference.link.markdown, meta.link.inline.markdown | #d18a9c | — |
| entity.name.function.powershell, support.function.powershell | #c3aed1 | — |
| variable.other.readwrite.powershell, variable.parameter.powershell, variable.language.powershell | #d0ae63 | — |
| keyword.control.powershell, keyword.other.powershell, keyword.operator.powershell, storage.type.powershell | #d18a9c | — |
| entity.name.function.shell, entity.name.function.call.shell, entity.name.command.shell, support.function.builtin.shell | #c3aed1 | — |
| variable.other.normal.shell, variable.other.bracket.shell, variable.language.special.shell, variable.parameter.shell | #d0ae63 | — |
| string.unquoted.argument.option.shell, keyword.operator.logical.shell, keyword.operator.redirect.shell | #d18a9c | — |
| keyword.control.hugo, keyword.operator.initialize.hugo, keyword.control.gotemplate | #d18a9c | — |
| support.function.hugo, support.function.builtin.hugo, support.function.builtin.gotemplate | #c3aed1 | — |
| variable.hugo, variable.other.gotemplate | #d0ae63 | — |
| punctuation.section.embedded.begin.hugo, punctuation.section.embedded.end.hugo, punctuation.section.embedded.begin.gotemplate, punctuation.section.embedded.end.gotemplate | #d18a9c | — |
| markup.inserted, markup.inserted.diff, punctuation.definition.inserted.diff | #c2ddcf | — |
| markup.deleted, markup.deleted.diff, punctuation.definition.deleted.diff | #f0c2c9 | — |
| markup.changed, markup.changed.diff, punctuation.definition.changed.diff | #f0d7a1 | — |
| invalid, invalid.illegal, invalid.broken, invalid.deprecated | #f0c2c9 | — |
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}!`;
}