seti-classic-vscode
Publisher: ecoolThemes in package: 1
VSCode port of Atom seti-classic theme
VSCode port of Atom seti-classic 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 |
|---|---|---|
| comment, markup.heading.setext, markup.quote, meta.separator, punctuation.definition.comment | #41535b | |
| entity.name.function, entity.name.tag.css, entity.name.tag.localname, entity.name.tag.wildcard.css, entity.name.type.namespace, heading, meta.brace.square, meta.function-call, punctuation.definition.array.begin, punctuation.definition.array.end, punctuation.definition.metadata, punctuation.definition.string, punctuation.definition.tag.end, punctuation.definition.tag.end, punctuation.definition.tag, string.quoted.docstring.multi, string.quoted.docstring.single, string.quoted.double, string.quoted.single, support.function, support.type.property-name.json, variable.parameter.function-call | #55b5db | |
| entity.other.attribute-name.class, entity.other.attribute-name.id, entity.other.attribute-name.localname, entity.other.attribute-name.pseudo-class, entity.other.attribute-name, entity.other.attribute-name, entity.other.inherited-class, keyword.control.at-rule.import, keyword.control.at-rule.media, keyword.operator.gradients, keyword.operator.logical.and.media, keyword.operator.new, keyword.other.important, keyword.other.unit.px, markup.list.numbered, markup.list.unnumbered, meta.preprocessor, storage.type.class.doxygen, storage.type.class.gtkdoc, variable.language.special.self, variable.other.object.property, variable.other.property, variable.parameter.function.language.special.self | #9fca56 | |
| punctuation.definition.tag.begin, punctuation.definition.tag.end, punctuation.definition.typeparameters.begin, punctuation.definition.typeparameters.end, punctuation.parenthesis.close, punctuation.parenthesis.open | #9fca56CC | |
| keyword.codetag.notation, keyword.control, keyword.fsharp, keyword.operator, keyword.other.async, keyword.other.attribute-specifier, keyword.other.class, keyword.other.delegate, keyword.other.enum, keyword.other.event, keyword.other.get, keyword.other.interface, keyword.other.namespace, keyword.other.new, keyword.other.set, keyword.other.static, keyword.other.struct, keyword.other.typedef, keyword.other.typeof, keyword.other.using, keyword.other.var, keyword.other.where, keyword.symbol.fsharp, keyword.symbol.arrow.fsharp, markup.underline.link, meta.tag.preprocessor.xml, meta.tag.xml, punctuation.definition.list, punctuation.separator.array.comments, punctuation.separator.dictionary.key-value.comments, punctuation.separator.key-value, punctuation.separator.pointer-access, storage.modifier, storage.type.class, storage.type.function, storage.type | #e6cd69 | |
| constant.character.escape, constant.language, constant.numeric, constant.other.fsharp, support.constant.font-name, support.constant.media, support.constant.property-values | #cd3f45 | |
| entity.name.tag, entity.name.type.class, entity.name.type.struct, keyword.type, markup.inline.raw.string, punctuation.section.embedded.begin, punctuation.section.embedded.end, string.other.link.title, support.type.property-name.media, support.type.property-name, variable.other.object | #a074c4 | |
| constant.character.format.placeholder.other.python, punctuation.definition.interpolation.begin, punctuation.definition.interpolation.end | #88e8ff | |
| entity.name.variable.preprocessor.symbol, meta.block, meta.function-call.arguments, punctuation.accessor, punctuation.definition.arguments.begin, punctuation.definition.arguments.end, punctuation.definition.string.begin.json, punctuation.definition.string.end.json, string.quoted.double.json, variable.language | #d4d7d6 | |
| punctuation.definition.entity, punctuation.terminator.rule, punctuation.terminator.statement, punctuation.terminator | #888B8A | |
| markup.bold | #d4d7d6 | bold |
| markup.italic | #d4d7d6 | 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}!`;
}