Tidelight Theme Pack
Publisher: Slow Clap SoftwareThemes in package: 10
Tidelight is a VS Code theme family with a cyan-led palette and clean, balanced contrast.
Tidelight is a VS Code theme family with a cyan-led palette and clean, balanced contrast.
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 | #334155 | italic |
| string, punctuation.definition.string | #166534 | — |
| string.template, punctuation.definition.template-expression, punctuation.section.embedded, meta.template.expression | #0e7490 | — |
| constant.numeric | #a16207 | — |
| constant.language | #a21caf | — |
| keyword, storage.type, storage.modifier, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.logical | #0e7490 | — |
| keyword.operator, punctuation, meta.brace, meta.delimiter | #0f172a | — |
| entity.name.function, support.function, meta.function-call, meta.method-call | #1d4ed8 | — |
| variable.parameter, meta.parameters, meta.function.parameters | #020617 | — |
| variable, meta.definition.variable, entity.name.variable | #020617 | — |
| variable.other.constant, entity.name.constant | #a16207 | — |
| entity.name.type, support.type, support.class, entity.name.class, entity.name.interface, entity.name.struct, entity.name.enum | #312e81 | — |
| entity.name.type.parameter, meta.type.parameters, meta.type.annotation | #0e7490 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #0e7490 | — |
| variable.language.this, variable.language.super, variable.language.self | #a21caf | — |
| variable.other.property, support.variable.property | #4338ca | — |
| entity.name.tag | #0e7490 | — |
| entity.other.attribute-name | #312e81 | — |
| invalid, invalid.deprecated | #9f1239 | underline |
| support.type.property-name.json, meta.object-literal.key.json string.quoted.double.json, meta.object.member.json string.quoted.double.json | #4338ca | — |
| meta.object-literal.value.json string.quoted.double.json, meta.array.literal.json string.quoted.double.json, string.quoted.double.json | #166534 | — |
| constant.numeric.json | #a16207 | — |
| constant.language.boolean.json, constant.language.null.json, constant.language.json | #a21caf | — |
| punctuation.support.type.property-name.json, punctuation.separator.dictionary.key-value.json, punctuation.definition.dictionary.begin.json, punctuation.definition.dictionary.end.json, punctuation.definition.array.begin.json, punctuation.definition.array.end.json, punctuation.separator.array.json | #0f172a | — |
| markup.heading, entity.name.section.markdown, markup.heading.markdown punctuation.definition.heading.markdown | #0e7490 | bold |
| markup.bold, punctuation.definition.bold | #020617 | bold |
| markup.italic, punctuation.definition.italic | #020617 | italic |
| markup.inline.raw, markup.inline.raw.string.markdown | #166534 | — |
| markup.fenced_code.block, markup.raw.block | #020617 | — |
| markup.underline.link, meta.link.inline, meta.link.reference | #1d4ed8 | underline |
| markup.inserted, diff.inserted, meta.diff.header.to-file | #166534 | — |
| markup.deleted, diff.deleted, meta.diff.header.from-file | #9f1239 | — |
| markup.changed, diff.changed | #a16207 | — |
| comment.keyword.todo, comment.keyword.fixme, comment.keyword.note, keyword.other.todo, keyword.other.fixme, keyword.other.note | #a16207 | bold |
| string.regexp, string.regexp keyword.other, string.regexp punctuation.definition.string, string.regexp punctuation.definition.group, string.regexp punctuation.definition.character-class, string.regexp constant.character.escape | #0e7490 | — |
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}!`;
}