Dynamics NAV C/Side Theme
Publisher: Márton SágiThemes in package: 1
A VSCode color theme inspired by Microsoft Dynamics NAV C/Side Editor
A VSCode color theme inspired by Microsoft Dynamics NAV C/Side Editor
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 |
|---|---|---|
| — | #24292eff | — |
| emphasis | — | italic |
| strong, markup.heading.markdown, markup.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
| meta.link.inline.markdown | #005cc5 | underline |
| markup.fenced_code, markup.inline | #6a737d | — |
| string | #032f62 | — |
| constant.numeric, constant.language, variable.language.this, variable.other.class, variable.other.constant, meta.property-name, meta.property-value, support | #005cc5 | — |
| keyword, storage.modifier, storage.type, support.function.node, support.type.property-name.json, punctuation.separator.key-value, punctuation.definition.template-expression | #d73a49 | — |
| variable.parameter.function | #E27F2D | — |
| keyword.operator.accessor, meta.group.braces.round.function.arguments, meta.template.expression | #24292eff | — |
| entity.name.type, entity.other.inherited-class, meta.function-call, meta.instance.constructor, entity.other.attribute-name, entity.name.function | #6f42c1 | — |
| entity.name.tag, string.quoted, string.regexp, string.interpolated, string.template, keyword.other.template | #22863a | — |
| token.info-token | #316bcd | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #cd3131 | — |
| token.debug-token | #800080 | — |
| string.quoted.single.al, string.quoted.single.al.restored, constant.datetime.al | #dd0000 | — |
| keyword.control.al, keyword.operators.al, keyword.operators.property.al, keyword.operators.assigment.al, keyword.operators.comparison.al, keyword.operators.math.al, keyword.other.applicationobject.al, keyword.other.metadata.al, keyword.other.property.al, keyword.other.builtintypes.al, entity.name.type.al, constant.boolean.al | #0000FF | — |
| entity.name.trigger.al, entity.trigger.call1.al | #000080 | bold |
| constant.boolean.al | — | italic |
| constant.numeric.al | #FF00FF | — |
| comment, comment.line.al.restored | #008000 | — |
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}!`;
}