cibu theme
Publisher: sandifaThemes in package: 1
Take a trip with enjoy colour + some italic
Take a trip with enjoy colour + some italic
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 |
|---|---|---|
| variable.parameter | — | |
| keyword.var.go | #FFA089 | — |
| entity.name.type.go, source.go | #D980FA | — |
| constant.numeric.decimal.go, constant.language.go | #93BFFB | — |
| storage.type.string.go, storage.type.numeric.go, storage.type.boolean.go, storage.type.error.go | #D49CFA | — |
| keyword.package.go, keyword.import.go, keyword.function.go, keyword.control.go, keyword.type.go | #FFA089 | |
| keyword.struct.go, keyword.interface.go | #FF8C89 | — |
| comment, punctuation.definition.comment | #6b9955e7 | — |
| variable, string constant.other.placeholder | #D980FA | — |
| variable.other.property | #D980FA | — |
| constant.other.color | #ffffff | — |
| constant.numeric.css | #FF8C89 | — |
| invalid, invalid.illegal | #FF5370 | — |
| storage.type | #D49CFA | — |
| keyword.control.import, keyword.control.from, storage.type.js, keyword.control.flow.js, keyword.control.export.js, keyword.control.default.js, keyword.other.namespace.php, keyword.other.use.php, storage.modifier.php, keyword.control.return.php, variable.language.this.php, storage.modifier.extends.php, storage.modifier.async.js, keyword.control.flow.js, keyword.other.unit, keyword.other.use-as.php, keyword.declaration.dart, storage.modifier.dart, keyword.other.namespace.php, keyword.control.return.php, keyword.other.use-as.php, keyword.blade, storage.type.class.php | — | italic |
| storage.modifier.async.js, keyword.control.flow.js | #D49CFA | — |
| storage.type.function.arrow.js | #FFBE76 | |
| entity.name.type.module.jsx | #D980FA | — |
| entity.other.keyframe-offset.css | #FFBE76 | — |
| punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #dbe8f8b9 | — |
| meta.tag, text.html.derivative, text.html.php.blade | #A6ACCD | — |
| meta.property-name.css, support.type.object.module | #D980FA | — |
| keyword.operator, keyword.control.at-rule.tailwind.tailwind, punctuation, punctuation.separator.inheritance.php, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, keyword.operator.ternary, keyword.control.loop, keyword.operator.pattern.css | #FFBE76 | — |
| constant.other.color | #FF8C89 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #FF8C89 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #00CC99 | — |
| meta.block variable.other | #D980FA | — |
| keyword.control.conditional, keyword.control.loop | — | |
| storage.type.function.js | #D49CFA | |
| support.other.variable, string.other.link | #00CC99 | — |
| constant.character, constant.escape, keyword.other | #FF8C89 | — |
| support.constant | #FF8C89 | — |
| punctuation.definition.constant.css, entity.other.keyframe-offset.percentage.css | #FF8C89 | — |
| keyword.control.at-rule.media.css, keyword.operator.logical.and.media.css, keyword.control.at-rule.import.css | #D75FCA | — |
| keyword.other.unit | #FFA089 | — |
| variable.parameter | #d75fca | — |
| string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #E2E67E | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #E2E67E | — |
| entity.name, support.type, support.class, markup.changed.git_gutter, support.type.sys-types | #FF8C89 | — |
| keyword.operator.spread, keyword.operator.variadic.php | #FFBE76 | — |
| variable.other keyword.operator.variadic.php | — | |
| keyword.control.at-rule.keyframes.css | #D49CFA | — |
| punctuation.definition.keyword.css | #D75FCA | — |
| meta.property-value.css | #FFA089 | — |
| storage.type.function.php | #D49CFA | |
| entity.other.inherited-class.php, entity.other.alias.php | #FF8C89 | — |
| support.other.namespace.php | #FFA089 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #D49CFA | — |
| support.class.php | #FF8C89 | — |
| storage.modifier.extends.php, storage.modifier.php | #D49CFA | — |
| keyword.control.foreach.php | — | |
| variable.other punctuation.definition.variable.php, variable.other.php, variable.other.property.php | #D980FA | — |
| storage.type.class.jsdoc | #FFBE76 | — |
| source.php | #FFBE76 | — |
| keyword.control.return.php, keyword.operator.comparison.php, keyword.control.if.php, keyword.other.use.php, keyword.other.use-as.php, keyword.blade, keyword.other.namespace.php | #D49CFA | — |
| keyword.operator.key.php | #FFBE76 | — |
| variable.language.this.php, punctuation.definition.variable.php | #D49CFA | — |
| keyword.operator.class.php | #FFBE76 | — |
| support.type | #B2CCD6 | — |
| 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 | #D980FA | — |
| support.type.vendored.property-name.css | #D980FA | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FF5370 | — |
| variable.language | #ca81ec | — |
| entity.name.method.js | #82AAFF | — |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #82AAFF | — |
| entity.other.attribute-name | #FFA089 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #FFCB6B | — |
| entity.other.attribute-name.class | #D49CFA | |
| punctuation.definition.entity.css | — | |
| source.sass keyword.control | #82AAFF | — |
| markup.inserted | #C3E88D | — |
| support.type.primitive.ts | #D49CFA | — |
| keyword.operator.type.annotation.ts | #FFBE76 | — |
| markup.deleted | #FF5370 | — |
| markup.changed | #C792EA | — |
| string.regexp | #89DDFF | — |
| constant.character.escape | #FFCB6B | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #82AAFF | — |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF5370 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #FFCB6B | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FFCB6B | — |
| 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 | #F78C6C | — |
| 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 | #F78C6C | — |
| 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 | #F78C6C | — |
| 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 | #82AAFF | — |
| 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 | #f07178 | — |
| 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 meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C792EA | — |
| 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 meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C3E88D | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #EEFFFF | — |
| text.html.markdown markup.inline.raw.markdown | #C792EA | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #65737E | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #C3E88D | — |
| markup.italic | #f07178 | — |
| markup.bold, markup.bold string | #f07178 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #f07178 | bold |
| markup.underline | #F78C6C | underline |
| markup.quote punctuation.definition.blockquote.markdown | #65737E | — |
| markup.quote | — | — |
| string.other.link.title.markdown | #82AAFF | — |
| string.other.link.description.title.markdown | #C792EA | — |
| constant.other.reference.link.markdown | #FFCB6B | — |
| markup.raw.block | #C792EA | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #EEFFFF | — |
| variable.language.fenced.markdown | #65737E | — |
| meta.separator | #65737E | bold |
| markup.table | #EEFFFF | — |
| keyword.operator.new, constant.language.null, constant.language.boolean, constant.language, constant.numeric | #93BFFB | — |
| keyword.operator.assignment, keyword.operator.logical, keyword.control.trycatch, keyword.operator.comparison, keyword.operator.arithmetic, keyword.operator.relational, keyword.operator.rest, keyword.operator.expression | #FFBE76 | — |
| keyword.control.conditional | #D49CFA | — |
| keyword.control.import.js, keyword.control.from.js, keyword.control.export.js, keyword.control.default.js | #D49CFA | — |
| variable.language.dart | #D49CFA | — |
| other.source.dart | #DBE8F8B9 | — |
| source.dart storage.type.primitive.dart, keyword.declaration.dart, storage.modifier.dart | #D49CFA | — |
| keyword.operator.ternary.dart, keyword.operator.assignment.dart, keyword.operator.closure.dart | #FFBE76 | — |
| keyword.control.dart | #D49CFA | — |
| entity.name.type.class | #FFA089 | — |
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}!`;
}