Academie Syntax
Publisher: Ricardo MarinovicThemes in package: 1
Syntax with context representation, easy on the eyes. Based on Wombat for osx terminal colors and one dark atom theme.
Syntax with context representation, easy on the eyes. Based on Wombat for osx terminal colors and one dark atom 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 |
|---|---|---|
| comment, punctuation.definition.comment | #828997 | italic |
| comment.documentation, meta.attribute.rust, string.quoted.docstring.multi.python, meta.function.decorator.python, entity.name.function.decorator.python, comment.line.documentation.rust, comment.block.documentation.rust | #81a1c1 | — |
| keyword, storage.modifier, storage.type | #FFFFFF | — |
| variable.other.constant, entity.name.type, support.class, support.type, support.constant.core.rust, storage.class.std.rust, support.class.builtin.js, support.constant.math.js, entity.name.type.js, variable.other.readwrite.alias.js, entity.other.inherited-class.js, string.quoted.double.include.c, string.quoted.other.lt-gt.include.c, constant.other.elm | #D18EC2 | — |
| support.function, entity.name.function, variable.other.anonymous, punctuation.definition.parameters, entity.name.function.js, punctuation.accessor.js, meta.brace.round.js, meta.function-call.generic.python, punctuation.definition.arguments, entity.name.function.c | #83afe5 | — |
| variable.parameter.function.ruby, variable.other.readwrite.js, variable.parameter.js | #d8dee9 | — |
| keyword.other.special-method, keyword.other.unsafe.rust, keyword.control.pseudo-method, support.function.log.rust, support.type.python, support.type.exception.python | #DF8C8C | — |
| constant.other.symbol, constant.language.symbol, variable.other.readwrite, storage.modifier.lifetime.rust, storage.modifier.static.rust, meta.object-literal.key.js, storage.type.core.rust, meta.type_params.rust, support.constant.elm, support.variable.property.js, variable.other.object.property.js, variable.other.property.js, support.variable.property.dom.js, storage.type.c | #88C0D0 | — |
| constant.language, variable.language, support.constant.core.rust, variable.other.object.ruby, support.variable.magic.python, variable.parameter.function.language.special.self.python | #9A93E1 | — |
| string, punctuation.definition.string.begin, punctuation.definition.string.end | #A8CE93 | — |
| support.function.variable.quoted.single.elixir, string.quoted.single.ruby | #ddf88f | — |
| constant.character.escape, punctuation.section.embedded, punctuation.definition.template-expression | #DF8C8C | — |
| source.elixir.embedded, meta.embedded | #d8dee9 | — |
| string.regexp, punctuation.section.regexp | #ddf88f | — |
| constant.numeric | #d8a13b | — |
| keyword.operator, punctuation.definition.variable, punctuation.separator.key-value, punctuation.separator.variable.ruby | #EBCB8B | — |
| punctuation | #FFFFFF | — |
| entity.name.tag, support.type.property-name, support.type.property-name.css | #D18EC2 | — |
| entity.other.attribute-name, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.name.tag.css, support.type.property-name.json | #EBCB8B | — |
| string.quoted.double.html, string.quoted.double.json | #A8CE93 | — |
| punctuation.definition.tag | #88C0D0 | — |
| entity.name.tag.structure | #d8dee9 | — |
| support.type.property-value, meta.property-value | #83AFE5 | — |
| keyword.other.unit | #DF8C8C | — |
| support.class.component.js | — | italic bold |
| markup.heading | #88C0D0 | bold |
| markup.italic | #88c0d0 | italic |
| markup.bold | #88c0d0 | bold |
| string.other.link.title | #83AFE5 | bold |
| markup.underline.link, constant.other.reference.link | #D18EC2 | underline |
| beginning.punctuation.definition.list, punctuation.definition.heading.markdown, punctuation.definition.italic.markdown, punctuation.definition.bold.markdown, punctuation.definition.metadata.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown | #5E81AC | — |
| markup.inline.raw, markup.raw, markup.quote, markup.fenced_code.block, punctuation.definition.raw.markdown | #A8CE93 | — |
| invalid | #ff615a | — |
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}!`;
}