SplashBlue
Publisher: FutureglobeThemes in package: 1
VSCode SplashBlue Theme, to make your editor look splashy, blue and cool!
VSCode SplashBlue Theme, to make your editor look splashy, blue and cool!
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 |
|---|---|---|
| — | #f8f8f2 | — |
| comment | #6272A4 | |
| string | #FCFC60 | — |
| constant.numeric | #bd93f9 | — |
| constant.language | #bd93f9 | — |
| constant.character, constant.other | #bd93f9 | — |
| variable | — | |
| variable.other.readwrite.instance | #ffb86c | |
| constant.character.escaped, constant.character.escape, string source, string source.ruby | #ff79c6 | |
| source.ruby string.regexp.classic.ruby, source.ruby string.regexp.mod-r.ruby | #ff5555 | |
| keyword | #ff79c6 | — |
| storage | #ff79c6 | |
| storage.type | #8be9fd | italic |
| storage.type.namespace | #8be9fd | italic |
| storage.type.class | #ff79c6 | italic |
| entity.name.class | #8be9fd | underline |
| meta.path | #66d9ef | underline |
| entity.other.inherited-class | #8be9fd | italic underline |
| entity.name.function | #50fa7b | |
| variable.parameter | #ffb86c | italic |
| entity.name.tag | #ff79c6 | |
| entity.other.attribute-name | #50fa7b | |
| support.function | #8be9fd | |
| support.constant | #6be5fd | |
| support.type, support.class | #66d9ef | italic |
| support.other.variable | — | |
| support.other.namespace | #66d9ef | italic |
| invalid | #F8F8F0 | |
| invalid.deprecated | #F8F8F0 | — |
| meta.structure.dictionary.json string.quoted.double.json | #CFCFC2 | — |
| meta.diff, meta.diff.header | #6272a4 | — |
| markup.deleted | #ff79c6 | — |
| markup.inserted | #50fa7b | — |
| markup.changed | #E6DB74 | — |
| constant.numeric.line-number.find-in-files - match | #bd93f9 | — |
| entity.name.filename | #E6DB74 | — |
| message.error | #F83333 | — |
| punctuation.definition.string.begin.json - meta.structure.dictionary.value.json, punctuation.definition.string.end.json - meta.structure.dictionary.value.json | #EEEEEE | — |
| meta.structure.dictionary.json string.quoted.double.json | #8be9fd | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #f1fa8c | — |
| meta meta meta meta meta meta meta.structure.dictionary.value string | #50fa7b | — |
| meta meta meta meta meta meta.structure.dictionary.value string | #ffb86c | — |
| meta meta meta meta meta.structure.dictionary.value string | #ff79c6 | — |
| meta meta meta meta.structure.dictionary.value string | #bd93f9 | — |
| meta meta meta.structure.dictionary.value string | #50fa7b | — |
| meta meta.structure.dictionary.value string | #ffb86c | — |
| markup.strike | #FFB86C | italic |
| markup.bold | #FFB86C | bold |
| markup.italic | #FFB86C | italic |
| markup.heading | #8BE9FD | — |
| punctuation.definition.list_item.markdown | #FF79C6 | — |
| markup.quote | #6272A4 | italic |
| punctuation.definition.blockquote.markdown | #6272A4 | italic |
| meta.separator | #6272A4 | — |
| text.html.markdown markup.raw.inline | #50FA7B | — |
| markup.underline | #BD93F9 | underline |
| markup.raw.block | #CFCFC2 | — |
| markup.raw.block.fenced.markdown source | #F8F8F2 | — |
| punctuation.definition.fenced.markdown, variable.language.fenced.markdown | #6272A4 | italic |
| variable.language.fenced.markdown | #6272A4 | italic |
| punctuation.accessor | #FF79C6 | — |
| meta.function.return-type | #FF79C6 | — |
| punctuation.section.block.begin | #ffffff | — |
| punctuation.section.block.end | #ffffff | — |
| punctuation.section.embedded.begin | #ff79c6 | — |
| punctuation.section.embedded.end | #ff79c6 | — |
| punctuation.separator.namespace | #ff79c6 | — |
| variable.function | #50fa7b | — |
| variable.other | #ffffff | — |
| variable.language | #bd93f9 | — |
| entity.name.module.ruby | #8be9fd | — |
| entity.name.constant.ruby | #bd93f9 | — |
| support.function.builtin.ruby | #ffffff | — |
| storage.type.namespace.cs | #ff79c6 | — |
| entity.name.namespace.cs | #8be9fd | — |
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}!`;
}