Furukawa Theme
Publisher: superfurukawaThemes in package: 2
furukawa theme
furukawa 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 |
|---|---|---|
| — | #F8F8F8 | — |
| meta.embedded, source.groovy.embedded | #F8F8F8 | — |
| comment | #e7c0c0ff | |
| constant | #994646ff | |
| keyword | #f12727ff | |
| entity | #fec758ff | |
| storage | #ff6262ff | |
| string | #cd8d8dff | |
| support | #ff0000 | |
| variable | #fb9a4bff | |
| invalid | #ffffffff | — |
| entity.other.inherited-class | #aa5507ff | underline |
| constant.character | #ec0d1e | — |
| string constant, constant.character.escape | #ffe862ff | |
| string.regexp | #ffb454ff | — |
| string variable | #edef7dff | — |
| support.function | #ffb454ff | |
| support.constant, support.variable | #eb939aff | |
| declaration.sgml.html declaration.doctype, declaration.sgml.html declaration.doctype entity, declaration.sgml.html declaration.doctype string, declaration.xml-processing, declaration.xml-processing entity, declaration.xml-processing string | #73817dff | |
| declaration.tag, declaration.tag entity, meta.tag, meta.tag entity | #ec0d1eff | |
| meta.selector.css entity.name.tag | #aa5507ff | |
| meta.selector.css entity.other.attribute-name.id | #fec758ff | — |
| meta.selector.css entity.other.attribute-name.class | #41a83eff | |
| support.type.property-name.css | #96dd3bff | |
| meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css | #ffe862ff | |
| meta.property-value support.constant.named-color.css, meta.property-value constant | #ffe862ff | |
| meta.preprocessor.at-rule keyword.control.at-rule | #fd6209ff | — |
| meta.constructor.argument.css | #ec9799ff | |
| meta.diff, meta.diff.header | #f8f8f8ff | |
| markup.deleted | #ec9799ff | — |
| markup.changed | #f8f8f8ff | — |
| markup.inserted | #41a83eff | — |
| markup.quote | #f12727ff | — |
| markup.list | #ff6262ff | — |
| markup.bold, markup.italic | #fb9a4bff | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.inline.raw | #cd8d8dff | |
| markup.heading, markup.heading.setext, punctuation.definition.heading, entity.name.section | #fec758ff | bold |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded, .format.placeholder | #ec0d1e | — |
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}!`;
}