Issaminu Theme
Publisher: IssaminuThemes in package: 1
A variant of One Hunter Theme with some additions.
A variant of One Hunter Theme with some additions.
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 |
|---|---|---|
| constant.numeric,entity.other.keyframe-offset.percentage.css,keyword.other.unit,support.constant.dom,support.constant.property.math,support.constant.ext,support.constant.core,entity.name.function.preprocessor.c,constant.other.js,meta.at-rule.keyframes.scss entity.other.attribute-name.scss,constant,variable.other.enummember,constant.other.enum,entity.name.variable.enum-member,constant.language.infinity,text.log constant.language,meta.attribute.id.html entity.other.attribute-name.html,entity.other.attribute-name.id,entity.name.variable.preprocessor.symbol,variable.other.constant.object, | #ffc16a | |
| constant.other.character-class.regexp,constant.other.character-class.range.regexp,constant.other.character-class.set.regexp,support.constant,support.constant.math,support.constant.json,entity.other.attribute-name.id.css punctuation.definition.entity.css, | #ffa600 | |
| constant.numeric.decimal.cpp | #fa6450 | |
| keyword.operator.arithmetic.cpp | #66c6fa | |
| keyword.operator.logical.cpp, keyword.operator.comparison.cpp | #e15dff | |
| source.json meta.structure.dictionary.value.json string.quoted.double.json | #98C379 | |
| variable.other.property.tsx | #ce5d66 | |
| meta.body.function.definition | #d6d6d6 | |
| constant.language.boolean | #ae76fc | bold |
| storage.type.built-in.primitive.cpp | #f63780 | |
| entity.name.type.module,entity.name.package,variable.other.property,variable.other.object.property,variable.other.constant.property,entity.name.type.option,entity.name.label,variable.other.object.property.cs,entity.name.variable.tuple-element.cs,meta.object-literal.key,meta.object-literal.key string.quoted,variable.object.property,support.type.map.key,meta.at-rule.each.scss,meta.attribute.python,support.variable.dom,support.variable.property,support.variable.property.dom,storage.modifier.import,constant.other.php,entity.name.type.namespace,variable.other.member.c,meta.using-namespace-declaration.cpp entity.name.type.cpp,meta.class-struct-block.cpp meta.namespace-block.cpp entity.name.type.cpp,variable.other.source.dart,entity.name.namespace,entity.name.module,entity.name.type.result.rust,entity.name.scope-resolution.namespace,support.class.console,meta.use.rust,keyword.other.preprocessor.extension,entity.other.attribute-name.pseudo-element.css,entity.name.section.markdown,markup.heading,source.json meta.structure.dictionary.json > string.quoted.json,support.type.property-name.json,support.function.section.latex,support.function.general.tex,meta.object-literal.key punctuation.definition.string, | #52dad3 | |
| entity.name.tag,entity.other.attribute-name.parent-selector.css punctuation.definition.entity.css,punctuation.definition.heading.markdown,support.function.general.tex punctuation.definition.function.tex,support.function.section.latex punctuation.definition.function.latex,punctuation.support.type.property-name.begin.json.comments,punctuation.support.type.property-name.end.json.comments,support.class.component,keyword.operator.optional,punctuation.section.embedded.begin.php,punctuation.section.embedded.end.php,punctuation.section.embedded.end.php source.php,string.regexp keyword.other, | #E06C75 | |
| variable.parameter,token.variable.parameter,variable.other.jsdoc,variable.language.arguments,function.parameter,entity.name.variable.parameter,meta.function.c,punctuation.vararg-ellipses,variable.other.block.ruby,meta.arguments,entity.name.type.template,meta.type.parameters entity.name.type,meta.parameters,meta.function.parameter variable.other,variable.other.less,variable.other.sass,variable.scss,source.sass variable.other,variable.argument.css,variable.parameter.function.latex,variable.parameter.definition.label.latex,markup.bold.markdown, | #E4BF7F | |
| keyword.operator.negetion.regexp,keyword.control.anchor.regexp,punctuation.definition.group.capture.regexp,keyword.operator.quantifier.regexp,punctuation.definition.bold.markdown, | #E4BF7F | |
| comment | #888888 | — |
| variable.parameter.url,string,markup.inline.raw.string,text.html.vue-html meta.object-literal.key,meta.preprocessor.cs,text.html.vue-html meta.object-literal.key string.quoted,entity.other.attribute-name.class.css,selector.sass,entity.other.attribute-name.parent-selector.css,meta.at-rule.extend.scss,string.other.math.tex,support.constant.font-name,markup.inline.raw.markdown,markup.underline.link.markdown,markup.underline.link.image.markdown, | #98C379 | |
| punctuation.definition.metadata.markdown,string.regexp,source.jsonmeta.structure.dictionary.json>value.json>string.quoted.json,source.jsonmeta.structure.array.json>value.json>string.quoted.json,source.jsonmeta.structure.dictionary.json>value.json>string.quoted.json>punctuation,source.jsonmeta.structure.array.json>value.json>string.quoted.json>punctuation,string.quoted source,punctuation.definition.entity.css,meta.attribute-selector.scss,string invalid.illegal,string.other.math.tex,punctuation.definition.string.begin.tex,punctuation.definition.string.end.tex,punctuation.definition.string,text.html.vue-html meta.object-literal.key punctuation.definition.string,string punctuation.attribute-shorthand.bind.html,string punctuation.attribute-shorthand.event.html, | #98C379 | |
| comment.block.documentation, comment.block.documentation variable.other | #888888 | — |
| comment.block.documentation entity.name.type | #1362bc | — |
| comment.block.documentation storage.type | #E0E0E0 | — |
| constant.numeric | #F9C35A | — |
| constant.language | #43AAF9 | — |
| constant.character, constant.other | #53A1FA | — |
| variable.language.this | #43AAF9 | — |
| keyword, keyword.operator.new, storage.modifier.async, keyword.operator.less | #F4457D | bold |
| keyword.operator | #EFEFEF | — |
| punctuation | #666666 | — |
| punctuation.definition.comment | #888888 | — |
| punctuation.definition.tag | #b0b0b0 | — |
| string.quoted punctuation.definition.string | #666666 | — |
| string.regexp, string.regexp punctuation.definition.string | #5BD1B9 | — |
| storage | #43AAF9 | — |
| storage.type | #F4457D | bold |
| entity.name.class | #53A1FA | — |
| entity.name.function, meta.require, support.function.any-method, variable.function, support.function.builtin.python, meta.function-call.generic.python | #43AAF9 | bold |
| keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.bitwise, keyword.operator.relational, keyword.operator.increment, keyword.operator.decrement, keyword.operator.logical, keyword.operator.comparison, keyword.operator.ternary, keyword.operator.expression, storage.type.function.arrow.tsx | #5d5c5c | bold |
| variable.parameter | #80ff9d | — |
| source.css.scss, source.css | #5BD1B9 | — |
| entity.other.attribute-name,invalid.deprecated.entity.other.attribute-name,entity.name.tag.custom.css,entity.name.tag.custom.scss,storage.type.java,entity.other.attribute-name.pseudo-class.css,support.type.property-name.media.css,support.constant.media.css,source.css.less entity.name.tag.custom.css,keyword.operator.gradient.css,entity.name.type,keyword.operator.expression,entity.other.inherited-class,entity.name.type.class,entity.name.scope-resolution,support.class,entity.name.type.interface, | #56B7C3 | |
| support.function, support.variable.dom | #F9C35A | — |
| support.constant | #43AAF9 | — |
| support.type | #E0E0E0 | — |
| support.class | #5BD1B9 | — |
| invalid | #E34234 | — |
| invalid.deprecated | #E34234 | — |
| invalid.illegal | #E0E0E0 | — |
| meta.diff, meta.diff.header | #718493 | — |
| markup.deleted | #E61F44 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #F9C35A | — |
| constant.numeric.line-number.find-in-files - match | — | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| keyword.other | #9CAAB4 | — |
| meta.property-value, support.constant.property-value, constant.other.color | #9FBDE0 | — |
| meta.property-value punctuation.separator.key-value | #E0E0E0 | — |
| keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as | #F4457D | — |
| meta.use support.class.builtin, meta.other.inherited-class support.class.builtin | #F4457D | — |
| source.cpp variable.other | #80ff9d | — |
| meta.object-literal.key | #F4457D | — |
| variable.parameter.function.coffee | #9FBDE0 | — |
| markup.deleted.git_gutter | #E61F44 | — |
| markup.inserted.git_gutter | — | — |
| markup.changed.git_gutter | #F9C35A | — |
| meta.template.expression | #9FBDE0 | — |
| variable.other.constant.property, keyword.operator.ternary, keyword.operator.expression.typeof | #B267E6 | — |
| entity.name.type, support.type.python | #F9C35A | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| entity.name.tag.tsx, entity.name.tag.js.jsx, entity.name.tag.html, entity.name.tag.xml, entity.name.tag.script.html.vue, entity.name.tag.template.html.vue, entity.name.tag.style.html.vue, entity.name.tag.style.html.vue, entity.name.tag.script.html, entity.name.tag.template.html, entity.name.tag.style.html, entity.name.tag.block.any.html | #E06C75 | — |
| support.class.component.tsx, support.class.component.jsx | #ce5d66 | — |
| support.type.primitive.tsx, support.type.primitive.ts | #43AAF9 | — |
| storage.modifier.tsx | #F4457D | — |
| entity.other.inherited-class.tsx | #F9C35A | — |
| meta.object.member variable.other.readwrite.tsx | #E0E0E0 | — |
| meta.structure.dictionary.json string.quoted.double.json | #E0E0E0 | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #5BD1B9 | — |
| meta.structure.dictionary.json, punctuation.definition.string | #5BD1B9 | — |
| meta.structure.dictionary.json, support.type.property-name.json | #E06C75 | — |
| punctuation.definition.list.begin.markdown, punctuation.definition.list.begin.mdx, punctuation.definition.list.end.markdown, punctuation.definition.list.end.mdx, punctuation.definition.quote.begin.markdown, punctuation.definition.quote.begin.mdx, punctuation.definition.quote.end.markdown, punctuation.definition.quote.end.mdx, meta.separator.markdown, meta.separator.mdx, markup.inline.raw.string.markdown, markup.raw.code.text.mdx | #F9C35A | — |
| entity.name.section.markdown, entity.name.section.mdx | #53A1FA | — |
| punctuation.definition.heading.markdown, punctuation.definition.heading.mdx | #F4457D | — |
| markup.raw.inline.markdown, markup.raw.inline.mdx | #9FBDE0 | — |
| punctuation.definition.bold.markdown, punctuation.definition.bold.mdx, punctuation.definition.italic.markdown, punctuation.definition.italic.mdx, punctuation.definition.entity | #F4457D | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.begin.mdx, punctuation.definition.string.end.markdown, punctuation.definition.string.end.mdx | #F4457D | — |
| punctuation.definition.metadata.markdown, punctuation.definition.metadata.mdx | #F4457D | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown, string.other.link.destination.mdx, meta.image.inline.markdown, meta.image.inline.mdx | #F4457D | — |
| markup.bold.markdown, string.other.strong.asterisk.mdx, markup.italic.markdown, markup.italic.mdx | #F4457D | — |
| markup.italic.markdown, markup.italic.mdx | — | — |
| markup.bold.markdown, markup.bold.mdx | — | — |
| markup.raw.block.markdown, markup.raw.block.mdx | #9FBDE0 | — |
| keyword.other.rust | #B267E6 | — |
| keyword.other.fn.rust | #F4457D | — |
| punctuation.section.embedded.begin.php, keyword.other.class.php | #F4457D | — |
| support.class.php | #E0E0E0 | — |
| meta.use.php | #5BD1B9 | — |
| keyword.other.definition.ini | #53A1FA | — |
| support.type.primitive.prisma | #F9C35A | — |
| support.constant.constant.prisma | #F4457D | — |
| variable.language.relations.prisma | #5BD1B9 | — |
| entity.name.tag.yaml | #F4457D | — |
| storage.type.java | #F9C35A | bold |
| keyword.other.package.java, keyword.other.import.java | #F4457D | bold |
| storage.modifier.package.java | #F9C35A | — |
| storage.modifier.import.java | #E0E0E0 | — |
| punctuation.separator.java | #EFEFEF | — |
| meta.tag.xml | #43AAF9 | — |
| keyword.other.declaration-specifier.swift, keyword.other.declaration-specifier.accessibility.swift | #F4457D | bold |
| support.type.swift, meta.function-result.swift, variable.language.swift, keyword.operator.custom.infix.swift | #53A1FA | — |
| variable.parameter.function.swift | #E0E0E0 | — |
| entity.name.function.swift | #53A1FA | bold |
| variable.parameter.function.swift, meta.parameter-clause.swift | #E0E0E0 | — |
| support.function.go | #43AAF9 | bold |
| keyword.operator.address.go, keyword.operator.pointer.go | #53A1FA | — |
| keyword.channel.go | #B267E6 | — |
| storage.type.numeric.go, storage.type.string.go, storage.type.error.go, storage.type.boolean.go, storage.type.byte.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.complex.go | #F9C35A | — |
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}!`;
}