NgBracket IDE Themes
Calm, brand-tied VS Code themes for Angular & TypeScript developers — five accents (Aurora, Nebula, Boreal, Solstice, Cosmos) in dark & light, italic & non-italic. Shares the NgBracket components' palette.
Calm, brand-tied VS Code themes for Angular & TypeScript developers — five accents (Aurora, Nebula, Boreal, Solstice, Cosmos) in dark & light, italic & non-italic. Shares the NgBracket components' palette.
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, string.comment | #8e9194 | |
| comment.block.documentation keyword, storage.type.class.jsdoc | #a78bfa | |
| string, punctuation.definition.string, string.template, string.quoted | #83c98d | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #a78bfa | — |
| string.regexp, constant.other.character-class.regexp | #83c98d | — |
| constant.numeric, constant.numeric.decimal | #e8a06a | — |
| constant.language, constant.character, constant.other, variable.other.constant, support.constant | #e8a06a | — |
| constant.language.boolean, constant.language.null, constant.language.undefined | #e8a06a | — |
| keyword, keyword.other, keyword.operator.new, keyword.operator.expression | #a78bfa | |
| keyword.control, keyword.control.flow, keyword.control.import, keyword.control.from | #a78bfa | |
| keyword.operator, punctuation.separator.operator | #a8adb2 | — |
| storage.type, storage.type.function, storage.type.class | #a78bfa | |
| storage.modifier, storage.modifier.async, storage.modifier.tsx | #a78bfa | |
| support.type.primitive, support.type.builtin | #82b1ff | |
| entity.name.function, support.function, meta.function-call.generic, variable.function | #56cee0 | — |
| meta.method-call entity.name.function, entity.name.method | #56cee0 | — |
| entity.name.type, entity.name.class, entity.other.inherited-class, support.class, support.type | #82b1ff | — |
| entity.name.type.interface, entity.name.type.enum, entity.name.type.module | #82b1ff | — |
| entity.name.type.parameter, meta.type.parameters | #82b1ff | — |
| entity.name.namespace, entity.name.type.namespace | #82b1ff | — |
| variable, variable.other.readwrite, meta.definition.variable | #c4c7c9 | — |
| variable.parameter, variable.parameter.function | #c4c7c9 | |
| variable.language, variable.language.this, variable.language.super | #a78bfa | |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.variable.property | #c4c7c9 | — |
| meta.object-literal.key string, support.type.property-name | #c4c7c9 | — |
| meta.decorator, entity.name.function.decorator, punctuation.decorator, meta.decorator punctuation.decorator, tag.decorator | #82b1ff | |
| entity.name.tag, punctuation.definition.tag, meta.tag | #a78bfa | — |
| entity.other.attribute-name, entity.other.attribute-name.html | #e8a06a | |
| entity.other.attribute-name.class.angular, meta.attribute.angular, entity.other.attribute-name.directive | #f472b6 | — |
| punctuation.definition.block.ts, meta.embedded.expression | #a8adb2 | — |
| support.type.property-name.css, support.type.property-name.scss | #c4c7c9 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #82b1ff | — |
| constant.numeric.css, keyword.other.unit | #e8a06a | — |
| keyword.control.at-rule, punctuation.definition.keyword.css | #a78bfa | — |
| support.type.property-name.json | #c4c7c9 | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #56cee0 | bold |
| markup.bold | #e8a06a | bold |
| markup.italic | #a78bfa | |
| markup.underline.link, string.other.link.title.markdown | #82b1ff | underline |
| markup.inline.raw, markup.fenced_code.block | #83c98d | — |
| markup.quote | #8e9194 | |
| punctuation.definition.list.begin.markdown | #f472b6 | — |
| punctuation, meta.brace, punctuation.separator, punctuation.terminator, punctuation.definition.parameters | #6f7377 | — |
| invalid, invalid.illegal | #ffb4ab | — |
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, string.comment | #8e9194 | italic |
| comment.block.documentation keyword, storage.type.class.jsdoc | #a78bfa | italic |
| string, punctuation.definition.string, string.template, string.quoted | #83c98d | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #a78bfa | — |
| string.regexp, constant.other.character-class.regexp | #83c98d | — |
| constant.numeric, constant.numeric.decimal | #e8a06a | — |
| constant.language, constant.character, constant.other, variable.other.constant, support.constant | #e8a06a | — |
| constant.language.boolean, constant.language.null, constant.language.undefined | #e8a06a | — |
| keyword, keyword.other, keyword.operator.new, keyword.operator.expression | #a78bfa | italic |
| keyword.control, keyword.control.flow, keyword.control.import, keyword.control.from | #a78bfa | italic |
| keyword.operator, punctuation.separator.operator | #a8adb2 | — |
| storage.type, storage.type.function, storage.type.class | #a78bfa | italic |
| storage.modifier, storage.modifier.async, storage.modifier.tsx | #a78bfa | italic |
| support.type.primitive, support.type.builtin | #82b1ff | italic |
| entity.name.function, support.function, meta.function-call.generic, variable.function | #56cee0 | — |
| meta.method-call entity.name.function, entity.name.method | #56cee0 | — |
| entity.name.type, entity.name.class, entity.other.inherited-class, support.class, support.type | #82b1ff | — |
| entity.name.type.interface, entity.name.type.enum, entity.name.type.module | #82b1ff | — |
| entity.name.type.parameter, meta.type.parameters | #82b1ff | — |
| entity.name.namespace, entity.name.type.namespace | #82b1ff | — |
| variable, variable.other.readwrite, meta.definition.variable | #c4c7c9 | — |
| variable.parameter, variable.parameter.function | #c4c7c9 | italic |
| variable.language, variable.language.this, variable.language.super | #a78bfa | italic |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.variable.property | #c4c7c9 | — |
| meta.object-literal.key string, support.type.property-name | #c4c7c9 | — |
| meta.decorator, entity.name.function.decorator, punctuation.decorator, meta.decorator punctuation.decorator, tag.decorator | #82b1ff | italic |
| entity.name.tag, punctuation.definition.tag, meta.tag | #a78bfa | — |
| entity.other.attribute-name, entity.other.attribute-name.html | #e8a06a | italic |
| entity.other.attribute-name.class.angular, meta.attribute.angular, entity.other.attribute-name.directive | #f472b6 | — |
| punctuation.definition.block.ts, meta.embedded.expression | #a8adb2 | — |
| support.type.property-name.css, support.type.property-name.scss | #c4c7c9 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #82b1ff | — |
| constant.numeric.css, keyword.other.unit | #e8a06a | — |
| keyword.control.at-rule, punctuation.definition.keyword.css | #a78bfa | — |
| support.type.property-name.json | #c4c7c9 | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #56cee0 | bold |
| markup.bold | #e8a06a | bold |
| markup.italic | #a78bfa | italic |
| markup.underline.link, string.other.link.title.markdown | #82b1ff | underline |
| markup.inline.raw, markup.fenced_code.block | #83c98d | — |
| markup.quote | #8e9194 | italic |
| punctuation.definition.list.begin.markdown | #f472b6 | — |
| punctuation, meta.brace, punctuation.separator, punctuation.terminator, punctuation.definition.parameters | #6f7377 | — |
| invalid, invalid.illegal | #ffb4ab | — |
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, string.comment | #64748b | |
| comment.block.documentation keyword, storage.type.class.jsdoc | #7c3aed | |
| string, punctuation.definition.string, string.template, string.quoted | #16a34a | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #7c3aed | — |
| string.regexp, constant.other.character-class.regexp | #16a34a | — |
| constant.numeric, constant.numeric.decimal | #ea580c | — |
| constant.language, constant.character, constant.other, variable.other.constant, support.constant | #ea580c | — |
| constant.language.boolean, constant.language.null, constant.language.undefined | #ea580c | — |
| keyword, keyword.other, keyword.operator.new, keyword.operator.expression | #7c3aed | |
| keyword.control, keyword.control.flow, keyword.control.import, keyword.control.from | #7c3aed | |
| keyword.operator, punctuation.separator.operator | #475569 | — |
| storage.type, storage.type.function, storage.type.class | #7c3aed | |
| storage.modifier, storage.modifier.async, storage.modifier.tsx | #7c3aed | |
| support.type.primitive, support.type.builtin | #2563eb | |
| entity.name.function, support.function, meta.function-call.generic, variable.function | #0e7490 | — |
| meta.method-call entity.name.function, entity.name.method | #0e7490 | — |
| entity.name.type, entity.name.class, entity.other.inherited-class, support.class, support.type | #2563eb | — |
| entity.name.type.interface, entity.name.type.enum, entity.name.type.module | #2563eb | — |
| entity.name.type.parameter, meta.type.parameters | #2563eb | — |
| entity.name.namespace, entity.name.type.namespace | #2563eb | — |
| variable, variable.other.readwrite, meta.definition.variable | #334155 | — |
| variable.parameter, variable.parameter.function | #334155 | |
| variable.language, variable.language.this, variable.language.super | #7c3aed | |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.variable.property | #334155 | — |
| meta.object-literal.key string, support.type.property-name | #334155 | — |
| meta.decorator, entity.name.function.decorator, punctuation.decorator, meta.decorator punctuation.decorator, tag.decorator | #2563eb | |
| entity.name.tag, punctuation.definition.tag, meta.tag | #7c3aed | — |
| entity.other.attribute-name, entity.other.attribute-name.html | #c2410c | |
| entity.other.attribute-name.class.angular, meta.attribute.angular, entity.other.attribute-name.directive | #db2777 | — |
| punctuation.definition.block.ts, meta.embedded.expression | #475569 | — |
| support.type.property-name.css, support.type.property-name.scss | #334155 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #2563eb | — |
| constant.numeric.css, keyword.other.unit | #ea580c | — |
| keyword.control.at-rule, punctuation.definition.keyword.css | #7c3aed | — |
| support.type.property-name.json | #334155 | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #0e7490 | bold |
| markup.bold | #ea580c | bold |
| markup.italic | #7c3aed | |
| markup.underline.link, string.other.link.title.markdown | #2563eb | underline |
| markup.inline.raw, markup.fenced_code.block | #16a34a | — |
| markup.quote | #64748b | |
| punctuation.definition.list.begin.markdown | #db2777 | — |
| punctuation, meta.brace, punctuation.separator, punctuation.terminator, punctuation.definition.parameters | #94a3b8 | — |
| invalid, invalid.illegal | #b91c1c | — |
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, string.comment | #64748b | italic |
| comment.block.documentation keyword, storage.type.class.jsdoc | #7c3aed | italic |
| string, punctuation.definition.string, string.template, string.quoted | #16a34a | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #7c3aed | — |
| string.regexp, constant.other.character-class.regexp | #16a34a | — |
| constant.numeric, constant.numeric.decimal | #ea580c | — |
| constant.language, constant.character, constant.other, variable.other.constant, support.constant | #ea580c | — |
| constant.language.boolean, constant.language.null, constant.language.undefined | #ea580c | — |
| keyword, keyword.other, keyword.operator.new, keyword.operator.expression | #7c3aed | italic |
| keyword.control, keyword.control.flow, keyword.control.import, keyword.control.from | #7c3aed | italic |
| keyword.operator, punctuation.separator.operator | #475569 | — |
| storage.type, storage.type.function, storage.type.class | #7c3aed | italic |
| storage.modifier, storage.modifier.async, storage.modifier.tsx | #7c3aed | italic |
| support.type.primitive, support.type.builtin | #2563eb | italic |
| entity.name.function, support.function, meta.function-call.generic, variable.function | #0e7490 | — |
| meta.method-call entity.name.function, entity.name.method | #0e7490 | — |
| entity.name.type, entity.name.class, entity.other.inherited-class, support.class, support.type | #2563eb | — |
| entity.name.type.interface, entity.name.type.enum, entity.name.type.module | #2563eb | — |
| entity.name.type.parameter, meta.type.parameters | #2563eb | — |
| entity.name.namespace, entity.name.type.namespace | #2563eb | — |
| variable, variable.other.readwrite, meta.definition.variable | #334155 | — |
| variable.parameter, variable.parameter.function | #334155 | italic |
| variable.language, variable.language.this, variable.language.super | #7c3aed | italic |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.variable.property | #334155 | — |
| meta.object-literal.key string, support.type.property-name | #334155 | — |
| meta.decorator, entity.name.function.decorator, punctuation.decorator, meta.decorator punctuation.decorator, tag.decorator | #2563eb | italic |
| entity.name.tag, punctuation.definition.tag, meta.tag | #7c3aed | — |
| entity.other.attribute-name, entity.other.attribute-name.html | #c2410c | italic |
| entity.other.attribute-name.class.angular, meta.attribute.angular, entity.other.attribute-name.directive | #db2777 | — |
| punctuation.definition.block.ts, meta.embedded.expression | #475569 | — |
| support.type.property-name.css, support.type.property-name.scss | #334155 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #2563eb | — |
| constant.numeric.css, keyword.other.unit | #ea580c | — |
| keyword.control.at-rule, punctuation.definition.keyword.css | #7c3aed | — |
| support.type.property-name.json | #334155 | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #0e7490 | bold |
| markup.bold | #ea580c | bold |
| markup.italic | #7c3aed | italic |
| markup.underline.link, string.other.link.title.markdown | #2563eb | underline |
| markup.inline.raw, markup.fenced_code.block | #16a34a | — |
| markup.quote | #64748b | italic |
| punctuation.definition.list.begin.markdown | #db2777 | — |
| punctuation, meta.brace, punctuation.separator, punctuation.terminator, punctuation.definition.parameters | #94a3b8 | — |
| invalid, invalid.illegal | #b91c1c | — |
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}!`;
}
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}!`;
}