Arkademy - Odoo Technical Training
Publisher: ArkademyThemes in package: 4
Odoo Learning Process made easier
Odoo Learning Process made easier
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.unused.elixir | #383a42 | — |
| comment, punctuation.definition.comment, string.comment, comment.block.documentation, comment.block.documentation variable, comment.block.documentation punctuation.definition, keyword.other.documentation, storage.type.class.jsdoc, comment.block, comment.block variable.parameter, keyword.other.phpdoc, comment.block.documentation entity.name.type | #a0a1a7 | — |
| punctuation.comma.graphql, punctuation.definition.variable, punctuation.definition.parameters, punctuation.definition.array, punctuation.definition.function, punctuation.brace, punctuation.terminator.statement, punctuation.delimiter.object.comma, punctuation.definition.entity, punctuation.definition, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.separator.key-value, punctuation.separator.dictionary, punctuation.terminator, punctuation.delimiter.comma, punctuation.separator.comma, punctuation.accessor, punctuation.separator.array, punctuation.section, punctuation.section.property-list.begin.bracket.curly, punctuation.section.property-list.end.bracket.curly, punctuation.separator.statement, punctuation.separator.parameter, punctuation.section.array.elixir, punctuation.separator.object.elixir, punctuation.section.embedded.elixir, punctuation.section.function.elixir, punctuation.section.scope.elixir, punctuation.section.embedded, meta.brace.round, meta.brace.square, meta.brace.curly, constant.name.attribute.tag.pug, punctuation.section.embedded, punctuation.separator.method, punctuation.separator, punctuation.other.comma, punctuation.bracket, keyword.control.ternary, string.interpolated.pug, support.function.interpolation.sass, punctuation.parenthesis.begin, punctuation.parenthesis.end, punctuation.operation.graphql, punctuation.colon.graphq | #7a82da | — |
| none | #383a42 | — |
| keyword.operator | #7a82da | — |
| keyword, keyword.operator.expression, variable.language, keyword.other.special-method.elixir, meta.control.flow | #0098dd | — |
| variable, source.elixir.embedded.source, string source.groovy, string meta.embedded.line.ruby | #383a42 | — |
| entity.name.function, meta.require, support.function.any-method, meta.function-call, meta.method-call, variable.function | #23974a | — |
| support.class, entity.name.class, entity.name.type.class, meta.class.instance, meta.class.inheritance, entity.other.inherited-class, entity.name.type, variable.other.constant.elixir, storage.type.haskell, support.type.graphql, support.type.enum.graphql | #d52753 | — |
| keyword.other.special-method | #23974a | — |
| storage, constant.language | #0098dd | — |
| support.function | #23974a | — |
| string, punctuation.definition.string,support.constant.property-value, string.quoted.double.shell, support.function.variable.quoted.single.elixir, storage.type.string | #c5a332 | — |
| constant.numeric, variable.other.anonymous.elixir | #ce33c0 | — |
| none | #ce33c0 | — |
| none | #0098dd | — |
| constant, variable.other.constant, constant.other.symbol, constant.language.symbol, support.constant, support.variable.magic.python | #823ff1 | — |
| entity.name.tag, punctuation.definition.tag | #275fe4 | — |
| entity.other.attribute-name, string.unquoted.alias.graphql | #df631c | — |
| meta.selector | #7a82da | — |
| none | #ce33c0 | — |
| markup.heading, punctuation.definition.heading, entity.name.section, markup.heading.setext | #c5a332 | |
| keyword.other.unit | #c5a332 | — |
| markup.bold, punctuation.definition.bold | #d52753 | bold |
| markup.italic, punctuation.definition.italic | #df631c | — |
| markup.raw.inline | #c5a332 | — |
| string.other.link | #275fe4 | — |
| meta.link | #0098dd | — |
| beginning.punctuation.definition.list | #a05a48 | — |
| markup.quote | #823ff1 | — |
| meta.separator | #383a42 | — |
| markup.inserted | #23974a | — |
| markup.deleted | #d52753 | — |
| markup.changed | #0098dd | — |
| string.regexp | #a05a48 | — |
| constant.character.escape, constant.other.character-class | #df631c | — |
| variable.interpolation | #0098dd | — |
| invalid | #ff0000 | — |
| keyword.operator.new | #0098dd | — |
| entity.other.attribute-name.id | #d52753 | — |
| meta.function-call.arguments | #383a42 | — |
| meta.object-literal.key, meta.object.member, variable.other.property, variable.other.object.property, support.variable.property, variable.object.property, support.type.property-name, meta.property-name, entity.name.tag.yaml, constant.other.key, constant.other.object.key.js, string.unquoted.label.js, support.type.map.key, variable.graphql | #a05a48 | — |
| markup.inline.raw, markup.fenced_code.block, markup.raw.block | #a05a48 | — |
| markup.underline.link.image | #23974a | — |
| variable.parameter, parameter.variable.function.elixir, variable.other.block.ruby | #40B8C5 | — |
| support.type.primitive, support.type.builtin | #0098dd | — |
| string.interpolated.dollar.shell | #d52753 | — |
| string.other.math.shell | #275fe4 | — |
| punctuation.definition.string.begin.shell, punctuation.definition.string.end.shell | #7a82da | — |
| comment.rainbow4 | #a05a48 | — |
| markup.bold.rainbow9 | #823ff1 | |
| invalid.rainbow10 | #df631c | — |
| token.info-token | #316bcd | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #cd3131 | — |
| token.debug-token | #800080 | — |
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}!`;
}