Goliath Theme
Publisher: sibunutThemes in package: 2
An exotic and harmonious theme for Visual Studio Code with a unique pastel palette. Available in dark and light variants.
An exotic and harmonious theme for Visual Studio Code with a unique pastel palette. Available in dark and light variants.
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 | #6a8a7a | italic |
| string, string.template, string.quoted | #d4a06a | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #b8905a | — |
| punctuation.definition.string.template.begin, punctuation.definition.string.template.end | #d4a06a | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #6a9a9a | — |
| constant.other.placeholder, string.quoted.other.placeholder | #b89ac4 | — |
| constant.character.escape, constant.character.escape.sequence | #c47a9a | — |
| constant.numeric, constant.numeric.hex, constant.numeric.binary, constant.numeric.octal, constant.numeric.float | #b89bb8 | — |
| constant.language, support.constant, variable.other.constant, constant.character | #b89bb8 | — |
| punctuation.definition.directive, punctuation.definition.preprocessor, keyword.control.directive.pound | #a06050 | — |
| keyword.control.directive, keyword.control.preprocessor, meta.preprocessor | #c48a6a | bold |
| entity.name.function.preprocessor, meta.preprocessor.macro, variable.other.preprocessor, entity.name.constant.preprocessor | #c48a6a | bold |
| string.quoted.other.lt-gt.include, string.quoted.double.include, string.quoted.include | #b8905a | — |
| constant.other.color.rgb-value, punctuation.definition.constant.color | #c47a9a | — |
| keyword.control, keyword.other, storage.modifier | #6a9a9a | — |
| storage.type, storage.type.class, storage.type.struct, storage.type.enum, storage.type.typedef, storage.type.union | #6aaa9a | — |
| entity.name.type, entity.name.type.class, entity.name.type.struct, entity.name.type.enum, entity.name.type.union, support.type | #6aaa9a | — |
| support.type.primitive, storage.type.primitive, storage.type.builtin, storage.type.basic | #8aaa7a | italic |
| storage.modifier, storage.type.qualifier | #6a9a9a | — |
| keyword.operator.pointer, keyword.operator.reference, storage.modifier.pointer, punctuation.definition.pointer | #c4a44a | bold |
| keyword.operator.dereference | #c4a44a | bold |
| keyword.operator.address-of | #c4a44a | bold |
| keyword.operator.new, keyword.operator.delete, keyword.operator.expression.instanceof, keyword.operator.expression.typeof | #6a9a9a | — |
| entity.name.function, support.function, meta.function-call, meta.function | #7a9ac4 | — |
| variable.parameter, variable.parameter.function, meta.parameter | #b0a090 | — |
| entity.name.class, support.class, entity.other.inherited-class, entity.name.type.class | #c47a7a | — |
| variable, variable.other.readwrite, variable.other | #b0a090 | — |
| meta.object-literal.key, variable.object.property, support.variable.property | #b8a080 | — |
| variable.language, variable.parameter.function.language.special, variable.language.this, variable.language.super | #c47a7a | italic |
| keyword.operator, punctuation.separator.key-value | #a0a0a0 | — |
| keyword.operator.logical, keyword.operator.comparison, keyword.operator.relational | #b8a080 | — |
| keyword.operator.arithmetic | #a0a0a0 | — |
| keyword.operator.assignment, keyword.operator.assignment.compound | #b8a080 | — |
| punctuation.definition.arguments, punctuation.definition.parameters, punctuation.separator.delimiter, punctuation.terminator, punctuation.section.block, punctuation.curlybrace, punctuation.roundbrace, punctuation.squarebrace, punctuation.separator, meta.brace | #8a8a8a | — |
| entity.name.tag, meta.tag, punctuation.definition.tag | #8a8a9a | — |
| entity.other.attribute-name, meta.attribute | #b0a090 | — |
| entity.other.attribute-name.id | #7a9ac4 | — |
| support.type.property-name, meta.property-name | #b0a090 | — |
| support.constant.property-value, support.constant.color | #d4a06a | — |
| keyword.other.unit | #b89bb8 | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #6aaa9a | — |
| entity.name.lifetime, storage.modifier.lifetime | #b89ac4 | — |
| entity.name.function.macro, meta.macro.rules | #c48a6a | bold |
| meta.attribute.rust, punctuation.brackets.attribute | #b89bb8 | — |
| storage.type.haskell, entity.name.type.haskell | #6aaa9a | — |
| entity.name.function.haskell | #7a9ac4 | — |
| keyword.control.directive.asm, storage.modifier.asm | #c48a6a | bold |
| keyword.operator.mnemonic, support.function.asm | #6a9a9a | — |
| variable.language.register, support.constant.register | #b89bb8 | — |
| entity.name.label, entity.name.function.label | #c47a7a | — |
| keyword.control.zig, storage.modifier.zig | #6a9a9a | — |
| support.function.builtin.zig | #7a9ac4 | — |
| entity.name.type.error.zig | #c47a7a | — |
| keyword.control.nim, storage.type.nim | #6a9a9a | — |
| meta.pragma.nim, keyword.other.pragma.nim | #b89bb8 | — |
| storage.type.nim, entity.name.type.nim | #6aaa9a | — |
| markup.heading, entity.name.section | #c47a7a | bold |
| markup.underline.link, string.other.link | #7a9ac4 | — |
| markup.bold | #b8a080 | bold |
| markup.italic | #b8a080 | italic |
| markup.raw, markup.inline.raw | #d4a06a | — |
| markup.quote | #6a8a7a | italic |
| punctuation.definition.list | #c48a6a | — |
| markup.inserted.diff, meta.diff.header.to-file | #8aaa7a | — |
| markup.deleted.diff, meta.diff.header.from-file | #c47a7a | — |
| markup.changed.diff | #d4a06a | — |
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 | #6f9a85 | italic |
| string, string.template, string.quoted | #c07030 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #a86028 | — |
| punctuation.definition.string.template.begin, punctuation.definition.string.template.end | #c07030 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #2f7a7a | — |
| constant.other.placeholder, string.quoted.other.placeholder | #8a5fc4 | — |
| constant.character.escape, constant.character.escape.sequence | #d05070 | — |
| constant.numeric, constant.numeric.hex, constant.numeric.binary, constant.numeric.octal, constant.numeric.float | #7a4fb0 | — |
| constant.language, support.constant, variable.other.constant, constant.character | #7a4fb0 | — |
| punctuation.definition.directive, punctuation.definition.preprocessor, keyword.control.directive.pound | #a05040 | — |
| keyword.control.directive, keyword.control.preprocessor, meta.preprocessor | #b06030 | bold |
| entity.name.function.preprocessor, meta.preprocessor.macro, variable.other.preprocessor, entity.name.constant.preprocessor | #b06030 | bold |
| string.quoted.other.lt-gt.include, string.quoted.double.include, string.quoted.include | #a86028 | — |
| constant.other.color.rgb-value, punctuation.definition.constant.color | #d05070 | — |
| keyword.control, keyword.other, storage.modifier | #2f7a7a | — |
| storage.type, storage.type.class, storage.type.struct, storage.type.enum, storage.type.typedef, storage.type.union | #2f8a6a | — |
| entity.name.type, entity.name.type.class, entity.name.type.struct, entity.name.type.enum, entity.name.type.union, support.type | #2f8a6a | — |
| support.type.primitive, storage.type.primitive, storage.type.builtin, storage.type.basic | #3c8a5a | italic |
| storage.modifier, storage.type.qualifier | #2f7a7a | — |
| keyword.operator.pointer, keyword.operator.reference, storage.modifier.pointer, punctuation.definition.pointer | #a07030 | bold |
| keyword.operator.dereference | #a07030 | bold |
| keyword.operator.address-of | #a07030 | bold |
| keyword.operator.new, keyword.operator.delete, keyword.operator.expression.instanceof, keyword.operator.expression.typeof | #2f7a7a | — |
| entity.name.function, support.function, meta.function-call, meta.function | #3a6fd0 | — |
| variable.parameter, variable.parameter.function, meta.parameter | #6b5f52 | — |
| entity.name.class, support.class, entity.other.inherited-class, entity.name.type.class | #d05050 | — |
| variable, variable.other.readwrite, variable.other | #6b5f52 | — |
| meta.object-literal.key, variable.object.property, support.variable.property | #6b5f52 | — |
| variable.language, variable.parameter.function.language.special, variable.language.this, variable.language.super | #d05050 | italic |
| keyword.operator, punctuation.separator.key-value | #8a7f72 | — |
| keyword.operator.logical, keyword.operator.comparison, keyword.operator.relational | #8a7f72 | — |
| keyword.operator.arithmetic | #8a7f72 | — |
| keyword.operator.assignment, keyword.operator.assignment.compound | #8a7f72 | — |
| punctuation.definition.arguments, punctuation.definition.parameters, punctuation.separator.delimiter, punctuation.terminator, punctuation.section.block, punctuation.curlybrace, punctuation.roundbrace, punctuation.squarebrace, punctuation.separator, meta.brace | #9a9084 | — |
| entity.name.tag, meta.tag, punctuation.definition.tag | #6b5f52 | — |
| entity.other.attribute-name, meta.attribute | #7a6a5a | — |
| entity.other.attribute-name.id | #3a6fd0 | — |
| support.type.property-name, meta.property-name | #6b5f52 | — |
| support.constant.property-value, support.constant.color | #c07030 | — |
| keyword.other.unit | #7a4fb0 | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #2f8a6a | — |
| entity.name.lifetime, storage.modifier.lifetime | #8a5fc4 | — |
| entity.name.function.macro, meta.macro.rules | #b06030 | bold |
| meta.attribute.rust, punctuation.brackets.attribute | #7a4fb0 | — |
| storage.type.haskell, entity.name.type.haskell | #2f8a6a | — |
| entity.name.function.haskell | #3a6fd0 | — |
| keyword.control.directive.asm, storage.modifier.asm | #b06030 | bold |
| keyword.operator.mnemonic, support.function.asm | #2f7a7a | — |
| variable.language.register, support.constant.register | #7a4fb0 | — |
| entity.name.label, entity.name.function.label | #d05050 | — |
| keyword.control.zig, storage.modifier.zig | #2f7a7a | — |
| support.function.builtin.zig | #3a6fd0 | — |
| entity.name.type.error.zig | #d05050 | — |
| keyword.control.nim, storage.type.nim | #2f7a7a | — |
| meta.pragma.nim, keyword.other.pragma.nim | #7a4fb0 | — |
| storage.type.nim, entity.name.type.nim | #2f8a6a | — |
| markup.heading, entity.name.section | #d05050 | bold |
| markup.underline.link, string.other.link | #3a6fd0 | — |
| markup.bold | #6b5f52 | bold |
| markup.italic | #6b5f52 | italic |
| markup.raw, markup.inline.raw | #c07030 | — |
| markup.quote | #6f9a85 | italic |
| punctuation.definition.list | #b06030 | — |
| markup.inserted.diff, meta.diff.header.to-file | #3c8a5a | — |
| markup.deleted.diff, meta.diff.header.from-file | #d05050 | — |
| markup.changed.diff | #c07030 | — |
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}!`;
}
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}!`;
}