Soft Blue Theme
Publisher: Stanislau DziarhachThemes in package: 3
A beautiful and calm VS Code theme with gentle teal and blue colors, perfect for comfortable coding. Features rich syntax highlighting in light, dark, and deep dark versions.
A beautiful and calm VS Code theme with gentle teal and blue colors, perfect for comfortable coding. Features rich syntax highlighting in light, dark, and deep dark versions.
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 |
|---|---|---|
| comment, punctuation.definition.comment | #7B8794 | italic |
| variable, string constant.other.placeholder | #E1F0FF | — |
| keyword, storage.type, storage.modifier | #7FB8E5 | — |
| keyword.control, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #85C1E9 | — |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, punctuation.separator.operator, keyword.operator.increment, keyword.operator.decrement | #FFFFFF | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #E74C3C | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #81D4E6 | italic |
| variable.parameter, meta.function.parameters variable.other | #D4E9FF | italic |
| variable.language, variable.language.this, variable.language.super, variable.language.self | #9DC4E0 | italic |
| entity.name.method, meta.method-call | #66E5FF | italic |
| variable.other.property, variable.other.object.property, meta.object-literal.key | #98D8C8 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, keyword.other.unit, keyword.other | #17A2B8 | — |
| 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 | #FFEDA1 | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #C8A8E9 | italic |
| entity.other.attribute-name | #A6E4E7 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #FFEDA1 | italic |
| invalid, invalid.illegal | #E74C3C | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #85C1E9 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #85C1E9 | bold |
| markup.bold, markup.bold string | #E8F4F8 | bold |
| markup.italic | #D5DBDB | italic |
| string.other.link.title.markdown | #5DADE2 | underline |
| support.type.property-name.css | #30D5C8 | — |
| support.constant.property-value.css | #17A2B8 | — |
| string.regexp | #A8C8E1 | — |
| constant.character.escape | #A8C8E1 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.comparison | #7FB3B3 | — |
| keyword.control.flow, keyword.control.conditional, keyword.control.loop | #8FC4C4 | — |
| keyword.control.import, keyword.control.export, keyword.control.from | #B8A3D1 | — |
| entity.name.type.enum, support.type.enum | #30D5C8 | — |
| variable.other.enummember, constant.other.enum, variable.other.constant.property | #F4D03F | — |
| variable.other.object, variable.other.readwrite, support.variable | #E8F4F9 | — |
| entity.name.type, support.type, entity.name.type.class | #C8A8E8 | italic |
| meta.annotation variable.function, meta.annotation variable.annotation.function, meta.annotation punctuation.definition.annotation, meta.decorator, punctuation.decorator | #FF7F7F | italic |
| support.function.magic.python | #30D5C8 | italic |
| variable.parameter.function.language.special.self.python, variable.language.special.self.python | #87C5C5 | italic |
| entity.name.function.decorator.python, punctuation.definition.decorator.python | #FFEDA1 | italic |
| meta.annotation.rust, meta.annotation.rust punctuation, meta.attribute.rust, punctuation.definition.attribute.rust | #85C1E9 | italic |
| support.macro.rust, meta.macro.rust support.function.rust, entity.name.function.macro.rust | #30D5C8 | italic |
| storage.modifier.lifetime.rust, entity.name.type.lifetime | #A8C8E1 | italic |
| support.function.macro.julia | #30D5C8 | 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}!`;
}