EVO Theme
Publisher: linking2014Themes in package: 1
A light, neat and vivild color theme for VScode.
A light, neat and vivild color theme for VScode.
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #000000 | — |
| comment, punctuation.definition.comment | #9AAABA | normal |
| comment.block.preprocessor | #9AAABA | |
| comment.documentation, comment.block.documentation, storage.type.class.jsdoc, entity.name.type.instance.jsdoc, variable.other.jsdoc | #9AAABA | — |
| invalid.deprecated | — | — |
| invalid.illegal | #660000 | — |
| keyword.operator | #000000 | — |
| keyword, storage | #2222DD | — |
| storage.type, support.type | #2222DD | — |
| constant.language, support.constant, variable.language | #008800 | — |
| variable | #008800 | — |
| support.variable | #008800 | underline |
| variable.parameter | #008800 | underline |
| variable.language.this.js | #2222DD | underline |
| entity.name.function | #DD1133 | — |
| support.function | #DD1133 | underline |
| entity.name.type, entity.other.inherited-class, support.class | #2222DD | bold |
| entity.name.exception | #660000 | — |
| entity.name.section | — | bold |
| constant.numeric, constant.character, constant | #DD1133 | — |
| punctuation | #000000 | — |
| punctuation.definition.string | #DD1133 | — |
| string | #DD1133 | — |
| constant.character.escape | #DD1133 | — |
| string.regexp | #9900BB | — |
| constant.other.symbol | #AB6526 | — |
| string source, text source | — | — |
| ----------------------------------- | — | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html | #9AAABA | — |
| meta.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #2222DD | — |
| entity.name.tag | #2222DD | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #008800 | normal |
| constant.character.entity, punctuation.definition.entity | #2222DD | — |
| meta.tag.any.html, meta.tag.block.any.html, meta.tag.other.html, meta.tag.inline.any.html, attribute_value, meta.tag.other | #008800 | normal |
| entity.other.attribute-name.class.jade, constant.name.attribute.tag.jade | #2222DD | normal |
| meta.tag.xml, meta.tag.preprocessor.xml | #008800 | normal |
| keyword.other.doctype.xml, variable.language.documentroot.xml, punctuation.definition.tag.xml | #9AAABA | normal |
| ----------------------------------- | — | — |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css | #2222DD | — |
| meta.property-name, support.type.property-name | #008800 | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #DD1133 | — |
| keyword.other | #DD1133 | — |
| keyword.other.important | #DD1133 | bold |
| support.type.vendored.property-name.css | #008800 | italic |
| keyword.operator.pattern.css | #000000 | — |
| keyword.operator.pattern.css | #000000 | — |
| meta.property-list.scss, entity.other.attribute-name.class.css, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #2222DD | — |
| ----------------------------------- | — | — |
| constant.numeric.decimal.js, constant.language.boolean.true.js, constant.language.boolean.false.js, constant.language.json | #9900BB | — |
| constant.language.undefined.js, constant.language.null.js | #9900BB | bold |
| string.quoted.single.js, string.quoted.double.js | #9900BB | — |
| punctuation.definition.string.begin.js, punctuation.definition.string.end.js | #9900BB | — |
| meta.object-literal.key.js | #008800 | — |
| keyword.operator.expression.in.js, keyword.operator.new.js, keyword.operator.expression.instanceof.js, keyword.operator.expression.typeof.js, keyword.operator.expression.delete.js | #2222DD | — |
| ----------------------------------- | — | — |
| punctuation.definition.heading.markdown, beginning.punctuation.definition.list.markdown, meta.separator.markdown, punctuation.definition.metadata.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown | #607080 | — |
| punctuation.definition.bold.markdown | #008800 | — |
| string.other.link.title.markdown | #2222DD | — |
| ----------------------------------- | — | — |
| markup.changed | #000000 | — |
| markup.deleted | #000000 | — |
| markup.italic | — | italic |
| markup.error | #660000 | — |
| markup.inserted | #000000 | — |
| meta.link | #2222DD | — |
| markup.output, markup.raw | #777777 | — |
| markup.prompt | #777777 | — |
| markup.heading | #333333 | — |
| markup.bold | #008800 | bold |
| markup.traceback | #660000 | — |
| markup.underline | — | underline |
| markup.quote | #9900BB | — |
| markup.list | #333333 | — |
| markup.italic | #9900BB | — |
| markup.inline.raw | #DD1133 | |
| ----------------------------------- | — | — |
| meta.diff.range, meta.diff.index, meta.separator | #434343 | — |
| meta.diff.header.from-file | #434343 | — |
| meta.diff.header.to-file | #434343 | — |
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}!`;
}