SeeSharp Theme
Publisher: Armant GoldswainThemes in package: 10
A colourful vibrant syntax theme for C# specifically
A colourful vibrant syntax theme for C# specifically
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 markup.link, comment, punctuation.definition.comment, unused.comment, wildcard.comment | #8D8D8D | italic underline |
| text, source | #ffffff | — |
| emphasis | — | italic |
| strong | — | bold |
| invalid | #E6457B | italic |
| invalid.deprecated | #99611F | underline italic |
| invalid.illegal | #E6457B | underline italic |
| variable.language.self, entity.type.enum, variable.other.object.property, entity.name.type.enum | #FF9243 | — |
| entity.name.type | #FE2149 | bold |
| keyword.operator.accessor, entity.name.tag.class.jsx, JSXNested | #50BCFF | italic |
| keyword.other.unit | #fe395d | — |
| keyword.other.special-method, entity.name.other.preprocessor.macro, variable.other.event | #E6E667 | — |
| constant.character | #4FE0E0 | — |
| constant.character.escape | #FB48C4 | — |
| entity.name.label, entity.name.namespace | #d3d3d3 | — |
| keyword.control.export.js, keyword.control.import.js | #72f1b8 | — |
| variable, entity.name.variable | #BCA5F7 | italic |
| variable.parameter, entity.name.type.type-parameter | #00D2B3 | |
| variable.other.object, string.quoted.template variable.other.readwrite, variable.language.arguments | #FFFFFF | italic |
| support.type | #00c3ff | italic |
| entity.name.section, entity.name.type.module, support.type.primitive, variable.other.enummember | #FF4CD2 | |
| keyword.control.default, keyword.control.export, keyword.control.from, keyword.control.import, keyword.control.module, support.type.object.module | #FF9EE7 | — |
| meta.protocol-list.objc, meta.return-type.objc, meta.return-type, source.go storage.type, source.groovy storage.type, source.java storage.type, source.powershell entity.other.attribute-name | #38B3FF | — |
| entity.name.type.class, support.class, variable.other.class, entity.name.class | #739FFF | — |
| storage.class.std.rust, storage.type.annotation.groovy, storage.type.annotation.java, storage.type.attribute.swift, storage.type.boolean.go, storage.type.byte.go, storage.type.c, storage.type.core.rust, storage.type.cs, storage.type.cs, storage.type.error.go, storage.type.generic.cs, storage.type.generic.groovy, storage.type.generic.java, storage.type.groovy, storage.type.groovy, storage.type.haskell, storage.type.java, storage.type.modifier.cs, storage.type.numeric.go, storage.type.objc, storage.type.object.array.groovy, storage.type.object.array.java, storage.type.ocaml, storage.type.parameters.groovy, storage.type.php, storage.type.primitive.array.groovy, storage.type.primitive.array.java, storage.type.primitive.groovy, storage.type.primitive.java, storage.type.rune.go, storage.type.string.go, storage.type.struct, storage.type.token.java, storage.type.uintptr.go, storage.type.variable.cs, variable.css, variable.scss, entity.other.inherited-class, entity.name.scope-resolution, entity.other.attribute, keyword.primitive-datatypes.swift, keyword.type.cs | #00F0FF | italic |
| entity.name.function.accessor, entity.name.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal, meta.method-call.java meta.method, meta.method.groovy, keyword.operator.function.infix, keyword.control.require | #07FB3C | — |
| entity.name.function.member, support.function, entity.name.function.method | #07fb69 | |
| keyword.operator | #FE2149 | |
| support.type.vendored.property-name, variable.other.less, source.coffee.embedded, variable.other.property, variable.other.constant.property, keyword.constant.numeric | #FB48C4 | |
| support.type.property-name, variable.other.property, variable.other.constant.property | #00b4fc | |
| string, meta.embedded.assembly, string.tag, string.value | #ECEC0E | — |
| meta.implementation storage.type.objc, meta.interface-or-protocol storage.type.objc, source.groovy storage.type.def, storage.type.accessor, storage.type.class.jsdoc, storage.type.property, storage | #35F6F6 | italic |
| storage.modifier, storage.type.modifier, entity.name.operator, keyword.control.module.reference, keyword.operator.alignas, keyword.operator.alignof, keyword.operator.cast, keyword.operator.delete, keyword.operator.expression, keyword.operator.in, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.noexcept, keyword.operator.of, keyword.operator.sizeof, keyword.operator.typeid, keyword.operator.typeof, keyword.operator.void, keyword.operator.readonly, keyword.operator.wordlike, keyword.other.operator, source.cpp keyword.operator.new, storgae.type.extends, storage.control, keyword.storage, keyword.constant.storage, punctuation.flowtype, meta.object.flowtype, keyword.operator.new, keyword.control.new, storage, keyword.operator.member, keyword.control.directive, keyword.control, punctuation.definition.keyword, keyword.other.important, keyword.other.new, keyword.other, entity.name.type.keyword, entity.name.type.namespace, keyword.other.using, keyword.other.namespace | #FE2149 | italic |
| storage.type, storage.type.js | #4FE0E0 | italic bold |
| variable.other.constant, support.function.magic, variable.other.predefined, constant, constant.variable, constant.language, support.constant | #9D59F8 | bold |
| constant.numeric, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #ff02ee | |
| keyword.expressions-and-types.swift, variable.language, variable.language punctuation.definition.variable.php, variable.other.readwrite.instance.ruby, variable.parameter.function.language.special | #4FE0E0 | — |
| punctuation.section.embedded, meta.string-contents.quoted.double punctuation.definition.variable, punctuation.definition.interpolation.begin, punctuation.definition.interpolation.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded.begin, punctuation.section.embedded.coffee, punctuation.section.embedded.end, punctuation.section.embedded.end source.php, punctuation.section.embedded.end source.ruby, punctuation.definition.variable.makefile | #FF9EE7 | — |
| keyword.operator.decorator, punctuation.decorator, entity.name.class.decorator, variable.other.readwrite.decorator | #E6E667 | — |
| constant.other.color, constant.other.symbol, punctuation.definition.block.tag, punctuation.accessor, punctuation.definition.typeparameters, punctuation.separator, support.class.component | #1eff78 | bold italic |
| meta.attribute.href.html, punctuation.definition.tag.jsx, punctuation.definition.tag.tsx | #fff9fa | — |
| support.type.object.console | #2FDE73 | — |
| support.type.object.dom | #4FE0E0 | — |
| variable.interpolation | #E6457B | — |
| meta.definition.variable.name | #FF9EE7 | — |
| meta.object-literal.key, variable.language.this | #FFBEFE | — |
| JSXAttrs, JSXNested, support.type.property-name.css, support.type.property-name.scss | #15e2e6 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom | #2FDE73 | — |
| comment keyword.codetag.notation, comment.block.documentation keyword, comment.block.documentation storage.type.class | #4FE0E0 | — |
| comment.block.documentation entity.name.type punctuation.definition.bracket, comment.block.documentation entity.name.type | #2FDE73 | italic |
| comment.block.documentation variable | #D3D1EB | italic |
| punctuation.separator.parameter, punctuation.terminator.statement, meta.array-binding-pattern-variable, keyword.operator.other.powershell, keyword.other.statement-separator.powershell, meta.brace.curly, meta.brace.round, meta.brace.square, punctuation.definition.arguments.begin, punctuation.definition.arguments.end, punctuation.definition.entity.begin, punctuation.definition.entity.end, punctuation.definition.tag, punctuation.definition.type.begin, punctuation.definition.type.end, punctuation.section.scope.begin, punctuation.section.scope.end, storage.type.generic.java, string.template meta.brace, string.template punctuation.accessor | #D3D1EB | — |
| punctuation.definition.entity, string.unquoted.heredoc punctuation.definition.string, punctuation.separator.annotation, punctuation.colon.graphql, punctuation.definition.entity.other.inherited-class, punctuation.function.swift, meta.object-binding-pattern-variable punctuation.destructuring, entity.other.attribute-name.placeholder punctuation, constant.other.symbol.hashkey punctuation.definition.constant.ruby, entity.other.attribute-name.pseudo-class punctuation, punctuation.separator.dictionary.key-value, punctuation.separator.hash, punctuation.separator.inheritance, punctuation.separator.key-value.mapping.yaml, punctuation.separator.namespace, punctuation.separator.pointer-access, punctuation.separator.slice | #4FE0E0 | — |
| meta.embedded, source.groovy.embedded | #D3D1EB | — |
| entity.name.tag | #5A6BC8 | — |
| entity.other.attribute-name | #ff3b58 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.class, entity.other.attribute-name.class.mixin, entity.other.attribute-name.parent-selector, entity.other.attribute-name.attribute, meta.group.double.toml, meta.group.toml, support.other.chomping-indicator.yaml, entity.other.attribute-name.id | #739FFF | — |
| support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #50B6FF | — |
| support.constant.property-value | #D3D1EB | — |
| punctuation.separator.key-value | #4FE0E0 | — |
| punctuation.definition.constant | #FF9EE7 | — |
| meta.property-list punctuation.separator.key-value | #D3D1EB | — |
| meta.selector | #4FE0E0 | — |
| header | #BA95B3 | — |
| constant.other.object.key string.unquoted, punctuation.quasi.element, keyword.other.definition, variable.language.prototype, variable.other.jsdoc | #F84364 | — |
| punctuation.definition.block.scalar.folded.yaml, punctuation.definition.block.scalar.literal.yaml, punctuation.definition.block.sequence.item.yaml | #AB80FF | — |
| meta.preprocessor, entity.name.function.preprocessor | #E6E667 | — |
| meta.preprocessor.string | #50B6FF | — |
| meta.preprocessor.numeric | #ff76dd | — |
| meta.structure.dictionary.key.python | #D74BBE | — |
| meta.diff.header | #4FE0E0 | — |
| meta.decorator variable.other.readwrite, meta.decorator variable.other.property, meta.decorator variable.other.object | #d3d3d3 | — |
| entity.name.function.target.makefile, entity.name.section.toml, variable.other.key.toml | #D74BBE | — |
| constant.other.date, constant.other.timestamp | #4FE0E0 | — |
| meta.indexer.mapped type.declaration entity.name.type, meta.type.parameters entity.name.type | #D3D1EB | — |
| punctuation.support.type.property-name.begin, punctuation.support.type.property-name.end | #D74BBE | — |
| string.quoted.docstring.multi, string.quoted.docstring.multi.python punctuation.definition.string.begin, string.quoted.docstring.multi.python punctuation.definition.string.end, string.quoted.docstring.multi.python constant.character.escape | #50B6FF | — |
| source.shell variable.other | #2FDE73 | — |
| meta.scope.prerequisites.makefile | #50B6FF | — |
| support.function.git-rebase | #FF9EE7 | — |
| constant.sha.git-rebase | #FF9EE7 | — |
| markup.underline | — | underline |
| punctuation.definition.bold.markdown, markup.bold | #f9f9f9e5 | |
| markup.italic | #2FDE73 | italic |
| beginning.punctuation.definition.list.markdown, entity.name.section.markdown, markup.heading.setext, markup.heading, punctuation.definition.heading.markdown, punctuation.definition.list.begin.markdown, text.html.markdown invalid.deprecated, text.html.markdown punctuation.definition.tag | #D74BBE | — |
| markup.heading punctuation.definition.heading | #E6E667 | — |
| markup.error, markup.deleted | #fa5170 | — |
| markup.fenced_code.block.markdown, markup.inline.raw.markdown, markup.inline.raw.string.markdown, markup.inline.raw, markup.inserted, markup.raw.block.markdown, markup.raw, punctuation.definition.markdown, punctuation.definition.raw.markdown | #2FDE73 | — |
| constant.other.reference.link.markdown, string.other.link.description.markdown, string.other.link.title.markdown | #FF9EE7 | — |
| markup.changed, punctuation.definition.constant.begin.markdown, punctuation.definition.constant.end.markdown, punctuation.definition.constant.markdown, punctuation.definition.metadata.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, string.other.link.description.title.markdown, text.html.markdown string.quoted | #AB80FF | — |
| beginning.punctuation.definition.quote.markdown, markup.link, markup.quote.markdown, markup.quote, markup.underline.link.image.markdown, markup.underline.link.markdown, meta.attribute.href.html string.quoted.double.html, meta.attribute.href.html string.quoted.single.html, punctuation.definition.link.restructuredtext | #34fde6 | — |
| string.regexp, constant.regexp, keyword.operator.or.regexp | #2FDE73 | — |
| constant.character.escape.backslash.regexp, meta.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, support.other.parenthesis.regexp | #4FE0E0 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp, punctuation.definition.group.regexp, punctuation.definition.group.capture.regexp, keyword.control.anchor.regexp | #AB80FF | — |
| keyword.operator.quantifier.regexp | #E6E667 | — |
| keyword.operator.negation.regexp, constant.character.regexp, punctuation.definition.range.regexp | #FF9EE7 | — |
| keyword.control.new, keyword.operator.new | — | bold italic |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| entity.name.tag, entity.name.tag.class.js, entity.name.tag.class.jsx | #FE2149 | — |
| storage.type.accessor, entity.name.tag.class, entity.name.tag.id | #4afe83 | — |
| entity.other.attribute-name | #29caff | 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}!`;
}