Adonis Theme
Publisher: Saeed NazariThemes in package: 18
A beautiful yet easy on the eyes theme for developers with 18 variants
A beautiful yet easy on the eyes theme for developers with 18 variants
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.embedded, source.groovy.embedded | #CCCCCC | — |
| emphasis | — | italic |
| strong | — | bold |
| comment | #788494 | — |
| constant.language | #EE96D7 | — |
| constant.numeric, keyword.operator.plus.exponent, keyword.operator.minus.exponent, entity.other.keyframe-offset.percentage.css | #EE96D7 | — |
| keyword.other.unit | #EE96D7 | — |
| constant.regexp | #84ACFC | — |
| entity.name.tag | #FF7A90 | — |
| entity.other.attribute-name | #85DAFB | — |
| entity.other.attribute-name.html, entity.other.attribute-name.id.html | — | italic |
| meta.attribute.href.html string | — | — |
| entity.name.tag.css | #FF7A90 | — |
| entity.other.attribute-name.parent-selector.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss | #EE96D7 | — |
| entity.other.attribute-name.class.mixin.css | #9DD274 | — |
| entity.other.attribute-name.id.css, meta.attribute.id.html string, meta.attribute-with-value.id.html, meta.toc-list.id.html, meta.attribute-with-value.id.html punctuation.definition.string | #F3A56A | — |
| entity.other.attribute-name.class.css, meta.attribute.class.html string | #9DD274 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.name.tag.custom.css | #85DAFB | — |
| keyword.other.important.css, keyword.other.default.scss, keyword.other.important.scss | #BB9CF7 | — |
| Invalid | #fa6780 | — |
| markup.underline, markup.underline.link.markdown | #85DAFB | |
| string.other.link.title.markdown, string.other.link.description.markdown, constant.other.reference.link.markdown | #BB9CF7 | — |
| markup.bold | #FF7A90 | bold |
| markup.italic | #F3A56A | italic |
| markup.bold.markdown markup.italic.markdown | #F3A56A | italic bold |
| heading.1.markdown | #37e2b2 | bold |
| markup.heading | #9DD274 | bold |
| markup.inserted | #EE96D7 | — |
| markup.deleted | #EDCB66 | — |
| markup.changed | #BB9CF7 | — |
| punctuation.definition.quote.begin.markdown, markup.quote.markdown | #89ADD0 | italic |
| punctuation.definition.list.begin.markdown | #85DAFB | — |
| markup.inline.raw | #EDCB66 | — |
| fenced_code.block.language.markdown, fenced_code.block.language | #EE96D7 | bold italic |
| markup.fenced_code.block.markdown | #cccccc | — |
| punctuation.definition.tag | #95A4B7 | — |
| punctuation.parenthesis, punctuation.accessor, punctuation.definition.interpolation, punctuation.separator.key-value, punctuation.section.parens, punctuation.definition.parameters, punctuation.definition.block, meta.brace.round, meta.brace.square, punctuation.separator.comma, punctuation.terminator.statement, punctuation.definition.bracket, punctuation.definition.begin.bracket, punctuation.definition.end.bracket, punctuation.other.comma, punctuation.separator, punctuation.bracket.round, punctuation.brackets, punctuation.section, punctuation.definition.arguments, punctuation.definition.list, punctuation.semi, punctuation.definition.attribute, text.html.vue-html meta.tag.block.any.html | #b0b0b0 | — |
| entity.name.function.preprocessor, entity.name.function.macro | #33C89F | — |
| keyword.preprocessor, meta.preprocessor punctuation.separator.hash, keyword.control.directive | #84ACFC | — |
| entity.other.attribute-name.pragma | #CCCCCC | — |
| meta.preprocessor.string | #EDCB66 | — |
| meta.preprocessor.numeric | #EE96D7 | — |
| meta.structure.dictionary.key.python | #CCCCCC | — |
| meta.diff.header | #BB9CF7 | — |
| storage | #BB9CF7 | — |
| storage.type | #BB9CF7 | — |
| storage.modifier, keyword.operator.noexcept | #BB9CF7 | — |
| string, meta.embedded.assembly | #EDCB66 | — |
| string.tag | #EDCB66 | — |
| string.value | #EDCB66 | — |
| string.regexp | #F3A56A | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #BB9CF7 | — |
| meta.template.expression | #CCCCCC | — |
| support.type.vendored.property-name, support.type.property-name, source.coffee.embedded | #aebbcc | — |
| variable.argument.css, variable.css, variable.scss, variable.other.less | #cccccc | — |
| keyword | #BB9CF7 | — |
| keyword.operator | #FF7A90 | — |
| keyword.operator.assignment | — | — |
| variable.other.constant, variable.other.enummember, support.constant, constant.other | #84ACFC | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #BB9CF7 | — |
| punctuation.definition.arrow.php, storage.type.function.arrow | #FF7A90 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #BB9CF7 | — |
| support.function.git-rebase | #CCCCCC | — |
| constant.sha.git-rebase | #EE96D7 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #CCCCCC | — |
| variable.language, variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #BB9CF7 | — |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal, meta.function-call.generic | #9DD274 | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #85DAFB | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #85DAFB | — |
| support.class.component | #33C89F | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator | #FF7A90 | — |
| keyword.control.at-rule.media | #BB9CF7 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder | #cccccc | — |
| support.variable.magic.python | #33C89F | — |
| variable.parameter, entity.name.variable.parameter | #F3A56A | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #EDCB66 | — |
| — | — | |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #CCCCCC | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #F3A56A | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #FF7A90 | — |
| keyword.operator.quantifier.regexp | #9DD274 | — |
| constant.character | #BB9CF7 | — |
| constant.character.escape | #9DD274 | — |
| entity.name.label | #CCCCCC | — |
| variable.other.object.property, meta.object-literal.key, variable.other.property | #B5C9ED | — |
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}!`;
}