Neo Theme
Publisher: Palash MondalThemes in package: 1
A simple opinionated VS Code theme for JavaScript
A simple opinionated VS Code theme for JavaScript
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 | #2574A9 | — |
| string | #2CBA8A | — |
| constant.numeric, constant.language | #B3D6EA | — |
| constant.character, constant.other | #4CBBFF | — |
| variable | #effbff | — |
| variable.language.this | #FCBA78 | — |
| variable.other.readwrite, variable.other.object, variable.object.property | #B3D6EA | — |
| variable.other.property, support.variable.property | #E3D7A6 | — |
| variable.other.object.property | #B0DFE5 | — |
| storage | #ffffff | |
| storage.type, keyword, support.class.console, variable.language.super, storage.modifier | #638BB3 | — |
| entity.name.class | #95CC5E | — |
| entity.other.inherited-class | #89C4F4FF | italic |
| entity.name.function, entity.name.type.class, keyword.control.flow, support.function.console | #0FC3FF | — |
| variable.parameter | #B3D6EA | italic |
| entity.name.tag | #0FC3FF | |
| entity.other.attribute-name | #7a9bc2 | |
| support.function | #00BFFF | — |
| support.constant | #00BFFF | |
| support.type, support.class | #00BFFF | italic |
| support.other.variable | — | |
| invalid | #F8F8F0 | |
| invalid.deprecated | #F8F8F0 | — |
| source.json support.type | #0FC3FF | — |
| source.json string.quoted.double.json, source.json constant.language, source.json constant.numeric | #B3D6EA | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #00A8C6 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #E6DB74 | — |
| constant.numeric.line-number.find-in-files - match | #8FBE00A0 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| entity.name.tag.css, entity.name.tag.stylus, entity.name.tag.scss, entity.name.tag.sass | #EFB39A | — |
| meta.selector.css entity.other.attribute-name.id, source.sass entity.other.attribute-name.id, source.scss entity.other.attribute-name.id, source.css.scss entity.other.attribute-name.id | #56c5c0 | — |
| meta.selector.css entity.other.attribute-name.class, source.scss entity.other.attribute-name.class, source.css.scss entity.other.attribute-name.class, source.sass entity.other.attribute-name.class | #f1d969 | — |
| source.css support, source.stylus support, source.scss support, source.css.scss support, source.sass support | #83BEFE | — |
| source.css support.function, source.stylus support.function, source.scss support.function, source.css.scss support.function, source.sass support.function | #7A9BC2 | — |
| source.css constant, source.css support.constant, source.css constant.other, source.stylus constant, source.stylus support.constant, source.stylus constant.other, source.scss constant, source.scss support.constant, source.scss constant.other, source.scss variable.other, source.sass constant, source.sass support.constant, source.sass constant.other, source.sass variable.other | #B5CEA8 | — |
| source.scss variable.other, source.css.scss variable, source.css.scss variable.other, source.css.scss meta.at-rule variable, source.sass variable.other, keyword.other.unit.scss, keyword.other.unit.sass | #EFB39A | — |
| source.css meta.at-rule keyword, source.stylus meta.at-rule keyword, source.scss meta.at-rule keyword, source.css.scss meta.at-rule keyword, source.sass meta.at-rule keyword, source.sass keyword.control.at-rule | #F1D969 | — |
| source.css meta.at-rule variable, source.css.sass meta.at-rule variable | #f1d969 | — |
| source.css keyword.other.unit, source.css constant.numeric, source.stylus keyword.other.unit, source.stylus constant.numeric, source.scss keyword.other.unit, source.scss constant.numeric, source.css.scss keyword.other.unit, source.css.scss constant.numeric, source.sass keyword.other.unit, source.sass constant.numeric | #7A9BC2 | — |
| meta.preprocessor.at-rule keyword.control.at-rule | #F6AA11 | — |
| meta.property-value support.constant.named-color.css, meta.property-value constant | #FFAA41 | — |
| meta.constructor.argument.css | #EB939A | — |
| source.vue variable | #B3D6EA | — |
| source.vue meta.object-literal.key | #E3D7A6 | — |
| source.vue meta.array.literal meta.object-literal.key | #59ABE3 | — |
| source.vue meta.array.literal meta.object-literal.key | #59ABE3 | — |
| source.vue support.variable.property | #E3D7A6 | — |
| source.vue text.html.vue-html | #AEA7E2 | — |
| text.html.basic | #AEA7E2 | — |
| text.html.basic punctuation.definition.tag, text.html.basic meta.tag.inline.any | #0FC3FF | — |
| text.html.basic meta.tag.sgml.doctype | #F9CF2 | — |
| entity.name.section.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #0FC3FF | bold |
| punctuation.definition.heading.markdown, markup.quote.markdown, beginning.punctuation.definition.list.markdown | #0FC3FF | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #81CFE0 | — |
| meta.paragraph.markdown | #9FDAFF | — |
| markup.quote.markdown meta.paragraph.markdown | #0FC3FF | italic |
| markup.bold.markdown | #0FC3FF | bold |
| markup.italic.markdown | — | italic |
| source.ini | #B3D6EA | — |
| source.ini entity | #0FC3FF | bold |
| source.ini keyword | #0FC3FF | — |
| source.ini punctuation.separator | #B3D6EA | — |
| string.template meta.template.expression | #0FC3FF | — |
| support.variable.property.dom | #E3D7A6 | — |
| meta.brace, punctuation.definition.arguments, punctuation.definition.array, punctuation.definition.begin.bracket, punctuation.definition.binding-pattern, punctuation.definition.block, punctuation.definition.bracket, punctuation.definition.dict, punctuation.definition.dictionary, punctuation.definition.end.bracket, punctuation.definition.generic, punctuation.definition.list, punctuation.definition.parameters, punctuation.definition.string, punctuation.definition.tag, punctuation.other.comma, punctuation.other.period, punctuation.section, punctuation.separator, punctuation.support, punctuation.terminator, source.vue meta.tag.other.html, string.template punctuation.accessor | #5C97BF | — |
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}!`;
}