Glacier
Publisher: KalThemes in package: 1
Glacier theme ported from SublimeText
Glacier theme ported from SublimeText
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #efefef | — |
| comment | #515c68 | |
| constant | #ffe792 | |
| entity | #3cadd7 | |
| keyword | #d7503c | bold |
| storage | #ffffff | |
| storage.type | #3cadd7 | italic |
| string | #ffe792 | |
| support | #ffe792 | bold |
| variable | #d73c4d | bold |
| invalid | #F8F8F8 | — |
| text source | — | — |
| text.html.ruby source | — | — |
| entity.other.inherited-class | #4abe95 | italic |
| string.quoted source | #5eebb8 | |
| string constant | #5eebb8 | — |
| string.regexp | #FFB454 | — |
| string variable | #ffe792 | — |
| support.function | #d7503c | |
| support.constant | #5eebb8 | |
| other.preprocessor.c | #8996A8 | — |
| other.preprocessor.c entity | #AFC4DB | — |
| declaration.tag, declaration.tag entity, meta.tag, meta.tag entity | #3cadd7 | — |
| meta.selector.css entity.name.tag | #3cadd7 | — |
| meta.selector.css entity.other.attribute-name.id | #ffe792 | bold |
| meta.selector.css entity.other.attribute-name.class | #5eebb8 | bold |
| support.type.property-name.css | #ffffff | — |
| meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css | #5eebb8 | italic |
| meta.preprocessor.at-rule keyword.control.at-rule | #ffe792 | bold |
| meta.property-value support.constant.named-color.css, meta.property-value constant | #ffe792 | — |
| meta.constructor.argument.css | #d7503c | — |
| meta.diff, meta.diff.header | #F8F8F8 | italic |
| markup.deleted | #F8F8F8 | — |
| markup.changed | #F8F8F8 | — |
| markup.inserted | #F8F8F8 | — |
| sublimelinter.outline.notes | — | — |
| sublimelinter.outline.illegal | — | — |
| sublimelinter.underline.illegal | — | — |
| sublimelinter.outline.warning | #ffffff | — |
| sublimelinter.underline.warning | — | — |
| sublimelinter.outline.violation | — | — |
| sublimelinter.underline.violation | — | — |
| entity.other.attribute-name.id.html | #f57542 | — |
| entity.other.attribute-name.html | #76ffcd | — |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #266b85 | — |
| keyword.control.at-rule.import.css | #f7f09d | bold |
| variable.other.less | #ffffff | — |
| entity.other.less.mixin | #ffffff | — |
| source.css.less keyword.unit.css | #5eebb8 | — |
| entity.other.attribute-name.angular.html, source.angular.embedded.html | #ffe792 | — |
| constant.character.entity.html | #5eebb8 | — |
| variable.other.readwrite.instance.coffee | #5eebb8 | — |
| meta.brace.round.coffee, meta.brace.square.coffee | #ffe792 | — |
| punctuation.section.embedded.coffee | #5eebb8 | — |
| variable.assignment.coffee variable.assignment.coffee | #FFFFFF | — |
| meta.delimiter.method.period.coffee | #3cadd7 | — |
| meta.brace.curly.coffee | #5eebb8 | — |
| 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 | #3c444d | — |
| markup.deleted.git_gutter | #d7503c | — |
| markup.inserted.git_gutter | #43ae88 | — |
| markup.changed.git_gutter | #3cadd7 | — |
| markup.ignored.git_gutter | #3e4751 | — |
| markup.untracked.git_gutter | #3e4751 | — |
| punctuation.definition.string.begin.json - meta.structure.dictionary.value.json, punctuation.definition.string.end.json - meta.structure.dictionary.value.json | #ffffff | — |
| meta.structure.dictionary.json string.quoted.double.json | #3cadd7 | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #ffe792 | — |
| sublimelinter.gutter-mark | #FFFFFF | — |
| sublimelinter.mark.warning | #DDB700 | — |
| sublimelinter.mark.error | #D02000 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}