dooshtheme
Publisher: dooshiiThemes in package: 1
Theme built off of 'Theme' by Mhammed Talhaouy
Theme built off of 'Theme' by Mhammed Talhaouy
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 |
|---|---|---|
| Global settings | #bfc7d5 | — |
| comment | #7f848e | italic |
| comment.block.documentation | #94b984 | — |
| string | #C3E88D | — |
| string.quoted | #C3E88D | — |
| string.unquoted | #bfc7d5 | — |
| support.constant.math | #ffcb6b | — |
| constant.numeric, constant.character.numeric | #F78C6C | — |
| constant.language, punctuation.definition.constant, variable.other.constant | #82AAFF | — |
| constant.character, constant.other | #82AAFF | — |
| constant.character.escape | #F78C6C | — |
| string.regexp, string.regexp keyword.other | #80CBC4 | — |
| meta.function punctuation.separator.comma | #eeffff | — |
| keyword.operator.arithmetic, keyword.operator.ternary | #e0c5f1 | — |
| variable | #ffcb6b | — |
| keyword | #c792ea | — |
| storage, storage.type, meta.var.expr storage.type, storage.type.property.js, storage.type.property.ts, storage.type.property.tsx, meta.class meta.method.declaration meta.var.expr storage.type.js, meta.class meta.method.declaration meta.var.expr storage.type.ts | #c792ea | italic |
| entity.name.class, meta.class entity.name.type.class | #ffcb6b | — |
| entity.other.inherited-class | #a9c77d | — |
| entity.name.function | #ffde82 | — |
| variable.parameter | #7291f7 | — |
| punctuation.definition.tag, meta.tag | #89DDFF | — |
| entity.name.tag support.class.component, meta.tag.other.html, meta.tag.other.js, meta.tag.other.ts, meta.tag.other.tsx, entity.name.tag.tsx, entity.name.tag.js, entity.name.tag.ts, entity.name.tag, meta.tag.js, meta.tag.ts, meta.tag.tsx, meta.tag.html | #ff5572 | — |
| entity.other.attribute-name | #ffcb6b | — |
| entity.name.tag.custom | #ffcb6b | — |
| support.function, support.constant | #82AAFF | — |
| support.constant.meta.property-value | #89DDFF | — |
| support.type, support.class | #ffcb6b | — |
| support.variable.dom | #ffcb6b | — |
| invalid | #ffffff | — |
| invalid.deprecated | #ffffff | — |
| keyword.operator.relational | #e0c5f1 | — |
| keyword.operator.assignment | #e0c5f1 | — |
| comment.line.double-slash | #697098 | — |
| object | #cdebf7 | — |
| constant.language.null | #ff5874 | — |
| meta.brace | #bfc7d5 | — |
| meta.delimiter.period | #c792ea | — |
| punctuation.definition.string | #d9f5dd | — |
| constant.language.boolean | #ff5874 | — |
| object.comma | #ffffff | — |
| variable.parameter.function | #89DDFF | — |
| support.type.vendored.property-name, support.constant.vendored.property-value, support.type.property-name, meta.property-list entity.name.tag | #80CBC4 | — |
| meta.property-list entity.name.tag.reference | #ff5572 | — |
| constant.other.color.rgb-value punctuation.definition.constant | #F78C6C | — |
| constant.other.color | #FFEB95 | — |
| keyword.other.unit | #FFEB95 | — |
| meta.selector | #c792ea | — |
| entity.other.attribute-name.id | #FAD430 | — |
| meta.property-name | #80CBC4 | — |
| entity.name.tag.doctype, meta.tag.sgml.doctype | #c792ea | italic |
| punctuation.definition.parameters | #d9f5dd | — |
| keyword.control.operator | #89DDFF | — |
| keyword.operator.logical | #c792ea | — |
| variable.instance, variable.other.instance, variable.reaedwrite.instance, variable.other.readwrite.instance | #ff5572 | — |
| variable.other.property, variable.other.object.property | #89DDFF | — |
| entity.name.function | #ffde82 | — |
| keyword.operator.comparison | #e0c5f1 | — |
| support.constant, keyword.other.special-method, keyword.other.new | #89DDFF | — |
| support.function | #89DDFF | — |
| invalid.broken | #020e14 | — |
| invalid.unimplemented | #ffffff | — |
| invalid.illegal | #ec5f67 | — |
| variable.language | #ff5572 | — |
| support.variable.property | #89DDFF | — |
| variable.function | #82AAFF | — |
| variable.interpolation | #ec5f67 | — |
| meta.function-call | #82AAFF | — |
| punctuation.section.embedded | #d3423e | — |
| punctuation.terminator.expression, punctuation.definition.arguments, punctuation.definition.array, punctuation.section.array, meta.array | #bfc7d5 | — |
| punctuation.definition.list.begin, punctuation.definition.list.end, punctuation.separator.arguments, punctuation.definition.list | #d9f5dd | — |
| string.template meta.template.expression | #ebd989 | — |
| string.template punctuation.definition.string | #bfc7d5 | — |
| italic | #c792ea | italic |
| bold | #ffcb6b | bold |
| quote | #697098 | italic |
| raw | #80CBC4 | — |
| variable.assignment.coffee | #89DDFF | — |
| variable.parameter.function.coffee | #bfc7d5 | — |
| variable.assignment.coffee | #89DDFF | — |
| variable.other.readwrite.cs | #bfc7d5 | — |
| entity.name.type.class.cs, storage.type.cs | #82AAFF | — |
| entity.name.type.namespace.cs | #B2CCD6 | — |
| entity.name.tag.css, entity.name.tag.less, entity.name.tag.custom.css | #ff5572 | — |
| entity.name.tag.wildcard.css, entity.name.tag.wildcard.less, entity.name.tag.wildcard.scss, entity.name.tag.wildcard.sass | #ff5572 | — |
| keyword.other.unit.css, constant.length.units.css, keyword.other.unit.less, constant.length.units.less, keyword.other.unit.scss, constant.length.units.scss, keyword.other.unit.sass, constant.length.units.sass | #FFEB95 | — |
| meta.attribute-selector.css entity.other.attribute-name.attribute | #F78C6C | — |
| source.js source.css meta.property-list, source.js source.css punctuation.section, source.js source.css punctuation.terminator.rule, source.js source.css punctuation.definition.entity.end.bracket, source.js source.css punctuation.definition.entity.begin.bracket, source.js source.css punctuation.separator.key-value, source.js source.css punctuation.definition.attribute-selector, source.js source.css meta.property-list, source.js source.css meta.property-list punctuation.separator.comma, source.ts source.css punctuation.section, source.ts source.css punctuation.terminator.rule, source.ts source.css punctuation.definition.entity.end.bracket, source.ts source.css punctuation.definition.entity.begin.bracket, source.ts source.css punctuation.separator.key-value, source.ts source.css punctuation.definition.attribute-selector, source.ts source.css meta.property-list, source.ts source.css meta.property-list punctuation.separator.comma | #bfc7d5 | — |
| source.elixir support.type.elixir, source.elixir meta.module.elixir entity.name.class.elixir | #82AAFF | — |
| source.elixir entity.name.function | #ffcb6b | — |
| source.elixir constant.other.symbol.elixir, source.elixir constant.other.keywords.elixir | #82AAFF | — |
| source.elixir punctuation.definition.string | #a9c77d | — |
| source.elixir variable.other.readwrite.module.elixir, source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir | #ffcb6b | — |
| source.elixir .punctuation.binary.elixir | #c792ea | — |
| source.go meta.function-call.go | #DDDDDD | — |
| variable.qraphql | #bfc7d5 | — |
| entity.other.attribute-name.id.html | #ffcb6b | — |
| punctuation.definition.tag.html | #89DDFF | — |
| meta.tag.sgml.doctype.html | #c792ea | italic |
| meta.class entity.name.type.class.js, meta.class entity.name.type.class.ts | #ffcb8b | — |
| meta.method.declaration storage.type.js, meta.method.declaration storage.type.ts | #82AAFF | |
| terminator.js, terminator.ts | #bfc7d5 | — |
| meta.js punctuation.definition.js, meta.ts punctuation.definition.ts | #bfc7d5 | — |
| entity.name.type.instance.jsdoc, entity.name.type.instance.tsdoc, entity.name.type.instance.phpdoc | #eeffff | — |
| variable.other.jsdoc, variable.other.tsdoc, variable.other.phpdoc | #78ccf0 | — |
| variable.other.meta.import.js, meta.import.js variable.other, variable.other.meta.export.js, meta.export.js variable.other, variable.other.meta.import.ts, meta.import.ts variable.other, variable.other.meta.export.ts, meta.export.ts variable.other | #bfc7d5 | — |
| variable.parameter.function.js, variable.parameter.function.ts | #4a5bdf | — |
| variable.other.readwrite.js | #bfc7d5 | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #bfc7d5 | — |
| variable.other.object, meta.object-literal.key, variable.object.property | #a3e9e9 | — |
| variable, variable.other | #bfc7d5 | — |
| entity.name.type, entity.name.type.module | #ffcb8b | — |
| support.type.property-name.json | #C3E88D | |
| support.constant.json | #ffcb6b | — |
| meta.structure.dictionary.value.json string.quoted.double | #80CBC4 | |
| string.quoted.double.json punctuation.definition.string.json | #80CBC4 | |
| meta.structure.dictionary.json meta.structure.dictionary.value constant.language | #ff5874 | — |
| variable.other.ruby | #bfc7d5 | — |
| constant.language.symbol.hashkey.ruby | #89DDFF | — |
| entity.name.tag.less | #ff5572 | — |
| meta.attribute-selector.less entity.other.attribute-name.attribute | #F78C6C | — |
| markup.heading | #82b1ff | — |
| markup.italic | #c792ea | italic |
| markup.bold | #ffcb6b | bold |
| markup.quote | #697098 | italic |
| markup.inline.raw | #80CBC4 | — |
| markup.underline.link, markup.underline.link.image | #ff869a | — |
| markup.meta.attribute-list | #a9c77d | — |
| markup.admonition | — | bold |
| markup.list.bullet | #D9F5DD | — |
| markup.superscript, markup.subscript | — | italic |
| string.other.link.title.markdown, string.other.link.description.markdown | #bfc7d5 | — |
| punctuation.definition.string.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, meta.link.inline.markdown punctuation.definition.string | #82b1ff | — |
| punctuation.definition.metadata.markdown | #ff5572 | — |
| beginning.punctuation.definition.list.markdown | #82b1ff | — |
| entity.name.function.asciidoc | #F78C6C | — |
| variable.other.php | #bec5d4 | — |
| support.class.php | #ffcb8b | — |
| meta.function-call.php punctuation | #bfc7d5 | — |
| variable.other.global.php | #ffcb6b | — |
| variable.other.global.php punctuation.definition.variable | #ffcb6b | — |
| constant.language.python | #ff5874 | — |
| variable.parameter.function.python, meta.function-call.arguments.python | #7986E7 | — |
| meta.function-call.python, meta.function-call.generic.python | #B2CCD6 | — |
| punctuation.python | #bfc7d5 | — |
| entity.name.function.decorator.python | #ffcb6b | — |
| source.python variable.language.special | #8EACE3 | — |
| variable.scss, variable.sass, variable.parameter.url.scss, variable.parameter.url.sass | #DDDDDD | — |
| source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable | #82AAFF | — |
| source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable | #bec5d4 | — |
| meta.attribute-selector.scss entity.other.attribute-name.attribute, meta.attribute-selector.sass entity.other.attribute-name.attribute | #F78C6C | — |
| entity.name.tag.scss, entity.name.tag.sass | #ff5572 | — |
| variable.other.readwrite.alias.ts, variable.other.readwrite.alias.tsx, variable.other.readwrite.ts, variable.other.readwrite.tsx, variable.other.object.ts, variable.other.object.tsx, variable.object.property.ts, variable.object.property.tsx, variable.other.ts, variable.other.tsx, variable.tsx, variable.ts | #a2c1f7 | — |
| entity.name.type.ts, entity.name.type.tsx | #78ccf0 | — |
| support.class.node.ts, support.class.node.tsx | #82AAFF | — |
| meta.type.parameters.ts entity.name.type, meta.type.parameters.tsx entity.name.type | #eeffff | — |
| meta.import.ts punctuation.definition.block, meta.import.tsx punctuation.definition.block, meta.export.ts punctuation.definition.block, meta.export.tsx punctuation.definition.block | #bfc7d5 | — |
| meta.decorator punctuation.decorator.ts, meta.decorator punctuation.decorator.tsx | #82AAFF | — |
| meta.tag meta.jsx.children.tsx | #82AAFF | — |
| entity.name.tag.yaml | #89DDFF | — |
| variable.parameter.handlebars | #bec5d4 | — |
| entity.other.attribute-name.handlebars variable.parameter.handlebars | #ffcb6b | — |
| entity.other.attribute-name.handlebars | #89DDFF | — |
| entity.other.attribute-value.handlebars variable.parameter.handlebars | #7986E7 | — |
| meta.tag meta.embedded.expression punctuation.section.embedded.begin, meta.tag meta.embedded.expression punctuation.section.embedded.end, meta.property-list.css meta.property-value.css variable.other.less, punctuation.section.embedded.begin, punctuation.section.embedded.end, meta.property-list.scss variable.scss, meta.property-list.sass variable.sass, keyword.operator.logical, keyword.operator.arithmetic, keyword.operator.bitwise, keyword.operator.increment, keyword.operator.ternary, keyword.operator.comparison, keyword.operator.assignment, keyword.operator.operator, keyword.operator.or.regexp, keyword.operator.expression.in, keyword.operator.type, punctuation.section.embedded, punctuation.definintion.string, punctuation | — | |
| keyword.other.unit, support.type.primitive, entity.other.attribute-name, entity.name.tag.custom, source keyword.control.flow, support.type.property.css, support.function.basic_functions, variable.assignment.coffee, support.function.basic_functions, punctuation.section.embedded, assignment.coffee, italic, quote, type .function, type.function, storage.type.class, keyword.control, modifier, this, constant.language.boolean, keyword.operator.new | — | italic |
| variable.other.flag.set.dialog | #91df64 | — |
| variable.other.flag.clear.dialog | #e4616a | — |
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}!`;
}