Soft Sky Theme
Publisher: lilinThemes in package: 2
A premium pastel blue VS Code theme inspired by a soft morning sky, gentle clouds, and calm ocean horizons. Soft blue-gray layers with warm cream accents for relaxed, elegant coding.
A premium pastel blue VS Code theme inspired by a soft morning sky, gentle clouds, and calm ocean horizons. Soft blue-gray layers with warm cream accents for relaxed, elegant coding.
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, string.comment | #5E7388 | italic |
| string, string.quoted.single, string.quoted.double, string.template, string.quoted.triple, string.other.link, string.quoted.other | #F5DFA8 | — |
| variable.parameter, variable.other, variable.other.object | #C9B9E8 | — |
| keyword, keyword.control, keyword.operator.new, keyword.other.new, keyword.control.import, keyword.control.from, keyword.control.export, keyword.control.default, keyword.control.return, keyword.control.if, keyword.control.else, keyword.control.for, keyword.control.while, keyword.control.switch, keyword.control.case, keyword.control.try, keyword.control.catch, keyword.control.finally, keyword.control.throw, keyword.control.async, keyword.control.await, keyword.control.class, keyword.control.interface, keyword.control.typeof, keyword.control.instanceof, keyword.control.in, keyword.control.of, keyword.control.package, keyword.control.require, keyword.operator.delete, keyword.operator.in, keyword.operator.instanceof, keyword.operator.typeof, keyword.operator.void, keyword.other.this, keyword.other.super, keyword.other.self, keyword.other.null, keyword.other.undefined, keyword.other.true, keyword.other.false, keyword.other.None, keyword.other.import, keyword.other.module, storage.type.function, storage.type.class, storage.type.interface, storage.type.enum, storage.type.var, storage.type.const, storage.type.let, storage.modifier.async, storage.modifier.await, storage.modifier.static, storage.modifier.const, storage.modifier.readonly, storage.modifier.public, storage.modifier.private, storage.modifier.protected, storage.modifier.export, storage.modifier.import, storage.modifier.abstract, storage.modifier.as, storage.modifier.def, storage.modifier.lambda, storage.type.function.python, storage.type.class.python | #9FB3DF | — |
| entity.name.function, entity.name.function.declaration, meta.function-call, support.function, entity.name.function.macro, meta.method, entity.name.function.method, meta.function-call.generic, support.function.any-method, entity.name.function.ts, entity.name.function.js, entity.name.function.python, support.function.magic.python, entity.name.function.method.python | #7CC4F8 | — |
| meta.function-call.generic, variable.function | #86C5F3 | — |
| variable, variable.other.readwrite, variable.other.constant | #A8B7C6 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.decimal | #F0B7A4 | — |
| constant, constant.language, constant.character, constant.other, constant.other.symbol, constant.other.key | #E8C47A | — |
| entity.name.type, entity.name.class, entity.name.struct, entity.name.enum, entity.name.interface, entity.name.type.alias, entity.name.type.parameter, entity.name.namespace, support.type, support.class, support.type.primitive, support.constant, entity.name.type.class.python, entity.name.type.module.python, entity.name.namespace.python | #A9A3F0 | — |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical, keyword.operator.assignment, keyword.operator.ternary, keyword.operator.optional, keyword.operator.spread, keyword.operator.bitwise, keyword.operator.increment, keyword.operator.decrement, keyword.operator.expression, keyword.operator.new | #7BC4D0 | — |
| punctuation, punctuation.separator, punctuation.definition, punctuation.accessor, punctuation.terminator, punctuation.section, meta.brace, meta.brace.round, meta.brace.square, meta.brace.curly, punctuation.definition.tag, punctuation.section.embedded | #7E93AB | — |
| entity.name.tag, entity.name.tag.html, entity.name.tag.xml, entity.name.tag.jade, meta.tag, entity.name.tag.script, entity.name.tag.style | #9FB3DF | — |
| entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.xml, entity.other.attribute-name.id, entity.other.attribute-name.class | #E8C47A | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less, support.constant.property-value.css, support.function.var.css, support.function.calc.css, support.function.url.css | #9EC6F3 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.name.tag.css, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.css | #B39FDD | — |
| keyword.other.unit.css, keyword.other.unit.less, keyword.other.unit.scss, keyword.other.unit.sass | #F0B7A4 | — |
| markup.heading, markup.heading.markdown, markup.heading.setext, markup.heading.1.markdown, markup.heading.2.markdown, markup.heading.3.markdown, markup.heading.4.markdown, markup.heading.5.markdown, markup.heading.6.markdown, markup.heading.1, markup.heading.2 | #9EC6F3 | bold |
| markup.bold, markup.italic | #C6D2E0 | — |
| markup.underline.link, markup.underline.link.image, markup.underline.link.markdown | #7CC4F8 | — |
| markup.quote, markup.quote.markdown | #8FA2B8 | italic |
| markup.list, markup.list.markdown, punctuation.definition.list.begin.markdown | #9FB3DF | — |
| markup.inline.raw, markup.inline.raw.markdown, markup.fenced_code.block, markup.raw | #BDDDE4 | — |
| markup.strikethrough | #5E7388 | — |
| markup.inserted, markup.inserted.markdown, markup.deleted, markup.deleted.markdown, markup.changed, markup.changed.markdown | #9CC9A8 | — |
| support.type.property-name.json, string.json.key | #A9A3F0 | — |
| entity.name.tag.yaml, entity.name.tag.yaml.anchor, entity.name.tag.yaml.alias | #A9A3F0 | — |
| entity.name.function.decorator, entity.name.function.decorator.python, meta.decorator | #F0B7A4 | — |
| support.type.builtin.python, support.function.builtin.python | #7BC4D0 | — |
| entity.name.type.parameter.ts, entity.name.type.parameter.tsx, variable.parameter.ts, variable.parameter.tsx | #B39FDD | — |
| support.type.property-name, support.type.property-name.ts, support.type.property-name.js, variable.object.property | #AEBCCB | — |
| string.regexp, keyword.other.quantifier, constant.character.escape | #F5DFA8 | — |
| constant.character.escape, constant.character.escape.ts, constant.character.escape.js | #F0D492 | — |
| template.expression, meta.template.expression, punctuation.definition.template-expression | #C9B9E8 | — |
| variable.other.object.property, variable.other.property | #AEBCCB | — |
| invalid, invalid.deprecated, invalid.illegal | #E58FA2 | underline |
| debug, debug.console, debug.log, debug.console.info, debug.console.warn, debug.console.error | #C6D2E0 | — |
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}!`;
}