NestJS Color Theme
Publisher: goodbyteThemes in package: 2
NestJS Color Theme
NestJS Color Theme
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 |
|---|---|---|
| meta.brace, punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.tag, punctuation.section, punctuation.separator, punctuation.terminator | #B4B4B4 | — |
| markup.changed, markup.heading, markup.underline.link, meta.diff.header, punctuation.definition.list.begin.markdown, punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, entity.name.tag.html, text.xml entity.name.tag | #4FC1FF | — |
| entity.other.attribute-name.class, entity.other.attribute-name.id | #FFE7BD | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #FFF3DE | — |
| keyword.control.at-rule, keyword.operator.logical.and.media, keyword.operator.logical.not.media, keyword.operator.logical.only.media | #C899FF | — |
| markup.inline.raw, meta.preprocessor.string, string, string.regexp constant, string.regexp constant.other, string.regexp keyword, string.regexp keyword.operator, string.regexp punctuation.definition | #FFC093 | — |
| entity.name.tag, entity.other.keyframe-offset, cast.expr meta.brace.angle, punctuation.definition.typeparameters, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.bitwise, keyword.operator.comparison, keyword.operator.decrement, keyword.operator.increment, keyword.operator.logical, keyword.operator.optional, keyword.operator.relational, keyword.operator.rest, keyword.operator.spread, keyword.operator.ternary, keyword.operator.type, storage.type.function.arrow, punctuation.definition.template-expression, variable.other.object.property, variable.other.object, entity.name.function, punctuation.decorator, support.function | #FFDA98 | — |
| markup.inserted, meta.preprocessor.numeric, punctuation.definition.quote.begin.markdown, constant, storage.type.numeric | #A1F7B5 | — |
| meta.embedded, constant.numeric.css, keyword.other.unit, meta.property-value constant.other, meta.definition.function entity.name.function, meta.definition.variable entity.name.function, meta.type.annotation storage.type.function.arrow, meta.parameters entity.name.function, meta.parameters variable.language, variable.parameters, keyword.operator | #F7F7F7 | — |
| support.constant.media, support.type.property-name, support.type.vendored.property-name, entity.other.attribute-name, meta.definition.variable variable.scss, keyword, keyword.operator.expression, keyword.operator.new, storage, support.type.object.module, variable.language | #93D7F1 | — |
| meta.brace, punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.tag, punctuation.section, punctuation.separator, punctuation.terminator | #B4B4B4 | — |
| markup.changed, markup.heading, markup.underline.link, meta.diff.header, punctuation.definition.list.begin.markdown, punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, entity.name.tag.html, text.xml entity.name.tag | #4FC1FF | — |
| entity.other.attribute-name.class, entity.other.attribute-name.id | #FFE7BD | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #FFF3DE | — |
| keyword.control.at-rule, keyword.operator.logical.and.media, keyword.operator.logical.not.media, keyword.operator.logical.only.media | #C899FF | — |
| markup.inline.raw, meta.preprocessor.string, string, string.regexp constant, string.regexp constant.other, string.regexp keyword, string.regexp keyword.operator, string.regexp punctuation.definition | #FFC093 | — |
| entity.name.tag, entity.other.keyframe-offset, cast.expr meta.brace.angle, punctuation.definition.typeparameters, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.bitwise, keyword.operator.comparison, keyword.operator.decrement, keyword.operator.increment, keyword.operator.logical, keyword.operator.optional, keyword.operator.relational, keyword.operator.rest, keyword.operator.spread, keyword.operator.ternary, keyword.operator.type, storage.type.function.arrow, punctuation.definition.template-expression, variable.other.object.property, variable.other.object, entity.name.function, punctuation.decorator, support.function | #FFDA98 | — |
| markup.inserted, meta.preprocessor.numeric, punctuation.definition.quote.begin.markdown, constant, storage.type.numeric | #A1F7B5 | — |
| meta.embedded, constant.numeric.css, keyword.other.unit, meta.property-value constant.other, meta.definition.function entity.name.function, meta.definition.variable entity.name.function, meta.type.annotation storage.type.function.arrow, meta.parameters entity.name.function, meta.parameters variable.language, variable.parameters, keyword.operator | #F7F7F7 | — |
| support.constant.media, support.type.property-name, support.type.vendored.property-name, entity.other.attribute-name, meta.definition.variable variable.scss, keyword, keyword.operator.expression, keyword.operator.new, storage, support.type.object.module, variable.language | #93D7F1 | — |
| emphasis, markup.italic | — | italic |
| header | #000080 | — |
| comment | #898989 | — |
| invalid | #F44747 | — |
| markup.underline | — | underline |
| strong, markup.bold, markup.heading | — | bold |
| markup.strikethrough | — | strikethrough |
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}!`;
}