Awesomecode
Publisher: ekovegeanceThemes in package: 1
An elegant, minimalist theme and extension pack crafted for modern editors to provide the ultimate Developer Experience.
An elegant, minimalist theme and extension pack crafted for modern editors to provide the ultimate Developer Experience.
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 |
|---|---|---|
| punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison | #f472b6 | — |
| comment, punctuation.definition.comment | #64748B | — |
| variable.key.dotenv | #bf97e4 | — |
| keyword.operator.assignment.dotenv | #f9fafc | — |
| string.quoted.double.dotenv | #afc585 | — |
| entity.other.inherited-class.php | #afc585 | — |
| support.other.namespace.php, meta.use.php, source.php, meta.embedded.block.php, text.html.php | #c0c7d4 | — |
| keyword.other.type.php, meta.function.php, meta.class.body.php, meta.class.php, source.php, meta.embedded.block.php, text.html.php | #bf97e4 | — |
| keyword.php, storage.type.php, storage.modifier.php | #bf97e4 | — |
| keyword.control.new.php, keyword.other.new.php | #66b2ff | — |
| string, punctuation.definition.string, string.quoted | #98c379 | — |
| entity.name.function.php, support.function.php, meta.function-call entity.name.function.php, entity.name.label.php, variable.other.property.php, meta.function-call.arguments variable.other.property.php | #66b2ff | — |
| entity.name.type.class.php, entity.name.type.interface.php, entity.name.type.trait.php, support.class.php, entity.other.inherited-class.php | #f5c879 | — |
| variable.other.php, variable.parameter.php, support.other.namespace.php, entity.name.type.namespace.php, entity.name.type.namespace.php | #c0c7d4 | — |
| constant.numeric, constant.language, constant.character | #d19a66 | — |
| punctuation, keyword.operator | #abb2bf | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #ac463f | — |
| support.attribute.php, meta.attribute.php, source.php, meta.embedded.block.php, text.html.php | #bfc5d2 | — |
| punctuation.section.array.begin.php, punctuation.section.array.end.php, source.php, meta.embedded.block.php, text.html.php | #c0c7d4 | — |
| meta.attribute.php, source.php, meta.embedded.block.php, text.html.php | #e2e8f0 | — |
| variable.other.generic-type.haskell | #c678dd | — |
| storage.type.haskell | #cbd5e1 | — |
| support.variable.magic.python | #f472b6 | — |
| punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python | #d4d4d4 | — |
| variable.parameter.function.language.special.self.python | #e5c07b | — |
| storage.modifier.lifetime.rust | #d4d4d4 | — |
| support.function.std.rust | #61afef | — |
| entity.name.lifetime.rust | #e5c07b | — |
| variable.language.rust | #f472b6 | — |
| support.constant.edge | #c678dd | — |
| constant.other.character-class.regexp | #f472b6 | — |
| keyword.operator.quantifier.regexp | #cbd5e1 | — |
| punctuation.definition.string.begin,punctuation.definition.string.end | #98c379 | — |
| variable.parameter.function | #d4d4d4 | — |
| comment markup.link | #7f848e | — |
| markup.changed.diff | #e5c07b | — |
| meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff | #61afef | — |
| markup.inserted.diff | #98c379 | — |
| markup.deleted.diff | #f472b6 | — |
| meta.function.c,meta.function.cpp | #f472b6 | — |
| punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c | #d4d4d4 | — |
| entity.name.tag.tsx, meta.tag.tsx, meta.jsx.children.tsx, meta.tag.without-attributes.tsx, meta.block.tsx, meta.function.expression.tsx, meta.export.default.tsx | #dc6baa | — |
| punctuation.definition.tag.begin.tsx, punctuation.definition.tag.end.tsx | #929ba8 | — |
| entity.other.attribute-name.tsx | #c1c9d5 | — |
| string.quoted.template.tsx, string.quoted.single.tsx, string.quoted.double.tsx, punctuation.definition.string.begin.tsx, punctuation.definition.string.end.tsx | #85cbf2 | — |
| keyword.operator.assignment.tsx | #c1c9d5 | — |
| support.class.component.tsx | #66a8f8 | — |
| variable.other.readwrite.alias.tsx, punctuation.definition.block.tsx, meta.block.tsx, meta.import.tsx, meta.brace.curly.tsx, punctuation.section.embedded.begin.tsx, punctuation.section.embedded.end.tsx | #dbdde1 | — |
| storage.type.annotation.java, storage.type.object.array.java | #e5c07b | — |
| source.java | #f472b6 | — |
| punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java | #d4d4d4 | — |
| meta.method.java | #61afef | — |
| storage.modifier.import.java,storage.type.java,storage.type.generic.java | #e5c07b | — |
| keyword.operator.instanceof.java | #c678dd | — |
| meta.definition.variable.name.java | #f472b6 | — |
| keyword.operator.logical | #56b6c2 | — |
| keyword.operator.bitwise | #56b6c2 | — |
| keyword.operator.channel | #56b6c2 | — |
| support.constant.property-value.scss,support.constant.property-value.css | #cbd5e1 | — |
| keyword.operator.css,keyword.operator.scss,keyword.operator.less | #56b6c2 | — |
| support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss | #cbd5e1 | — |
| punctuation.separator.list.comma.css | #d4d4d4 | — |
| support.constant.color.w3c-standard-color-name.css | #cbd5e1 | — |
| support.type.vendored.property-name.css | #56b6c2 | — |
| entity.name.type.module | #e5c07b | — |
| keyword.operator.misc.rust | #d4d4d4 | — |
| keyword.operator.sigil.rust | #c678dd | — |
| keyword.operator.delete | #c678dd | — |
| keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational | #56b6c2 | — |
| keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp | #c678dd | — |
| punctuation.separator.delimiter | #d4d4d4 | — |
| punctuation.separator.c,punctuation.separator.cpp | #c678dd | — |
| support.type.posix-reserved.c,support.type.posix-reserved.cpp | #56b6c2 | — |
| keyword.operator.sizeof.c,keyword.operator.sizeof.cpp | #c678dd | — |
| variable.parameter.function.language.python | #cbd5e1 | — |
| support.type.python | #56b6c2 | — |
| keyword.operator.logical.python | #c678dd | — |
| variable.parameter.function.python | #cbd5e1 | — |
| punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python | #d4d4d4 | — |
| meta.function-call.generic.python | #61afef | — |
| constant.character.format.placeholder.other.python | #cbd5e1 | — |
| keyword.operator | #d4d4d4 | — |
| keyword.operator.assignment.compound | #c678dd | — |
| keyword | #c678dd | — |
| entity.name.namespace | #e5c07b | — |
| variable | #818cf8 | — |
| variable.c | #d4d4d4 | — |
| variable.language | #e5c07b | — |
| token.variable.parameter.java | #d4d4d4 | — |
| import.storage.java | #e5c07b | — |
| token.package.keyword | #c678dd | — |
| token.package | #d4d4d4 | — |
| entity.name.function, meta.require, support.function.any-method, variable.function | #60a5fa | — |
| entity.name.type.namespace | #38bdf8 | — |
| support.class, entity.name.type.class | #38bdf8 | — |
| entity.name.class.identifier.namespace.type | #e4e4e7 | — |
| entity.name.type | #e5c07b | — |
| keyword.control | #c678dd | — |
| control.elements, keyword.operator.less | #cbd5e1 | — |
| keyword.other.special-method | #60a5fa | — |
| storage | #c678dd | — |
| token.storage.type.java | #e5c07b | — |
| support.function | #56b6c2 | — |
| support.type.property-name | #d4d4d4 | — |
| support.constant.property-value | #d4d4d4 | — |
| support.constant.font-name | #cbd5e1 | — |
| meta.tag | #d4d4d4 | — |
| string | #7dd3fc | — |
| entity.other.inherited-class | #e5c07b | — |
| constant.other.symbol | #56b6c2 | — |
| constant.numeric | #cbd5e1 | — |
| constant | #cbd5e1 | — |
| punctuation.definition.constant | #cbd5e1 | — |
| entity.name.tag | #f472b6 | — |
| entity.other.attribute-name | #cbd5e1 | — |
| entity.other.attribute-name.id | #61afef | — |
| entity.other.attribute-name.class.css | #cbd5e1 | — |
| meta.selector | #c678dd | — |
| markup.heading | #f472b6 | — |
| markup.heading punctuation.definition.heading, entity.name.section | #61afef | — |
| keyword.other.unit | #f472b6 | — |
| markup.bold,todo.bold | #cbd5e1 | — |
| punctuation.definition.bold | #e5c07b | — |
| markup.italic, punctuation.definition.italic,todo.emphasis | #c678dd | — |
| emphasis md | #c678dd | — |
| entity.name.section.markdown | #f472b6 | — |
| punctuation.definition.heading.markdown | #f472b6 | — |
| punctuation.definition.list.begin.markdown | #f472b6 | — |
| markup.heading.setext | #d4d4d4 | — |
| punctuation.definition.bold.markdown | #cbd5e1 | — |
| markup.inline.raw.markdown | #98c379 | — |
| markup.inline.raw.string.markdown | #98c379 | — |
| punctuation.definition.list.markdown | #f472b6 | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #f472b6 | — |
| beginning.punctuation.definition.list.markdown | #f472b6 | — |
| punctuation.definition.metadata.markdown | #f472b6 | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #c678dd | — |
| string.other.link.title.markdown,string.other.link.description.markdown | #61afef | — |
| string.regexp | #56b6c2 | — |
| constant.character.escape | #56b6c2 | — |
| punctuation.section.embedded, variable.interpolation | #f472b6 | — |
| punctuation.section.embedded.begin,punctuation.section.embedded.end | #c678dd | — |
| invalid.illegal | #ffffff | — |
| invalid.illegal.bad-ampersand.html | #d4d4d4 | — |
| invalid.broken | #ffffff | — |
| invalid.deprecated | #ffffff | — |
| invalid.unimplemented | #ffffff | — |
| source.json meta.structure.dictionary.json > string.quoted.json | #38bdf8 | — |
| source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string | #38bdf8 | — |
| source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation | #98c379 | — |
| source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json | #56b6c2 | — |
| support.type.property-name.json | #f472b6 | — |
| support.type.property-name.json punctuation | #f472b6 | — |
| meta.function.decorator.python | #61afef | — |
| support.token.decorator.python,meta.function.decorator.identifier.python | #56b6c2 | — |
| function.brace | #d4d4d4 | — |
| function.parameter.ruby, function.parameter.cs | #d4d4d4 | — |
| constant.language.symbol.ruby | #56b6c2 | — |
| rgb-value | #56b6c2 | — |
| inline-color-decoration rgb-value | #cbd5e1 | — |
| less rgb-value | #cbd5e1 | — |
| selector.sass | #f472b6 | — |
| block.scope.end,block.scope.begin | #d4d4d4 | — |
| storage.type.cs | #e5c07b | — |
| entity.name.variable.local.cs | #f472b6 | — |
| token.info-token | #61afef | — |
| token.warn-token | #cbd5e1 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #c678dd | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #c678dd | — |
| meta.template.expression | #d4d4d4 | — |
| keyword.operator.module | #c678dd | — |
| support.type.type.flowtype | #61afef | — |
| support.type.primitive | #e5c07b | — |
| meta.property.object | #f472b6 | — |
| variable.parameter.function.js | #f472b6 | — |
| keyword.other.template.begin | #98c379 | — |
| keyword.other.template.end | #98c379 | — |
| keyword.other.substitution.begin | #98c379 | — |
| keyword.other.substitution.end | #98c379 | — |
| keyword.operator.assignment | #56b6c2 | — |
| keyword.operator.assignment.go | #e5c07b | — |
| keyword.operator.arithmetic.go, keyword.operator.address.go | #c678dd | — |
| entity.name.package.go | #e5c07b | — |
| support.type.prelude.elm | #56b6c2 | — |
| support.constant.elm | #cbd5e1 | — |
| punctuation.quasi.element | #c678dd | — |
| constant.character.entity | #f472b6 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #56b6c2 | — |
| entity.global.clojure | #e5c07b | — |
| meta.symbol.clojure | #f472b6 | — |
| constant.keyword.clojure | #56b6c2 | — |
| meta.arguments.coffee, variable.parameter.function.coffee | #f472b6 | — |
| source.ini | #98c379 | — |
| meta.scope.prerequisites.makefile | #f472b6 | — |
| source.makefile | #e5c07b | — |
| storage.modifier.import.groovy | #e5c07b | — |
| meta.method.groovy | #60a5fa | — |
| meta.definition.variable.name.groovy | #f472b6 | — |
| meta.definition.class.inherited.classes.groovy | #98c379 | — |
| support.variable.semantic.hlsl | #e5c07b | — |
| support.type.texture.hlsl, support.type.sampler.hlsl, support.type.object.hlsl, support.type.object.rw.hlsl, support.type.fx.hlsl, support.type.object.hlsl | #c678dd | — |
| text.variable, text.bracketed | #f472b6 | — |
| support.type.swift, support.type.vb.asp | #e5c07b | — |
| entity.name.function.xi | #e5c07b | — |
| entity.name.class.xi | #56b6c2 | — |
| constant.character.character-class.regexp.xi | #f472b6 | — |
| constant.regexp.xi | #c678dd | — |
| keyword.control.xi | #56b6c2 | — |
| invalid.xi | #e879f9 | — |
| beginning.punctuation.definition.quote.markdown.xi | #98c379 | — |
| beginning.punctuation.definition.list.markdown.xi | #7f848e | — |
| constant.character.xi | #61afef | — |
| accent.xi | #61afef | — |
| wikiword.xi | #cbd5e1 | — |
| constant.other.color.rgb-value.xi | #ffffff | — |
| punctuation.definition.tag.xi | #7f848e | — |
| entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition | #e5c07b | — |
| entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #f472b6 | — |
| meta.brace.square | #d4d4d4 | — |
| comment, punctuation.definition.comment | #7f848e | italic |
| markup.quote.markdown | #7f848e | — |
| punctuation.definition.block.sequence.item.yaml | #d4d4d4 | — |
| constant.language.symbol.elixir | #56b6c2 | — |
| comment.line.double-slash,comment.block.documentation | — | italic |
| keyword.control.import.python,keyword.control.flow.python | — | italic |
| markup.italic.markdown | — | italic |
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}!`;
}