Glacier Black & White
Publisher: Bobby CrottyThemes in package: 2
Sleek, colorful dual theme for Visual Studio Code
Sleek, colorful dual theme for Visual Studio Code
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 | #B0B3BA99 | — |
| constant | #F7EF9C | — |
| entity | #3CAED7 | — |
| entity.other.inherited-class | #4BBE96 | italic bold |
| entity.name.namespace | #75FFCD | bold |
| entity.name.type.class | #3CAED7 | bold |
| meta.function-call.generic | #3CAED7 | — |
| source.cpp entity.name.type | #F7EF9C | — |
| entity.name.scope-resolution | #75FFCD | — |
| meta.function.decorator, meta.function.decorator support, entity.name.function.decorator | #BF33C7 | — |
| keyword | #F04242 | — |
| storage | #3CAED7 | — |
| storage.type | #3CAED7 | italic |
| storage.modifier | #F57542 | italic |
| string | #F7EF9C | — |
| support, support.function.primitive | #F7EF9C | — |
| variable | #F04242 | bold |
| invalid | #E6E6E6 | — |
| string.quoted source | #75FFCD | — |
| string constant | #75FFCD | — |
| string.regexp | #FFB452 | — |
| string variable | #F7EF9C | — |
| support.function | #3CAED7 | — |
| support.constant | #F7EF9C | — |
| other.preprocessor.c | #8A96A8 | — |
| other.preprocessor.c entity | #AEC4DB | — |
| declaration.tag, declaration.tag entity, meta.tag, meta.tag entity | #3CAED7 | — |
| meta.selector.css entity.name.tag | #F57542 | — |
| meta.selector.css entity.other.attribute-name.id | #AEC4DB | — |
| meta.selector.css entity.other.attribute-name.class, entity.other.attribute-name.class.css, entity.other.inherited-class.placeholder-selector.css | #3CAED7 | — |
| entity.other.attribute-name.pseudo-class.css | #3CAED7 | italic |
| meta.property-list.css punctuation.section, meta.brace.round.css, punctuation.terminator.rule.css | #E6E6E6 | — |
| meta.property-name.css support.type, support.type.property-name.css, support.type.property-name.media.css | #75FFCD | — |
| meta.property-group support.constant, meta.property-value support.constant | #F04242 | — |
| source.css string.quoted | #F7EF9C | — |
| constant.language.color.rgb-value.css, constant.other.color.rgb-value.hex.css, constant.other.rgb-value.css | #F7EF9C | — |
| constant.numeric.css, meta.property-value support.constant.named-color.css, meta.property-value constant | #F7EF9C | — |
| constant.numeric.css keyword.other.unit | #F04242 | — |
| keyword.control.at-rule.css, meta.preprocessor.at-rule keyword.control.at-rule, meta.at-rule keyword.control.at-rule, source.sass keyword.control.at-rule | #BF33C7 | — |
| variable.css, variable.argument.css, source.sass variable.other, variable.other.less, variable.other.less punctuation.definition.variable.less, variable.other.interpolation.less, variable.parameter.keyframe-list.css | #FFB452 | — |
| meta.diff, meta.diff.header | #E6E6E6 | italic |
| markup.deleted | #E6E6E6 | — |
| markup.changed | #E6E6E6 | — |
| markup.inserted | #E6E6E6 | — |
| entity.other.attribute-name.id.html, entity.other.attribute-name.id.xml | #F57542 | — |
| entity.other.attribute-name.html, entity.other.attribute-name.xml | #75FFCD | — |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #266D87 | — |
| entity.other.attribute-name.angular.html, source.angular.embedded.html | #F7EF9C | — |
| constant.character.entity.html, constant.character.entity.xml | #75FFCD | — |
| variable.other.readwrite.instance.coffee | #75FFCD | — |
| meta.brace.round.coffee, meta.brace.square.coffee | #F7EF9C | — |
| punctuation.section.embedded.coffee | #75FFCD | — |
| variable.assignment.coffee variable.assignment.coffee | #FAFAFA | — |
| meta.delimiter.method.period.coffee | #3CAED7 | — |
| meta.brace.curly.coffee | #75FFCD | — |
| meta.tag.sgml.doctype.xml, 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, doctype | #515B67 | — |
| markup.deleted.git_gutter | #F04242 | — |
| markup.inserted.git_gutter | #4BBE96 | — |
| markup.changed.git_gutter | #3CAED7 | — |
| markup.ignored.git_gutter | #515B67 | — |
| markup.untracked.git_gutter | #515B67 | — |
| meta.structure.dictionary.property-name.json, support.type.property-name.json | #3CAED7 | — |
| meta.structure.dictionary.value.json support.type.property-name.json | #3CAED7 | — |
| meta.dictionary.value.json, meta.structure.dictionary.value.json string.quoted | #F7EF9C | — |
| meta.structure.dictionary.value.json constant | #FFB452 | — |
| punctuation.definition.array | #F57542 | — |
| modifier | #3CAED7 | italic |
| keyword.control.lua | #F04242 | — |
| keyword.local.lua | #F57542 | italic |
| punctuation.definition.heading.markdown, entity.name.section.markdown | #3CAED7 | bold |
| markup.fenced_code.block.markdown, markup.raw.block.markdown, markup.inline.raw.string.markdown | #F7EF9C | — |
| meta.paragraph.markdown markup.underline.link | #4BBE96 | — |
| meta.paragraph.markdown string.other.link | #75FFCD | — |
| punctuation.definition.list.begin.markdown | #FFB452 | — |
| punctuation.definition.table.markdown, punctuation.separator.table.markdown | #8A96A8 | — |
| markup.quote.markdown | #AEC4DB | — |
| meta.separator.markdown | #3CAED7 | — |
| punctuation.definition.link.title.begin.markdown, punctuation.definition.link.title.end.markdown, punctuation.definition.link.description.begin.markdown, punctuation.definition.link.description.end.markdown, punctuation.definition.metadata.markdown | #3CAED7AA | — |
| markup.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
| markup.strikethrough.markdown | — | strikethrough |
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}!`;
}