invisibone
Publisher: euiThemes in package: 1
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #6095C5 | — |
| comment, punctuation.definition.comment | #767676 | italic |
| constant, support.constant, variable.arguments | #AC7BDE | — |
| constant.rgb-value | #A8A8A8 | — |
| entity.name.selector | #3BA275 | — |
| entity.other.attribute-name | #EFBD8B | — |
| entity.name.tag, punctuation.tag | #3BA275 | — |
| invalid, invalid.illegal | #D370A3 | — |
| invalid.deprecated | #AC7BDE | — |
| meta.selector | #3BA275 | — |
| meta.preprocessor | #B58858 | — |
| meta.preprocessor.string | #6D9E3F | — |
| meta.preprocessor.numeric | #6D9E3F | — |
| meta.header.diff | #B58858 | — |
| storage | #D370A3 | — |
| storage.type, storage.modifier | #B58858 | — |
| string | #6D9E3F | — |
| string.tag | #6D9E3F | — |
| string.value | #6D9E3F | — |
| string.regexp | #B58858 | — |
| string.escape | #D370A3 | — |
| string.quasi | #3BA275 | — |
| string.entity | #6D9E3F | — |
| object | #A8A8A8 | — |
| module.node | #6095C5 | — |
| support.type.property-name | #3BA275 | — |
| keyword | #D370A3 | — |
| keyword.control | #D370A3 | — |
| keyword.control.module | #3BA275 | — |
| keyword.control.less | #EFBD8B | — |
| keyword.operator | #3BA275 | — |
| keyword.operator.new | #B58858 | — |
| keyword.other.unit | #6D9E3F | — |
| metatag.php | #B58858 | — |
| support.function.git-rebase | #3BA275 | — |
| constant.sha.git-rebase | #6D9E3F | — |
| meta.type.name, meta.return.type, meta.return-type, meta.cast, meta.type.annotation, support.type, storage.type.cs, variable.class | #EFBD8B | — |
| variable.this, support.variable | #AC7BDE | — |
| entity.name, entity.static, entity.name.class.static.function, entity.name.function, entity.name.class, entity.name.type | #EFBD8B | — |
| entity.function, entity.name.function.static | #3BA275 | — |
| entity.name.function.function-call | #3BA275 | — |
| support.function.builtin | #B58858 | — |
| entity.name.method, entity.name.method.function-call, entity.name.static.function-call | #3BA275 | — |
| brace | #A8A8A8 | — |
| meta.parameter.type.variable, variable.parameter, variable.name, variable.other, variable, string.constant.other.placeholder | #6095C5 | — |
| prototype | #AC7BDE | — |
| punctuation | #D0D0D0 | — |
| punctuation.quoted | #A8A8A8 | — |
| punctuation.quasi | #D370A3 | — |
| *url*, *link*, *uri* | — | underline |
| meta.function.python, entity.name.function.python | #3BA275 | — |
| storage.type.function.python, storage.modifier.declaration, storage.type.class.python, storage.type.string.python | #D370A3 | — |
| storage.type.function.async.python | #D370A3 | — |
| meta.function-call.generic | #6095C5 | — |
| meta.function-call.arguments | #A8A8A8 | — |
| entity.name.function.decorator | #EFBD8B | bold |
| constant.other.caps | — | bold |
| keyword.operator.logical | #D370A3 | — |
| punctuation.definition.logical-expression | #B58858 | — |
| string.interpolated.dollar.shell, string.interpolated.backtick.shell | #3BA275 | — |
| keyword.control.directive | #3BA275 | — |
| support.function.C99 | #EFBD8B | — |
| meta.function.cs, entity.name.function.cs, entity.name.type.namespace.cs | #6D9E3F | — |
| keyword.other.using.cs, entity.name.variable.field.cs, entity.name.variable.local.cs, variable.other.readwrite.cs | #3BA275 | — |
| keyword.other.this.cs, keyword.other.base.cs | #AC7BDE | — |
| meta.scope.prerequisites | #EFBD8B | — |
| entity.name.function.target | #6D9E3F | bold |
| storage.modifier.import.java, storage.modifier.package.java | #D0D0D0 | — |
| keyword.other.import.java, keyword.other.package.java | #3BA275 | — |
| storage.type.java | #EFBD8B | — |
| storage.type.annotation | #6095C5 | bold |
| keyword.other.documentation.javadoc | #3BA275 | — |
| comment.block.javadoc variable.parameter.java | #6D9E3F | bold |
| source.java variable.other.object, source.java variable.other.definition.java | #A8A8A8 | — |
| meta.function-parameters.lisp | #EFBD8B | — |
| markup.underline | — | underline |
| string.other.link.title.markdown | #767676 | underline |
| markup.underline.link | #AC7BDE | — |
| markup.bold | #B58858 | bold |
| markup.heading | #B58858 | bold |
| heading.1.markdown entity.name.section.markdown | #D370A3 | bold |
| heading.2.markdown entity.name.section.markdown | #B58858 | bold |
| heading.3.markdown entity.name.section.markdown | #EFBD8B | bold |
| heading.4.markdown entity.name.section.markdown | #6D9E3F | bold |
| heading.5.markdown entity.name.section.markdown | #6095C5 | bold |
| heading.6.markdown entity.name.section.markdown | #AC7BDE | bold |
| markup.italic | — | italic |
| markup.inserted | #6D9E3F | — |
| markup.deleted | #B58858 | — |
| markup.changed | #B58858 | — |
| markup.punctuation.quote.beginning | #3BA275 | — |
| markup.punctuation.list.beginning | #6095C5 | — |
| markup.inline.raw, markup.fenced_code.block | #3BA275 | — |
| string.quoted.double.json | #6095C5 | — |
| entity.other.attribute-name.css | #B58858 | — |
| source.css meta.selector | #A8A8A8 | — |
| support.type.property-name.css | #B58858 | — |
| entity.other.attribute-name.class | #6D9E3F | — |
| source.css support.function.transform, source.css support.function.timing-function, source.css support.function.misc | #D370A3 | — |
| support.property-value, constant.rgb-value, support.property-value.scss, constant.rgb-value.scss | #B58858 | — |
| entity.name.tag.css | — | |
| punctuation.definition.tag | #6095C5 | — |
| text.html entity.name.tag, text.html punctuation.tag | #3BA275 | bold |
| source.js variable.language | #B58858 | — |
| source.ts variable.language | #B58858 | — |
| source.go storage.type | #EFBD8B | — |
| source.go entity.name.import | #6D9E3F | — |
| source.go keyword.package, source.go keyword.import | #3BA275 | — |
| source.go keyword.interface, source.go keyword.struct | #6095C5 | — |
| source.go entity.name.type | #A8A8A8 | — |
| source.go entity.name.function | #AC7BDE | — |
| keyword.control.cucumber.table | #6095C5 | — |
| source.reason string.double, source.reason string.regexp | #6D9E3F | — |
| source.reason keyword.control.less | #3BA275 | — |
| source.reason entity.name.function | #6095C5 | — |
| source.reason support.property-value, source.reason entity.name.filename | #B58858 | — |
| source.powershell variable.other.member.powershell | #B58858 | — |
| source.powershell support.function.powershell | #EFBD8B | — |
| source.powershell support.function.attribute.powershell | #D0D0D0 | — |
| source.powershell meta.hashtable.assignment.powershell variable.other.readwrite.powershell | #B58858 | — |
| support.function.be.latex, support.function.general.tex, support.function.section.latex, support.function.textbf.latex, support.function.textit.latex, support.function.texttt.latex, support.function.emph.latex, support.function.url.latex | #D370A3 | — |
| support.class.math.block.tex, support.class.math.block.environment.latex | #B58858 | — |
| keyword.control.preamble.latex, keyword.control.include.latex | #AC7BDE | — |
| support.class.latex | #3BA275 | — |
| token.info-token | #98CBFE | — |
| token.warn-token | #EFBD8B | — |
| token.error-token | #D370A3 | — |
| token.debug-token | #AC7BDE | — |
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}!`;
}