ICE CUBE π§
Publisher: ncfrakThemes in package: 2
VS Code them for my frozen community π§
VS Code them for my frozen community π§
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 |
|---|---|---|
| β | #5C6166 | β |
| comment | #787b8099 | italic |
| string.regexp, constant.character, constant.other, text.html.markdown markup.inline.raw, punctuation.accessor | #C46E6E | β |
| support.constant, markup.quote | #C46E6E | italic |
| constant.numeric | #E32643 | β |
| constant.language | #03B591 | β |
| variable.language | #03B591 | italic |
| variable, variable.parameter.function-call, punctuation.section, punctuation.separator, punctuation.terminator, meta.embedded | #5C6166 | β |
| variable.member | #f07171 | β |
| keyword, storage, support.class.component, variable.parameter, meta.parameter | #470FF4 | β |
| source.java storage.type, source.haskell storage.type, source.c storage.type, storage.type.js | #3208AF | β |
| entity.name.type.class | #3208AF | bold |
| meta.decorator.js, entity.name.section.markdown, markup.heading.markdown | #3208AFaa | β |
| variable.other.constant.object.js, variable.other.object.js, keyword.operator | #050066 | β |
| entity.name.function | #0ea1d6 | β |
| support.function, support.macro | #f07171 | β |
| invalid | #e65050 | β |
| source.ruby variable.other.readwrite, variable.function, variable.annotation, meta.function-call.generic, support.function.go, markup.list punctuation.definition.list.begin | #14CCBD | β |
| source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag, meta.decorator variable.other, meta.decorator punctuation.decorator, storage.type.annotation, entity.name, entity.name.import, entity.name.package, string, constant.other.symbol, markup.inline.raw.string.markdown, markup.fenced_code.block.markdown, entity.name.filename.find-in-files, meta.diff, meta.diff.header | #B77B9F | β |
| markup.heading, markup.heading entity.name | #B77B9F | bold |
| source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type, constant.numeric.line-number.find-in-files - match | #787b8099 | β |
| support.type.property-name, constant.numeric.line-number.match, markup.underline.link, string.other.link, markup.bold.markdown, markup.table, punctuation.definition.template-expression, support.type, support.class, source.go storage.type, entity.other.attribute-name, entity.name.tag, meta.tag.sgml, storage.type.function, source.java storage.type.primitive, entity.other.inherited-class, punctuation.section.embedded, variable.other.property.js, punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #0B81AD | β |
| message.error | #e65050 | β |
| markup.italic | #f07171 | italic |
| markup.bold | #f07171 | bold |
| markup.italic markup.bold, markup.bold markup.italic | β | bold italic |
| meta.separator | #787b8099 | bold |
| markup.inserted | #6cbf43 | β |
| markup.changed | #478acc | β |
| markup.deleted | #ff7383 | β |
| markup.strike | #e6ba7e | β |
| text.html.markdown meta.dummy.line-break | #787b8099 | β |
| punctuation.definition.markdown | #787b8099 | β |
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}!`;
}