grewee
Publisher: SalledelavageThemes in package: 1
grewee colorscheme based on School Of Athens painting by Raphael
grewee colorscheme based on School Of Athens painting by Raphael
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #458588 | — |
| comment, punctuation.definition.comment | #928375 | italic |
| constant | #f5c878 | — |
| source.css constant | #e6dfc1 | — |
| support.constant | #9eabbc | — |
| constant.rgb-value | #EBDAB4 | — |
| entity.name.selector | #8d9973 | — |
| entity.other.attribute-name | #f8d883 | — |
| entity.name.tag, punctuation.tag | #8d9973 | — |
| invalid, invalid.illegal | #cc241d | — |
| invalid.deprecated | #b16286 | — |
| meta.selector | #8d9973 | — |
| meta.preprocessor | #b7c3d2 | — |
| meta.preprocessor.string | #8d9973 | — |
| meta.preprocessor.numeric | #8d9973 | — |
| meta.header.diff | #b7c3d2 | — |
| storage | #d67e50 | bold |
| storage.modifier | #b7c3d2 | — |
| string | #e6dfc1 | — |
| string.tag | #e6dfc1 | — |
| string.value | #e6dfc1 | — |
| string.regexp | #b7c3d2 | — |
| string.escape | #d67e50 | — |
| string.quasi | #e6dfc1 | — |
| string.entity | #e6dfc1 | — |
| object | #EBDAB4 | — |
| module.node | #83a598 | — |
| support.type.property-name | #c4c59b | — |
| keyword | #d67e50 | — |
| keyword.control | #d67e50 | bold |
| keyword.control.module, keyword.control.from, keyword.control.import, keyword.control.export, keyword.control.default | #8d9973 | — |
| keyword.control.less | #d79921 | — |
| keyword.operator | #EBDAB4 | — |
| keyword.operator.new | #d67e50 | bold |
| keyword.operator.expression | #c5cedd | bold |
| keyword.other.unit | #8d9973 | — |
| metatag.php | #b7c3d2 | — |
| support.function.git-rebase | #c4c59b | — |
| constant.sha.git-rebase | #8d9973 | — |
| meta.type.name, meta.return.type, meta.return-type, meta.cast, meta.type.annotation, support.type, storage.type.cs, variable.class | #8d9973 | — |
| variable.this, support.variable | #eo8d63 | — |
| entity.static, entity.name.class.static.function, entity.name.class | #f8d883 | — |
| storage.type.function, entity.function, entity.name.function.static | #8d9973 | — |
| meta.definition.function, meta.definition.method | #8d9973 | — |
| meta.function-call | #b7c3d2 | — |
| support.function.builtin | #b7c3d2 | — |
| entity.name.method, entity.name.method.function-call, entity.name.static.function-call | #c4c59b | — |
| brace | #d5c4a1 | — |
| meta.parameter.type.variable, variable.parameter, variable.name, variable.other, variable, string.constant.other.placeholder | #EBDAB4 | — |
| prototype | #d5835d | — |
| storage.type.class | #d67e50 | — |
| punctuation | #EBDAB4 | — |
| punctuation.quoted | #EBDAB4 | — |
| punctuation.quasi | #d67e50 | — |
| punctuation.definition.string | #8d9973 | — |
| punctuation.definition.template-expression | #8d9973 | — |
| *url*, *link*, *uri* | — | underline |
| meta.function.python, entity.name.function.python | #8d9973 | — |
| storage.type.function.python, storage.modifier.declaration, storage.type.class.python | #d67e50 | — |
| meta.function-call.generic | #83a598 | — |
| meta.function-call.arguments | #d5c4a1 | — |
| entity.name.function.decorator | #f8d883 | italic |
| constant.other.caps | #d5835d | bold |
| keyword.operator.logical | #d67e50 | — |
| punctuation.definition.logical-expression | #b7c3d2 | — |
| string.inperpolated.dollar.shell | #b7c3d2 | — |
| string.interpolated.dollar.shell, string.interpolated.backtick.shell | #8d9973 | — |
| entity.name.function | #8d9973 | bold |
| keyword.control.directive | #8d9973 | — |
| support.function.C99 | #f8d883 | — |
| meta.function.cs, entity.name.function.cs, entity.name.type.namespace.cs | #8d9973 | — |
| keyword.other.using.cs, entity.name.variable.field.cs, entity.name.variable.local.cs, variable.other.readwrite.cs | #8d9973 | — |
| keyword.other.this.cs, keyword.other.base.cs | #eo8d63 | — |
| meta.scope.prerequisites | #f8d883 | — |
| entity.name.function.target | #8d9973 | bold |
| storage.modifier.import.java, storage.modifier.package.java | #bdae93 | — |
| keyword.other.import.java, keyword.other.package.java | #8d9973 | — |
| storage.type.java | #f8d883 | — |
| storage.type.annotation | #83a598 | bold |
| keyword.other.documentation.javadoc | #8d9973 | — |
| comment.block.javadoc variable.parameter.java | #8d9973 | bold |
| source.java variable.other.object, source.java variable.other.definition.java | #EBDAB4 | — |
| meta.function-parameters.lisp | #f8d883 | — |
| markup.underline | — | underline |
| string.other.link.title.markdown | #928374 | underline |
| markup.underline.link | #eo8d63 | — |
| markup.bold | #b7c3d2 | bold |
| markup.heading | #b7c3d2 | bold |
| markup.italic | — | italic |
| markup.inserted | #8d9973 | — |
| markup.deleted | #d65d0e | — |
| markup.changed | #b7c3d2 | — |
| markup.punctuation.quote.beginning | #d67e50 | — |
| markup.punctuation.list.beginning | #83a598 | — |
| markup.inline.raw, markup.fenced_code.block | #8d9973 | — |
| string.quoted.double.json | #e6dfc1 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #8490a8 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #9eabbc | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #b7c3d2 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #d7dee0 | — |
| entity.other.attribute-name.css | #f5c878 | — |
| source.css meta.selector | #EBDAB4 | — |
| support.type.property-name.css | #ecce95 | — |
| entity.other.attribute-name.class | #c4c59b | — |
| source.css support.function.transform, source.css support.function.timing-function, source.css support.function.misc | #d5835d | — |
| support.property-value, constant.rgb-value, support.property-value.scss, constant.rgb-value.scss | #f5c878 | — |
| entity.name.tag.css | #c4c59b | — |
| punctuation.definition.tag | #667289 | — |
| text.html entity.name.tag, text.html punctuation.tag | #9eabbc | bold |
| source.JavaScript variable.language | #b5b27f | bold |
| source.JavaScript meta.function | #9eabbc | bold |
| source.ts variable.language | #f8d883 | — |
| source.go storage.type | #f8d883 | — |
| source.go entity.name.import | #e6dfc1 | italic |
| source.go keyword.package, source.go keyword.import | #d67e50 | bold |
| source.go keyword.interface, source.go keyword.struct | #8d9973 | — |
| source.go entity.name.type | #EBDAB4 | — |
| source.go entity.name.function | #9eabbc | — |
| keyword.control.cucumber.table | #83a598 | — |
| source.reason string.double, source.reason string.regexp | #8d9973 | — |
| source.reason keyword.control.less | #8d9973 | — |
| source.reason entity.name.function | #83a598 | — |
| source.reason support.property-value, source.reason entity.name.filename | #b7c3d2 | — |
| source.powershell variable.other.member.powershell | #b7c3d2 | — |
| source.powershell support.function.powershell | #f8d883 | — |
| source.powershell support.function.attribute.powershell | #bdae93 | — |
| source.powershell meta.hashtable.assignment.powershell variable.other.readwrite.powershell | #b7c3d2 | — |
| source.yaml | #f5c878 | bold |
| source.yaml constant | #d5835d | — |
| source.nix | #9eabbc | bold |
| source.lua | #9eabbc | bold |
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}!`;
}