BlueGreen
Publisher: madisonharadineThemes in package: 1
blue green
blue green
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.other.character-class.regexp | #ffffff | — |
| keyword.operator.quantifier.regexp | #DAFF7D | — |
| punctuation.definition.string.begin,punctuation.definition.string.end | #B3DEEF | — |
| variable.parameter.function | #efefef | — |
| comment markup.link | #7f848e | — |
| markup.changed.diff | #47c9e4 | — |
| meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff | #C9D05C | — |
| markup.inserted.diff | #fccf75 | — |
| markup.deleted.diff | #ffffff | — |
| punctuation.separator.key-value | #efefef | — |
| keyword.operator.expression.import | #fdf2bf | — |
| support.constant.math | #47c9e4 | — |
| support.constant.property.math | #ffe5b3 | — |
| variable.other.constant | #84dff1 | — |
| keyword.operator.logical | #d0f7ff | — |
| keyword.operator.bitwise | #61A6C3 | — |
| keyword.operator.channel | #F1667b | — |
| keyword.operator.css,keyword.operator.scss,keyword.operator.less | #f3deff | — |
| support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss | #fccf75 | — |
| punctuation.separator.list.comma.css | #efefef | — |
| support.constant.color.w3c-standard-color-name.css | #fccf75 | — |
| support.type.vendored.property-name.css | #F1667b | — |
| support.module.node,support.type.object.module,support.module.node | #ffd900 | — |
| entity.name.type.module | #f3deff | — |
| variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node | #f3deff | — |
| support.constant.json | #f3deff | — |
| keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof | #9dbbae | — |
| support.type.object.console | #ffffff | — |
| support.variable.property.process | #fccf75 | — |
| entity.name.function,support.function.console | #C9D05C | — |
| keyword.operator.delete | #F1667b | — |
| support.type.object.dom | #F1667b | — |
| support.variable.dom,support.variable.property.dom | #ffffff | — |
| keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational | #F1667b | — |
| punctuation.separator.delimiter | #efefef | — |
| keyword.operator | #f1667b | — |
| keyword.operator.assignment.compound | #F1667b | — |
| keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts | #F1667b | — |
| keyword | #F1667b | — |
| entity.name.namespace | #47c9e4 | — |
| variable | #ffffff | — |
| variable.language | #4400ff | — |
| token.package.keyword | #F3B968 | — |
| token.package | #efefef | — |
| entity.name.function, meta.require, support.function.any-method, variable.function | #fff | — |
| entity.name.type.namespace | #b0fc00 | — |
| support.class, entity.name.type.class | #dfe07b | — |
| entity.name.class.identifier.namespace.type | #47c9e4 | — |
| entity.name.class, variable.other.class.js, variable.other.class.ts | #47c9e4 | — |
| variable.other.class.php | #ffffff | — |
| entity.name.type | #47c9e4 | — |
| keyword.control | #f7d38b | — |
| control.elements, keyword.operator.less | #fccf75 | — |
| keyword.other.special-method | #fff | — |
| storage | #B3DEEF | — |
| token.storage | #B3DEEF | — |
| keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void | #F1667b | — |
| support.function | #F1667b | — |
| support.type.property-name | #efefef | — |
| support.constant.property-value | #efefef | — |
| support.constant.font-name | #fccf75 | — |
| meta.tag | #efefef | — |
| string | #B3DEEF | — |
| entity.other.inherited-class | #47c9e4 | — |
| constant.other.symbol | #F1667b | — |
| constant.numeric | #fccf75 | — |
| constant | #C5D86D | — |
| punctuation.definition.constant | #fccf75 | — |
| entity.name.tag | #bbb | — |
| entity.other.attribute-name | #f3deff | — |
| entity.other.attribute-name.id | #C9D05C | normal |
| entity.other.attribute-name.class.css | #fccf75 | normal |
| meta.selector | #F1667b | — |
| markup.heading | #ffffff | — |
| markup.heading punctuation.definition.heading, entity.name.section | #C9D05C | — |
| keyword.other.unit | #ffffff | — |
| markup.bold,todo.bold | #fccf75 | — |
| punctuation.definition.bold | #47c9e4 | — |
| markup.italic, punctuation.definition.italic,todo.emphasis | #F1667b | — |
| emphasis md | #F1667b | — |
| entity.name.section.markdown | #ffffff | — |
| punctuation.definition.heading.markdown | #d8d8d8 | — |
| punctuation.definition.list.begin.markdown | #ffffff | — |
| markup.heading.setext | #AFe0ce | — |
| punctuation.definition.bold.markdown | #fccf75 | — |
| markup.inline.raw.markdown | #fccf75 | — |
| markup.inline.raw.string.markdown | #B3DEEf | — |
| punctuation.definition.list.markdown | #ffffff | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #ffffff | — |
| beginning.punctuation.definition.list.markdown | #ffffff | — |
| punctuation.definition.metadata.markdown | #ffffff | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #F1667b | — |
| string.other.link.title.markdown,string.other.link.description.markdown | #C9D05C | — |
| string.regexp | #F1667b | — |
| constant.character.escape | #F1667b | — |
| punctuation.section.embedded, variable.interpolation | #f7d38b | — |
| punctuation.section.embedded.begin,punctuation.section.embedded.end | #F1667b | — |
| invalid.illegal | #ffffff | — |
| invalid.illegal.bad-ampersand.html | #efefef | — |
| invalid.broken | #ffffff | — |
| invalid.deprecated | #ffffff | — |
| invalid.unimplemented | #ffffff | — |
| source.json meta.structure.dictionary.json > string.quoted.json | #ffffff | — |
| source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string | #ffffff | — |
| source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation | #fccf75 | — |
| source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json | #F1667b | — |
| support.type.property-name.json | #ffffff | — |
| support.type.property-name.json punctuation | #ffffff | — |
| support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php | #47c9e4 | — |
| keyword.operator.error-control.php | #F1667b | — |
| punctuation.section.array.begin.php | #efefef | — |
| punctuation.section.array.end.php | #efefef | — |
| function.parameter | #7f557d | — |
| function.brace | #726E97 | — |
| rgb-value | #F1667b | — |
| inline-color-decoration rgb-value | #fccf75 | — |
| less rgb-value | #fccf75 | — |
| support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx | #47c9e4 | — |
| block.scope.end,block.scope.begin | #efefef | — |
| storage.type.cs | #47c9e4 | — |
| entity.name.variable.local.cs | #ffffff | — |
| token.info-token | #C9D05C | — |
| token.warn-token | #fccf75 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #F1667b | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #F1667b | — |
| meta.template.expression | #efefef | — |
| keyword.operator.module | #726397 | — |
| support.type.type.flowtype | #C9D05C | — |
| support.type.primitive | #47c9e4 | — |
| meta.property.object | #ffffff | — |
| variable.parameter.function.js | #ffffff | — |
| keyword.other.template.begin | #fccf75 | — |
| keyword.other.template.end | #fccf75 | — |
| keyword.other.substitution.begin | #fccf75 | — |
| keyword.other.substitution.end | #fccf75 | — |
| keyword.operator.assignment | #F1667b | — |
| punctuation.quasi.element | #F1667b | — |
| constant.character.entity | #ffffff | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #F1667b | — |
| entity.global.clojure | #47c9e4 | — |
| meta.symbol.clojure | #ffffff | — |
| constant.keyword.clojure | #F1667b | — |
| meta.scope.prerequisites.makefile | #ffffff | — |
| source.makefile | #47c9e4 | — |
| entity.name.function.xi | #47c9e4 | — |
| entity.name.class.xi | #F1667b | — |
| constant.character.character-class.regexp.xi | #ffffff | — |
| constant.regexp.xi | #F1667b | — |
| keyword.control.xi | #F1667b | — |
| invalid.xi | #efefef | — |
| beginning.punctuation.definition.quote.markdown.xi | #fedeff | — |
| beginning.punctuation.definition.list.markdown.xi | #7f848e | — |
| constant.character.xi | #C9D05C | — |
| accent.xi | #C9D05C | — |
| wikiword.xi | #fccf75 | — |
| constant.other.color.rgb-value.xi | #ffffff | — |
| punctuation.definition.tag.xi | #7f848e | — |
| entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #ffffff | — |
| meta.brace.square | #efefef | — |
| comment, punctuation.definition.comment | #7f848e | italic |
| markup.quote.markdown | #7f848e | — |
| punctuation.definition.block.sequence.item.yaml | #efefef | — |
| constant.language.symbol.elixir | #F1667b | — |
| entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super | — | italic |
| comment.line.double-slash,comment.block.documentation | — | italic |
| markup.italic.markdown | — | italic |
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}!`;
}