vscode-blueberry
Publisher: vscode-blurThemes in package: 1
VSCode Theme
VSCode Theme
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 |
|---|---|---|
| markup.changed, meta.diff.header.from-file, meta.diff.header.git, meta.diff.header.to-file | #a2bffc | italic |
| meta.paragraph.markdown, entity.name.function.tagged-template variable.other.property, entity.other.attribute-name, variable.other.object.property, meta.indexer.declaration variable.parameter, markup.bold.markdown | #a7b2d5 | — |
| variable.object.property, support.type, meta.tag.attributes entity.other.attribute-name, meta.object-literal.key, variable.graphql, support.class.console, entity.other.attribute-name, meta.type_params.rust, support.variable.property, variable.other.property, variable.other.object.property, meta.array.literal variable.other | #535A7A | — |
| meta.attribute.rust | #2f3142 | — |
| entity.name.type | #535A7A | — |
| support.function.misc, support.function.gradient, support.function.name.postcss, support.function.transform.css, support.function.calc.css, support.function.transform.scss, support.function.calc.scss, support.constant.math, entity.name.function.tagged-template, entity.other.keyframe-offset, meta.function-call, entity.name.tag support.class.component, meta.function-call entity.name.function, meta.field.declaration entity.name.type | #1166ff | — |
| keyword, entity.name.function.rust, support.function.std, entity.name.tag.css, entity.name.tag.scss, entity.other.attribute-name.class, entity.other.attribute-name.id, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, punctuation.accessor, punctuation.symbol.match-branch, storage.modifier, variable.css, storage.type.function | #1166ff | — |
| support.constant.core.rust, constant, support.constant.color, string.other.link, keyword.other.unit, support.variable.object.node, support.variable.object.process, support.function.builtin.shell, variable.language.this, variable.language.self, string.regexp keyword.control, variable.other.constant, variable.other.normal.shell, entity.name.tag.reference, entity.name.tag.wildcard, variable.other.enummember | #1ab2ff | — |
| support.type.property-name.json | #ffc82a | — |
| entity.name.tag | #a7b2d5 | — |
| punctuation.section.embedded, punctuation.definition.template-expression, meta.object-literal.key meta.array.literal meta.brace.square, meta.object-literal.key meta.array.literal variable.other.readwrite | #1ab2ff | — |
| punctuation.definition.comment | #2a2d3c | — |
| storage.type | #1166ff | — |
| meta.block variable.other.readwrite.alias, meta.object-binding-pattern-variable, meta.parameter.object-binding-pattern variable.parameter | #f5f7ff | — |
| punctuation.symbol, meta.brace.round, meta.brace.square, meta.tag punctuation.definition.tag, meta.object-binding-pattern-variable punctuation.destructuring, punctuation.definition, punctuation.section.property-list, punctuation.section.function, punctuation.separator, punctuation.terminator, punctuation.section, punctuation.graphql, punctuation.operation.graphql, punctuation.colon.graphql, meta.brace.curly.graphql | #303345 | — |
| punctuation.definition.string | #f5f7ff | — |
| variable.other.object | #a7b2d5 | — |
| meta.function entity.name.function.rust, support.other.macro, entity.name.module, entity.name.structure, entity.name.function.definition, support.module.builtin.rust, entity.name.function.macro.rust, meta.implementation.rust, storage.class.std.rust, entity.name.function, entity.name.section.group-title, entity.name.section.markdown, entity.name.type.alias, entity.name.type.class, entity.name.type.enum, entity.name.type.trait, entity.name.type.structure, entity.name.type.enumeration, entity.name.type.implementation, entity.name.type.interface, entity.name.type.module, meta.definition.function entity.name.function, meta.definition.method entity.name.function, meta.definition.property entity.name.function, meta.definition.variable variable.other.readwrite, meta.definition.variable entity.name.function, meta.definition.variable variable.other.constant, meta.import variable.other.readwrite, support.constant.property-value, support.constant.property, support.class, variable.argument.css, variable.argument.scss, variable.scss, variable.parameter.postcss, new.expr entity.name.type, entity.other.inherited-class, variable.postcss, variable.parameter, meta.type.declaration meta.type.parameters entity.name.type, meta.class meta.definition.property variable.object.property | #f5f7ff | — |
| string, meta.scope.subject.git-commit, string.template, punctuation.definition.string.template, string.quoted.double | #f5f7ff | — |
| keyword.other.debugger, string.regexp, string.regexp keyword.operator, string.regexp punctuation.definition.string | #ffc82a | — |
| beginning.punctuation.definition.list.markdown | #1166ff | — |
| text.html.markdown | #f5f7ff | — |
| markup.changed.git-commit, markup.inserted.git-commit | #ffc82a | — |
| comment, comment meta.paragraph.markdown, comment markup.bold.markdown | #323546 | — |
| markup.deleted.git-commit | #db3428 | — |
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}!`;
}