Sherumite
Publisher: SheruThemes in package: 2
Sherumite theme for VSC
Sherumite theme for VSC
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 |
|---|---|---|
| — | #C9C9C9 | — |
| comment | #728b5cff | italic |
| comment | #555555 | italic |
| string | #999999 | — |
| constant.numeric | #1d65adff | |
| constant.language | #57729eff | |
| constant.character, constant.other | #4592a4ff | |
| variable.language, variable.other | #4b5245ff | |
| keyword | #489872ff | |
| storage | #f17400 | bold |
| storage.modifier | #ff9d02 | bold |
| entity.other.inherited-class | #317fa9ff | — |
| entity.name.function | #2479ce | |
| variable.parameter | #ae916fff | |
| entity.other.attribute-name.id.css | #ffcc00 | bold |
| entity.other.attribute-name.class.css | #ff9900 | bold |
| entity.other.attribute-name.ancestor.css | #707070ff | bold |
| entity.other.pseudo-element.css | #a26f5dff | — |
| entity.other.pseudo-class.css | #1d627eff | — |
| entity.other.less.mixin | #646464ff | — |
| variable.declaration.less | #7f8c96ff | bold |
| keyword.control.html.elements | #746047ff | — |
| meta.attribute-selector.css | #1752a0ff | — |
| entity.name.tag | #5ca460ff | |
| entity.other.attribute-name | #2c2c2cff | |
| support.function | #2d8ee9 | |
| keyword | #b3b3b3ff | — |
| variable.other, variable.js, punctuation.separator.variable | #326b9eff | |
| constant.language | #b3b3b3ff | — |
| punctuation.section.embedded -(source string source punctuation.section.embedded), meta.brace.erb.html | #915c92ff | italic |
| invalid | #238e95ff | |
| variable.other.php, variable.other.normal | #c19f71 | italic |
| keyword.other.phpdoc.php | #aaaaaa | italic |
| meta.function-call | #aaaaaa | |
| punctuation.section.array.begin, punctuation.section.array.end | #cccccc | |
| keyword.control, variable.language.this | #a785b4 | |
| keyword.operator.key.php, keyword.operator.assignment.php | #66D9EF | |
| meta.tag | #2c4458ff | |
| entity.name.tag | #5a7792ff | |
| meta.doctype, meta.tag.sgml-declaration.doctype, meta.tag.sgml.doctype | #915c90ff | italic |
| meta.tag.inline source, text.html.php.source | #915c91ff | italic |
| meta.tag.other, entity.name.tag.style, entity.name.tag.script, meta.tag.block.script, source.js.embedded punctuation.definition.tag.html, source.css.embedded punctuation.definition.tag.html | #4ca353ff | |
| entity.other.attribute-name, meta.tag punctuation.definition.string | #BA7A30 | |
| meta.tag string -source -punctuation, text source text meta.tag string -punctuation | #737373 | |
| punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #888888 | |
| constant.character.entity.html | #c267cf | |
| punctuation.section.embedded -(source string source punctuation.section.embedded), meta.brace.erb.html | #248e95ff | |
| keyword | #d3700c | — |
| text source, string.unquoted | — | — |
| meta.selector.css entity.name.tag | #8F6161 | |
| meta.selector.css entity.other.attribute-name.tag.pseudo-class | #6B6985 | |
| meta.selector.css entity.other.attribute-name.id | #FFDA8F | bold |
| meta.selector.css entity.other.attribute-name.class | #DE8218 | bold |
| support.type.property-name.css | #4CA8E6 | — |
| meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css | #E0E0E0 | — |
| meta.preprocessor.at-rule keyword.control.at-rule | #53514eff | — |
| meta.property-value support.constant.named-color.css, meta.property-value constant | #E6907E | |
| meta.constructor.argument.css | #504b5eff | |
| markup.raw | #705947ff | bold |
| support | #1d627eff | |
| support.type.property-name.json | #b5600d | |
| constant.numeric.json | #ff9d02 | |
| constant.language.json | #c267cf | |
| string.quoted.double.json | #999999 | |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #a32121 | bold |
| constant.language.boolean, constant.language.php, constant.language.null | #c267cf | |
| keyword.operator2.less | #1777a6ff | bold |
| keyword.operator.less | #44986aff | — |
| support.class.ext.gml | #576657ff | — |
| meta.function-call.js | #af763cff | — |
| support.constant.js | #af763cff | — |
| region | #4e4e4eff | — |
| region.yellowish, markup.changed.sublime_linter, markup.warning.sublime_linter | #1747a6ff | — |
| region.redish, markup.deleted.sublime_linter, markup.error.sublime_linter | #3288a0ff | — |
| sublimelinter.mark.warning | #1c3cadff | — |
| sublimelinter.gutter-mark | #0e0e0eff | — |
| sublimelinter.mark.error | #289aadff | — |
| sublimelinter.notes | #0e0e0eff | — |
| sublimelinter.outline.illegal | #0e0e0eff | — |
| sublimelinter.underline.illegal | — | — |
| sublimelinter.outline.warning | #0e0e0eff | — |
| sublimelinter.underline.warning | — | — |
| sublimelinter.outline.violation | #0e0e0eff | — |
| sublimelinter.underline.violation | — | — |
| keyword.text.apache-error | #289aadff | bold |
| keyword.notice.text.apache-error | #3170aeff | bold |
| keyword.warn.text.apache-error | #3170aeff | bold |
| entity.name.text.apache-error | #708b54ff | — |
| string.text.apache-error | #3170aeff | bold |
| string.notice.text.apache-error | #868686ff | bold |
| string.stacktrace.text.apache-error | #646464ff | normal |
| string.fatalerror.text.apache-error | #289aadff | bold |
| support.function.text.apache-error | #8b592fff | — |
| support.line.text.apache-error | #356767ff | — |
| constant.support.text.apache-error | #1734a6ff | bold |
| markup.heading.1.markdown | #b3b3b3ff | bold |
| markup.heading.2.markdown | #b3b3b3ff | bold |
| markup.heading.3.markdown | #b3b3b3ff | bold |
| markup.heading.4.markdown | #b3b3b3ff | bold |
| markup.heading.5.markdown | #17a634ff | bold |
| markup.heading.6.markdown | #17a634ff | bold |
| markup.list.numbered.markdown | #7b7b7bff | bold |
| markup.list.unnumbered.markdown | #7b7b7bff | normal |
| markup.underline.markdown | #17a6a6ff | bold |
| markup.bold.markdown | #868686ff | bold |
| markup.underline.link.markdown | #674e35ff | bold italic underline |
| markup.quote.markdown | #707070ff | bold |
| markup.raw.block.markdown | #919191ff | normal |
| markup.underline.link.image.markdown | #375a86ff | bold |
| markup.italic.markdown | #707070ff | italic bold |
| markup.raw.inline.markdown | #36947cff | bold |
| markup.strike.markdown | #17a634ff | bold |
| markup.deleted.git_gutter | #198f64ff | — |
| markup.inserted.git_gutter | #7d4998ff | — |
| markup.changed.git_gutter | #2c2c2cff | — |
| markup.ignored.git_gutter | #7a7a7aff | — |
| markup.untracked.git_gutter | #7a7a7aff | — |
| markup.deleted | #286460ff | — |
| markup.changed | #345b29ff | — |
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}!`;
}