sysop theme
Publisher: UrtokkThemes in package: 1
color scheme from a operations guy
color scheme from a operations guy
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 |
|---|---|---|
| variable, string constant.other.placeholder, invalid.deprecated, keyword, storage.type, storage.modifier, constant.character.format.placeholder, constant.other.placeholder | #02c4ff | — |
| variable, string constant.other.placeholder, entity.name.function, punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | — | italic |
| punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | #E1D404 | — |
| constant.other.php | #ffd502 | — |
| constant.other.color | #00D0D9 | — |
| invalid, invalid.illegal | #9D00AE | — |
| Keyword, Storage | — | italic |
| keyword.control, keyword.control.flow, keyword.control.go, constant.other.color, punctuation.definition.tag, punctuation, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, entity.name.tag.reference.scss | #05bbe9 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.name.type.module.js | #2A971B | — |
| entity.name.type.class | #ff7b00 | — |
| keyword.control.at-rule, punctuation.terminator.rule.css, keyword.control.operator, punctuation.definition.entity.css, keyword.operator.assignment.js, punctuation.separator.comma.js, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, punctuation.definition.binding-pattern.object.js | #00A6A6 | — |
| punctuation.definition, string.quoted.single.scss | #A7A8AF | — |
| keyword.control | — | bold |
| comment.line.scss, comment.line.double-slash.js, punctuation.definition.comment.scss, punctuation.definition.comment.js, punctuation.definition.comment.html, comment.block.html, comment | #900ffa | — |
| text.html.derivative | #A7A8AF | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #00A6A6 | — |
| meta.function.definition | #00A6A6 | — |
| entity.name.tag.html | — | bold |
| variable.parameter.js, variable.parameter.keyframe-list.css | #F6FF02 | — |
| variable.other.declaration | #ae00ff | bold |
| variable.other.object.js, storage.type.js, string.other.link.title.markdown, variable.other.readwrite.js, variable.other.property.js | #2A971B | |
| string, string.quoted.double.html, variable.other.constant.js, variable.other.object.property.js, string.quoted.double.json, markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, variable.function, keyword.other.special-method, entity.name.function, markup.bold, meta.class-method.js entity.name.function.js, variable.function.constructor, entity.name.tag.other.html, entity.name.tag.block.any.html, source.sass keyword.control | #2FCC24 | — |
| punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #02FF26 | — |
| support.other.variable, string.other.link, markup.table | #00A6A6 | — |
| constant.numeric, constant.language, constant.character, constant.escape, keyword.other.unit, keyword.other, punctuation.separator.key-value.html | #ffcc02cf | — |
| variable.parameter.function.language.special, variable.parameter | #9D00AE | — |
| variable.parameter.function-call | #d3ac00 | — |
| constant.other.symbol, constant.other.key, entity.other.inherited-class, keyword.other.unit, markup.inserted.git_gutter, meta.group.braces.curly, constant.other.object.key.js, string.unquoted.label.js | #E1D404 | |
| entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, entity.other.attribute-name.html | #00a05d | — |
| support.type | #B2CCD6 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #2A971B | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #9D00AE | — |
| entity.name.method.js, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #2FCC24 | italic |
| entity.other.attribute-name, support.function | #0066db | — |
| entity.other.attribute-name.id, entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.name.tag.css, keyword.control.conditional.js, support.constant, entity.other.attribute-name.html, meta.object-literal.key | #00A6A6 | — |
| string.quoted.single, string.quoted.double | #00b837 | — |
| storage.type.function | #d40035 | — |
| storage.type.class | #ff0022 | — |
| source.scss keyword.control | #F6FF02 | — |
| markup.inserted | #E1D404 | — |
| markup.deleted | #9D00AE | — |
| markup.changed | #F6FF02 | — |
| string.regexp | #02FF26 | — |
| constant.character.escape | #02FF26 | — |
| *url*, *link*, *uri* | — | underline |
| source.js constant.other.object.key.js string.unquoted.label.js | #00A6A6 | italic |
| support.type.property-name.json | #00A6A6 | — |
| text.html.markdown | #00A6A6 | — |
| text.html.markdown markup.inline.raw.markdown | #F6FF02 | — |
| text.html.markdown markup.inline.raw.markdown, punctuation.definition.raw.markdown | #017D1650 | — |
| text.html.markdown meta.dummy.line-break | — | — |
| markdown.heading, punctuation.definition.heading.markdown, entity.name.section.markdown | #2A971B | bold |
| markup.underline | #2FCC24 | underline |
| markup.strike | — | |
| markup.quote punctuation.definition.blockquote.markdown | #016a7d | — |
| markup.quote | — | italic |
| string.other.link.description.title.markdown | #F6FF02 | — |
| constant.other.reference.link.markdown | #F6FF02 | — |
| markup.raw.block | #F6FF02 | — |
| punctuation.definition.raw.markdown, punctuation.definition.markdown | #02FF26 | — |
| variable.language.fenced.markdown | #017D16 | — |
| meta.separator | #A7A8AF | bold |
| token.info-token | #017D16 | — |
| token.warn-token | #F6FF02 | — |
| token.error-token | #FF293B | — |
| token.debug-token | #02FF26 | — |
| keyword.operator.comparison | #FF293B | — |
| keyword.var.go | #FF293B | — |
| variable.other.assignment | #00bb9c | bold |
| entity.name.import | #ff9900be | — |
| keyword.package.go | #ff0015 | — |
| entity.name.package | #5353f7 | — |
| entity.name.type.struct | #02abfa | — |
| keyword.other.fn.rust | #fd5b5b | — |
| storage.modifier.mut.rust | #ff0000 | — |
| markup.heading, markup.heading entity.name.section.markdown | #0084ff | bold |
| markup.italic.markdown | #b9c6ff | italic |
| markup.bold.markdown | #b9c6ff | bold |
| markup.underline.markdown | #b9c6ff | underline |
| punctuation.definition.list_item.markdown | #45f1fd | — |
| markup.list.unnumbered.markdown, markup.list.numbered.markdown | #02fce7 | — |
| punctuation.definition.list.begin.markdown | #d7fa87 | — |
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}!`;
}