SJ Azure Theme
Publisher: SAKSHAM JOSHIThemes in package: 3
A beautiful azure-theme extension, easy for eyes and psychologically relaxing
A beautiful azure-theme extension, easy for eyes and psychologically relaxing
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, punctuation.definition.comment, string.quoted.docstring.multi.python | #0098df | italic |
| variable | #fdfeff | — |
| variable.other, variable.other.object.js, variable.other.object.jsx, variable.object.property.js, variable.object.property.jsx | #ff2e97 | — |
| variable.language, entity.name.type.class.js, entity.name.type.class.ts, entity.name.type.class.tsx | #ff2e97 | — |
| constant.other.color | #ffffff | — |
| invalid, invalid.illegal | #9e0a52 | — |
| invalid.deprecated | #00d7e2 | — |
| keyword | #ff2cf1 | — |
| keyword.control | #ff2cf1 | bold |
| keyword.other, keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as | #a83dff | — |
| storage, storage.modifier | #40a9ff | — |
| storage.type | #ff1bf0 | |
| source.js storage.type.function, source.ts storage | #ff25f0 | — |
| constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.separator.inheritance.php, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #44a1fd | — |
| punctuation.definition.parameters | #ffee80 | — |
| punctuation.definition.template-expression, meta.template.expression | #18b6ff | — |
| entity.name.tag, meta.tag.sgml | #ff2e97 | — |
| entity.other.attribute-name | #ffd400 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #ffd400 | |
| entity.name.function - meta.function-call, entity.name.function, variable.function | #39c0ff | — |
| support.function | #ffd400 | — |
| meta.function-call | #2fb3ff | — |
| variable.parameter | #ff2e97 | — |
| entity.name.class, entity.name.type.class | #ff2e97 | |
| entity.name | #ffd400 | — |
| entity.other.inherited-class, meta.other.inherited-class.php, entity.other.inherited-class.js, entity.other.inherited-class.ts, entity.other.inherited-class.tsx | #6ab0ff | italic |
| entity.name.method.js | #39c0ff | |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #39c0ff | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #40a9ff | — |
| string | #0ef3ff | — |
| string.other.link | #0ef3ff | — |
| constant.numeric | #ffd400 | — |
| constant.language | #ff2e97 | — |
| constant.character, constant.escape, constant.other | #c832ff | — |
| support.constant | #39c0ff | — |
| meta.property-value, support.constant.property-value, constant.other.color | #fd21ef | — |
| meta | #ff2e97 | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #ffd400 | — |
| entity.other.attribute-name.class | #ff2e97 | — |
| 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 | #fdfeff | — |
| meta.property-value punctuation.separator.key-value | #44a1fd | — |
| support.type, support.class | #ff2cf1 | italic |
| support.other.variable | #39c0ff | — |
| support.variable.property.dom | #67b3ff | — |
| constant.other.symbol, constant.other.key, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #ffd400 | — |
| support.other.namespace.php | #973dfd | — |
| meta.use | #2fb3ff | |
| keyword.other.phpdoc.php | #35a3fd | |
| variable.parameter.function.language.special.self.python | #ff2e97 | — |
| source.ts entity.name.type | #dbcd00 | — |
| source.ts keyword | #ff25f0 | — |
| source.ts punctuation.definition.parameters | #dbcd00 | — |
| meta.arrow.ts punctuation.definition.parameters | #ffee80 | — |
| entity.other.inherited-class.ts, entity.other.inherited-class.tsx | #dbcd00 | — |
| entity.other.inherited-class.js | #ff15ef | — |
| entity.name.type.class.js | #3ec8ff | — |
| support.type.property-name.json, source.json meta.structure.dictionary.json support.type.property-name.json | #ff2e97 | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #0ef3ff | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #40a9ff | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ffd400 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c832ff | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #0ef3ff | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #3dd69c | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ffd400 | — |
| meta.diff, meta.diff.header | #009af3 | — |
| markup.deleted, markup.deleted.git_gutter | #ec107b | — |
| markup.inserted, markup.inserted.git_gutter | #dbcd00 | — |
| markup.changed, markup.changed.git_gutter | #029fcf | — |
| constant.numeric.line-number.find-in-files - match | #e92778 | — |
| entity.name.filename.find-in-files | #ff2e97 | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #ff2e97 | |
| source.js constant.other.object.key.js string.unquoted.label.js | #ff2e97 | |
| text.html.vue-html | #ffd400 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, entity.name.section.markdown, string.other.link.title.markdown, punctuation.definition.heading.markdown | #ff2e97 | — |
| text.html.markdown, punctuation.definition.list_item.markdown, meta.paragraph.markdown | #e1efff | — |
| markup.raw.inline.markdown, text.html.markdown markup.inline.raw.markdown, fenced_code.block.language, markup.inline.raw.markdown | #ff2e97 | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #ff22f0 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown, meta.image.inline.markdown | #ff22f0 | |
| markup.bold, markup.bold string, markup.bold.markdown | #ff2e97 | bold |
| markup.italic, markup.italic.markdown | #ff2e97 | italic |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold | #0ef3ff | bold |
| markup.underline | #40a9ff | underline |
| markup.quote punctuation.definition.blockquote.markdown | #0098df | — |
| markup.quote | — | italic |
| markup.raw.block.fenced.markdown, markup.raw.block.markdown | #ffffff | — |
| punctuation.definition.fenced.markdown, variable.language.fenced.markdown | #231a4e | — |
| meta.separator | #0098df | bold |
| markup.table | #e1efff | — |
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}!`;
}