Seaci Theme
Publisher: seaciThemes in package: 5
a nice looking theme
a nice looking theme
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown | #d4d4d4 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #5fb5be | — |
| comment, punctuation.definition.comment | #ffffff4f | italic |
| punctuation.definition, punctuation.definition.quote.begin.markdown, punctuation.definition.tag, punctuation.section.embedded | #ffffff5f | — |
| constant.language | #ebafaf | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #7bc1c2 | — |
| constant.regexp | #f6c177 | — |
| entity.name.tag, entity.name.tag.css, support.class.component | #87d3b3 | — |
| entity.other.attribute-name | #eec489 | — |
| 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 | #6cbe9f | — |
| invalid | #6cbe9f | — |
| markup.underline | — | underline |
| string.other.link | #5fb5be | — |
| markup.underline.link | #808080 | — |
| markup.bold | #a0a5d6 | bold |
| markup.heading | #74ccaa | bold |
| markup.italic | #a0a5d6 | italic |
| markup.strikethrough | — | strikethrough |
| markup.quote | #a0a0a0 | italic |
| markup.inserted | #74ccaa | — |
| markup.deleted | #ff8787 | — |
| markup.changed | #5fb5be | — |
| punctuation.definition.list.begin.markdown | #5fb5be | — |
| markup.inline.raw | #f6c177 | — |
| meta.preprocessor, entity.name.function.preprocessor | #8abcd1 | — |
| meta.preprocessor.string | #74ccaa | — |
| meta.preprocessor.numeric | #f6c177 | — |
| meta.structure.dictionary.key.python | #a0a5d6 | — |
| meta.diff.header | #5fb5be | — |
| storage | #E3CBEB | — |
| storage.type | #D2CCFF | italic bold |
| punctuation.separator | #B8D7F9CC | — |
| storage.modifier, keyword.operator.noexcept | #FFCCE0 | bold |
| string, meta.embedded.assembly, punctuation.definition.string | #A4DFAE | — |
| string.tag | #74ccaa | — |
| string.value | #74ccaa | — |
| string.regexp | #f6c177 | — |
| meta.template.expression | #d4d4d4 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #a0a5d6 | — |
| keyword | #e0c966 | — |
| keyword.control | #B8DCF9 | — |
| keyword.operator | #B8DCF9 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #E3CBEB | — |
| keyword.other.unit | #E3CBEB | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #E3CBEB | — |
| support.function.git-rebase | #5fb5be | — |
| constant.sha.git-rebase | #e3b26e | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #77d1af | — |
| variable.language | #e4b36f | italic |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #8fc7ff | — |
| 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 | #ffcce0 | italic |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #ef9c72 | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator | #E3CBEB | — |
| entity.name.type.module,entity.name.package,variable.other.property,variable.other.object.property,variable.other.constant.property,entity.name.type.option,entity.name.label,variable.other.object.property.cs,entity.name.variable.tuple-element.cs,meta.object-literal.key,meta.object-literal.key string.quoted,variable.object.property,support.type.map.key,meta.at-rule.each.scss,meta.attribute.python,support.variable.dom,support.variable.property,support.variable.property.dom,storage.modifier.import,constant.other.php,entity.name.type.namespace,variable.other.member.c,meta.using-namespace-declaration.cpp entity.name.type.cpp,meta.class-struct-block.cpp meta.namespace-block.cpp entity.name.type.cpp,variable.other.source.dart,entity.name.namespace,entity.name.module,entity.name.type.result.rust,entity.name.scope-resolution.namespace,support.class.console,meta.use.rust,keyword.other.preprocessor.extension,entity.other.attribute-name.pseudo-element.css,entity.name.section.markdown,markup.heading,source.json meta.structure.dictionary.json > string.quoted.json,support.type.property-name.json,support.function.section.latex,meta.object-literal.key punctuation.definition.string,variable.other.constant.object.property,source.cs storage.type.accessor,entity.other.attribute, | #ded6cf | |
| variable.other,support.variable,meta.definition.variable,variable.other.object,variable.other.readwrite,entity.name.type.enum,meta.method.body,entity.name.variable,meta.block.c,meta.class-struct-block,meta.item-access.python,meta.function-call.arguments.python,meta.item-access.arguments.python,variable.parameter.keyframe-list.css,meta.property-value.css,meta.property-value.scss,entity.name.tag.custom,entity.name.function.scss,variable,meta.function-call.c,meta.parens,support.constant.color.w3c-standard-color-name,support.constant.color.w3c-extended-color-name,constant.other.color.rgb-value.hex,constant.other.rgb-value,support.constant.color.w3c-extended-color-name.css,text.tex.latex constant.other.math.tex,constant.other.general.math.tex,constant.other.general.math.tex,constant.character.math.tex,constant.other.reference.citation.latex,code-runner.output,entity.name.function.preprocessor,entity.name.type.enum,entity.name.variable.tuple-element, | #EECFA0 | |
| 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 | #74ccaa | — |
| 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 | #00ff9d | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #f6c177 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #5fb5be | — |
| keyword.operator.quantifier.regexp | #5fb5be | — |
| constant.character | #ff9500 | — |
| constant.character.escape | #5fb5be | — |
| entity.name.label | #C8C8C8 | — |
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}!`;
}