BilugaTheme
Publisher: Ricardo RuwerThemes in package: 1
Biluga Color Theme
Biluga Color 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 |
|---|---|---|
| comment | #4A5568 | italic |
| variable.other.property, meta.object-literal.key, punctuation.terminator, support.constant.property-value, variable.other.block, support.constant.font-name, source.elixir.embedded, meta.embedded, source.groovy.embedded, meta.template.expression, parameter.variable | #EDF2F7 | — |
| comment.unused | #718096 | |
| keyword, storage, storage.type, storage.modifier, support.constant.media, entity.name.tag, meta.embedded variable.other.global | #FEB2B2 | |
| support.function.variable.quoted.single.elixir, invalid | #C53030 | bold |
| punctuation.definition.markdown, punctuation.definition.raw.markdown, constant.language, constant.numeric, meta.preprocessor.numeric | #F6AD55 | — |
| constant.other.symbol | #C6F6D5 | — |
| meta.brace, header, markup.heading, meta.preprocessor, meta.diff.header, punctuation.definition.variable | #63B3ED | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| meta.definition.function entity.name.function | #B794F4 | — |
| meta.embedded meta.function-call support.function.core | #FBB6CE | — |
| meta.function-call support.function.core | #E9D8FD | — |
| constant.language.symbol | #C6F6D5 | — |
| variable.other.constant, entity.other.attribute-name, meta.function-call variable.other.object, support.function.builtin, meta.embedded variable.other, support.class | #FFE484 | — |
| punctuation.separator, punctuation.accessor, punctuation.section, support.type.property-name, punctuation.definition.list.begin.markdown, punctuation.definition.constant, markup.changed, punctuation.definition.tag, keyword.operator | #93DDFD | — |
| string, string.tag, string.value, string.regexp, meta.preprocessor.string, punctuation.definition.string | #B5F4A5 | — |
| entity.name.function, entity.name.section.group-title | #D9A9FF | — |
| meta.function-call entity.name.function, support.function | #FFFFB6 | — |
| support.function.core, variable.parameter.function | #C6C5FE | — |
| keyword.control, meta.tag.structure entity.name.tag, meta.method.declaration meta.var storage.type, variable.other.global punctuation.definition.variable | #FF8383 | |
| keyword.control.pseudo-method | #FEB2B2 | — |
| keyword.other.unit, punctuation.section.embedded, punctuation.section.regexp | #FD971F | — |
| variable.parameter, variable.language, variable.other.object, variable.other.readwrite.js, variable.scss, meta.arrow meta.function-call variable.other.object, constant.language.symbol.hashkey | #D1EBFA | — |
| meta.method.declaration storage.type, markup.inline.raw, markup.fenced_code.block | #E9C062 | — |
| entity.name.type, entity.other.attribute-name.class.css, entity.name.tag.css | #FBD38D | — |
| variable.other.readwrite | #BEE3F8 | — |
| variable.parameter.function variable.other | #FFFFFF | — |
| variable | #F8FAFC | — |
| keyword.control | #FF8383 | — |
| keyword | #FECACA | — |
| punctuation.definition.case-pattern, punctuation.terminator.case-clause | #63B3ED | — |
| support.function.core | #F3E8FF | — |
| variable.other.constant | #93C5FD | — |
| meta.section.scope variable.other.constant | #FFE484 | — |
| variable.other.readwrite | #FAFAFA | — |
| meta.function.definition variable.other.readwrite | #CBD5E1 | — |
| entity.name.function | #D8B4FE | — |
| comment | #6B7280 | — |
| entity.name.function.call | #E9D5FF | — |
| meta.embedded variable.other | #F3E8FF | — |
| meta.function-call support.function.core | #FFFFB6 | — |
| variable.parameter.function | #DDD6FE | — |
| meta.embedded meta.function-call support.function.core | #FAFAFA | — |
| variable.language | #93C5FD | — |
| constant.language.symbol.hashkey | #BAE6FD | — |
| constant.language.symbol | #BBF7D0 | — |
| meta.function-call entity.name.function, meta.function-call support.function.core | #FEF3C7 | — |
| punctuation.section | #7DD3FC | — |
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}!`;
}