Hazy Theme
Publisher: lencxThemes in package: 1
Hazy VSCode Theme for Operator Mono
Hazy VSCode Theme for Operator Mono
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #B5B5A5 | — |
| comment | #616059 | italic |
| string | #8F99A3 | — |
| constant.numeric | #45E645 | — |
| constant.language, meta.preprocessor | #e607e6ff | — |
| constant.character, constant.other | #E88BB7 | italic |
| variable | #4abdffff | — |
| keyword | #FA1B80 | italic |
| storage | #9755faff | — |
| storage.type | #D43393 | italic |
| entity.name.class | #3DF2B3 | — |
| entity.other.inherited-class | #E4F248 | italic |
| entity.name.function | #D4741A | — |
| variable.parameter | #EDBB05 | — |
| entity.name.tag | #f24848ff | bold |
| entity.other.attribute-name | #7bdb74ff | italic |
| support.function | #7D72AD | — |
| support.constant | #AC3DD1 | italic |
| support.type, support.class | #33d6d1ff | — |
| support.other.variable | #C28C8C | |
| string.constant | #88B8F6 | — |
| string.regexp | #84FF00 | italic |
| string.variable | #D1CBB6 | — |
| punctuation.definition.variable | #b07474ff | — |
| entity | #F5E35D | |
| meta.tag.sgml.doctype.xml, declaration.sgml.html declaration.doctype, declaration.sgml.html declaration.doctype entity, declaration.sgml.html declaration.doctype string, declaration.xml-processing, declaration.xml-processing entity, declaration.xml-processing string, doctype | #5EC6CC | — |
| comment.block.html | #6B6565 | italic |
| entity.name.tag.script.html | #55bab7ff | italic |
| text.html.basic meta.tag.other.html, text.html.basic meta.tag.any.html, text.html.basic meta.tag.block.any, text.html.basic meta.tag.inline.any, text.html.basic meta.tag.structure.any.html, text.html.basic source.js.embedded.html, punctuation.separator.key-value.html | #AEC770 | |
| text.html.basic entity.other.attribute-name.html | #32B581 | — |
| text.html.basic meta.tag.structure.any.html punctuation.definition.string.begin.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #E6558F | |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #C7A5BD | — |
| variable.parameter.handlebars | #f0c838ff | — |
| support.constant.handlebars, meta.function.block.start.handlebars | #88b8f6ff | — |
| meta.preprocessor.at-rule keyword.control.at-rule | #f2c830ff | — |
| meta.selector.css entity.other.attribute-name.id | #BA7002 | bold |
| meta.selector.css entity.other.attribute-name.class | #BDB431 | italic |
| support.type.property-name.css | #88b8f6ff | — |
| meta.constructor.argument.css | #ffcc22ff | — |
| punctuation.definition.tag.css | #b87369ff | — |
| punctuation.separator.key-value.css, punctuation.terminator.rule.css | #CFC4C4 | |
| entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-selector.css | #FA5CA1 | italic |
| variable.other.less | #b57b7bff | — |
| entity.other.less.mixin | #E0FDCE | italic |
| entity.other.attribute-name.pseudo-element.less | #ff8f7eff | |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #ffcc2299 | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #88b8f699 | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #ff8f7e99 | — |
| source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #ffcc22cc | — |
| source.json meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #88b8f6cc | — |
| source.json meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #ff8f7ecc | — |
| source.json meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #ffcc22ff | — |
| source.json meta meta.structure.dictionary.json string.quoted.double.json - meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta.structure.dictionary.json punctuation.definition.string - meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #88b8f6ff | — |
| source.json meta.structure.dictionary.json string.quoted.double.json - meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta.structure.dictionary.json punctuation.definition.string - meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #FF8F7E | — |
| invalid | #F8F8F0 | |
| invalid.deprecated | #F8F8F0 | — |
| meta.diff, meta.diff.header | #AAAAAA | — |
| markup.deleted | #FF8F7E | — |
| markup.inserted | #827ED9 | — |
| markup.changed | #A6E22E | — |
| meta.diff, meta.diff.range | #88b8f6ff | — |
| text.plain text.html.markdown | #E0D9D9 | — |
| text.html.markdown markup.raw.inline | #ff8f7eff | — |
| text.html.markdown meta.dummy.line-break | #E0EDDD | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #ffcc22ff | |
| markup.italic | #cae682ff | italic |
| markup.bold | #CC9725 | bold |
| markup.underline | #81E681 | underline |
| markup.quote, punctuation.definition.blockquote.markdown | #758dadff | italic |
| markup.quote | #908dc7ff | italic |
| string.other.link.title.markdown | #eb5555ff | underline italic |
| markup.raw.block | — | — |
| punctuation.definition.list_item.markdown | #AD6E64 | — |
| markup.raw.code-fence | — | — |
| punctuation.definition.fenced.markdown, variable.language.fenced.markdown | #636050ff | — |
| variable.language.fenced.markdown | #AAAAAA | |
| meta.separator | #ffffff33 | bold |
| markup.table | #ff8f7eff | — |
| other.package.exclude, other.remove | #EDB1A8 | |
| support.function.builtin.shell | #cae682ff | — |
| variable.other.normal.shell | #88b8f6ff | — |
| source.shell | #ffffffff | |
| meta.scope.for-in-loop.shell, variable.other.loop.shell | #ffcc22ff | |
| entity.name.function.shell | #cae682ff | |
| punctuation.definition.string.end.shell, punctuation.definition.string.begin.shell | #ffffffff | |
| meta.scope.case-block.shell, meta.scope.case-body.shell | #ffcc22ff | |
| punctuation.definition.logical-expression.shell | #ffffffff | |
| comment.line.number-sign.shell | #AAAAAA | italic |
| meta.function.makefile | #88B8F6 | |
| markup.deleted.git_gutter | #ff8f7eff | — |
| markup.inserted.git_gutter | #cae682ff | — |
| markup.changed.git_gutter | #967efbff | — |
| markup.ignored.git_gutter | #6B6565 | — |
| markup.untracked.git_gutter | #6B6767 | — |
| sublimelinter.annotations | #333333 | italic |
| sublimelinter.outline.illegal | — | — |
| sublimelinter.underline.illegal | — | underline |
| sublimelinter.outline.warning | #333333ff | — |
| sublimelinter.underline.warning | — | — |
| sublimelinter.outline.violation | — | — |
| sublimelinter.underline.violation | — | — |
| constant.numeric.line-number.find-in-files - match | #ffcc22ff | — |
| entity.name.filename.find-in-files | #87d75fff | — |
| sublimelinter.mark.error | #FF8F7E | — |
| sublimelinter.mark.warning | #FFCC22 | — |
| sublimelinter.gutter-mark | #FFFFFF | — |
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}!`;
}