Dark Sharp
Publisher: Jeremy C. ZachariaThemes in package: 1
A sharp dark theme built for Angular and .NET developers — full semantic token support with consistent colors across C# and Angular templates.
A sharp dark theme built for Angular and .NET developers — full semantic token support with consistent colors across C# and Angular templates.
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 |
|---|---|---|
| entity.other.ng-binding-name.property | #4FC1FF | italic |
| entity.other.ng-binding-name.event | #FFECB3 | italic |
| entity.other.ng-binding-name.two-way | #92DDE2 | italic |
| entity.other.ng-binding-name.template | #CE93D8 | italic bold |
| entity.other.ng-binding-name.attribute | #9CDCFE | italic |
| entity.other.ng-binding-name.class, entity.other.ng-binding-name.style | #D7BA7D | italic |
| punctuation.definition.ng-binding-name | #FFD54F | — |
| entity.name.function.pipe.ng | #FFECB3 | italic |
| keyword.control.block.kind.ng, storage.type.ng, keyword.control.track.ng | #CE93D8 | italic bold |
| keyword.control.block.transition.ng | #CE93D8 | bold |
| control.block.ng punctuation.definition.block | — | bold |
| punctuation.definition.interpolation.begin.ng, punctuation.definition.interpolation.end.ng | #CE93D8 | bold |
| meta.tag.custom entity.name.tag, meta.tag.other.unrecognized entity.name.tag | #4EC9B0 | bold |
| hostbinding.static.ng entity.other.attribute-name.html | #9CDCFE | italic |
| hostbindings.ng entity.other.attribute-name.html | #4FC1FF | italic |
| variable.other.constant.ng | #4FC1FF | — |
| meta.attribute.unrecognized entity.other.attribute-name.html | #4FC1FF | italic |
| meta.embedded, source.groovy.embedded | #D4D4D4 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #757882 | — |
| constant.language | #FFAB40 | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #AEEA00 | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #569CD6 | — |
| entity.name.tag.css | #D7BA7D | — |
| entity.other.attribute-name | #9CDCFE | italic |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss | #D7BA7D | — |
| invalid | #F44747 | — |
| markup.underline | — | underline |
| markup.bold | #569CD6 | bold |
| markup.heading | #569CD6 | bold |
| markup.italic | — | italic |
| markup.inserted | #AEEA00 | — |
| markup.deleted | #CDA48C | — |
| markup.changed | #569CD6 | — |
| punctuation.definition.quote.begin.markdown | #757882 | — |
| punctuation.definition.list.begin.markdown | #6796E6 | — |
| markup.inline.raw | #CDA48C | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor, entity.name.function.preprocessor | #569CD6 | — |
| meta.preprocessor.string | #CDA48C | — |
| meta.preprocessor.numeric | #AEEA00 | — |
| meta.structure.dictionary.key.python | #9CDCFE | — |
| meta.diff.header | #569CD6 | — |
| storage | #569CD6 | — |
| storage.type | #569CD6 | italic |
| storage.modifier, keyword.operator.noexcept | #569CD6 | italic |
| string, meta.embedded.assembly | #CDA48C | — |
| string.tag, string.value | #CDA48C | — |
| string.regexp | #D16969 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #CE93D8 | bold |
| meta.template.expression | #D4D4D4 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #9CDCFE | — |
| keyword | #569CD6 | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator | #CE93D8 | italic |
| keyword.control.flow, keyword.operator.expression.await | #CE93D8 | italic |
| keyword.operator | #FFD54F | — |
| keyword.operator.arrow | — | |
| keyword.operator.expression.nameof, keyword.operator.expression.typeof, keyword.operator.expression.default, keyword.operator.expression.new | #569CD6 | italic |
| storage.type.accessor | #569CD6 | italic |
| keyword.operator.logical, punctuation.accessor.optional | #EC407A | |
| keyword.other.unit | #AEEA00 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #569CD6 | — |
| support.function.git-rebase | #9CDCFE | — |
| constant.sha.git-rebase | #AEEA00 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #D4D4D4 | — |
| variable.language | #569CD6 | italic |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #FFECB3 | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #4EC9B0 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #4EC9B0 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, meta.decorator variable.other.readwrite | #9CDCFE | — |
| variable.other.constant, variable.other.enummember | #4FC1FF | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function, variable.other.object.property, variable.other.property, support.variable.property | #26C6DA | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #CDA48C | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #CDA48C | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #D16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #FFECB3 | — |
| keyword.operator.quantifier.regexp | #D7BA7D | — |
| constant.character | #569CD6 | — |
| constant.character.escape | #D7BA7D | — |
| entity.name.label | #DCDCDC | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| meta.decorator punctuation.decorator | #FFECB3 | italic |
| keyword.generator.asterisk | #FFD54F | — |
| storage.type.function.arrow | — |
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}!`;
}