Neon Theme
Publisher: geraneThemes in package: 1
Neon Theme ported from the Neon TextMate Theme
Neon Theme ported from the Neon TextMate Theme
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #FFFFFF | — |
| invalid | #FFFFFF | bold italic |
| punctuation - (punctuation.definition.string | punctuation.definition.comment) | #FFFEF7 | — |
| punctuation.definition.equals.ini | #FF07A2 | — |
| comment, punctuation.definition.comment | #7F817E | italic |
| string.quoted.double.block, string.docstring, string.quoted.single.block | #218B97 | italic |
| constant.numeric | #FF0604 | — |
| constant.language | #FF1308 | bold italic |
| constant.character.entity, punctuation.definition.constant | #FF07A0 | italic |
| support.constant | #EB939A | italic |
| support.type.exception | #F8F8F8 | — |
| keyword, storage.control.matlab | #0B93FF | — |
| keyword.other | #FF026A | — |
| keyword.operator -keyword.operator.dereference | #A7A3FF | — |
| keyword.operator.comparison | #48FFC2 | — |
| keyword.operator.assignment | #FF6106 | — |
| keyword.operator.assignment.augmented | #FFBBF4 | — |
| storage.type | #FF4101 | — |
| storage.modifier | #276AFF | — |
| variable, punctuation.definition.variable | #FF25D9 | — |
| variable.other, meta.variable.other.valid | #D285CC | — |
| variable.language, variable.parameter.function.language | #0AEDFF | italic |
| entity.other | #04FFD7 | — |
| meta.structure.dictionary meta.structure.dictionary.key, constant.other.object.key string | #A9FF98 | bold |
| meta.structure.dictionary.value | #7DC5F9 | — |
| meta.item-access.arguments | #11BD7C | — |
| meta.class.identifier, entity.name.type.class, support.class, variable.other.class, entity.name.class | #CFFF01 | — |
| entity.other.inherited-class | #80FCFF | — |
| meta.method.identifier, meta.method-call, meta.method.declaration | #13FFA3 | — |
| meta.function entity.name.function, entity.name.function.abp, meta.prototype.function.js, entity.name.function.js | #0AFF04 | — |
| meta.function-call, support.function.name, meta.function-call punctuation.definition.parameters, meta.function-call.method.without-arguments.js -meta.group.braces.round.function.arguments.js | #10FF02 | — |
| meta.function-call.arguments | #2BB71D | italic |
| variable.parameter.function | #FFF57F | italic |
| support.function | #E5A5FF | — |
| support.function.builtin | #E0A1FF | italic |
| string -string.unquoted.old-plist -string.unquoted.heredoc, string.unquoted.heredoc string | #FFDF02 | — |
| string.quoted punctuation.definition.string.begin, string.quoted punctuation.definition.string.end, punctuation.definition.string | #FF07A2 | italic |
| string constant | #FF087B | italic |
| string.quoted source | #EBFF59 | — |
| string.regexp | #FFE4A6 | — |
| string variable | #EF9975 | — |
| support.type | #FF1190 | — |
| support.variable | #0A4AFF | — |
| — | — | |
| entity.name.type.new | #FFFF03 | bold italic |
| variable.other.property | #AA00AA | — |
| variable.other.object | #00A452 | — |
| meta.property.object | #34A7FF | |
| variable.other.constant | #FFA325 | bold |
| support.keyword.node | #93D6F7 | — |
| punctuation.terminator.statement | #FFFFFF | bold |
| support.class.js.jquery | #08D879 | — |
| source.clojure constant.other | #FFA325 | bold |
| source.clojure support.other.keyword | #0B93FF | — |
| entity.name.namespace.clojure | #CFFF01 | — |
| storage.clojure, support.function.clojure | #00BB5E | — |
| storage.type.function source.clojure | #10FF02 | — |
| keyword.other.mark | #FF71BB | bold italic |
| support.function.tester | #FF71BB | bold italic |
| support.function.match.clojure | #47FFC7 | bold italic |
| punctuation.definition.map | #80FF80 | bold italic |
| punctuation.definition.set | #FF3229 | bold italic |
| punctuation.definition.vector | #FF00FF | bold italic |
| constant.string.symbole.clojure | #A7A3FF | — |
| constant.other.symbol, constant.other.symbol punctuation.definition.constant | #FF9705 | |
| meta.environment-variable string | #0613FF | — |
| variable.other.readwrite.global, variable.other.readwrite.global punctuation.definition.variable | #FFACAA | — |
| variable.other.readwrite.instance, variable.other.readwrite.instance punctuation.definition.variable | #9AA5FF | — |
| keyword.other.special-method.ruby | #DB1E44 | — |
| punctuation.separator.other | #276AFF | — |
| string.regexp.character-class, punctuation.definition.character-class | #22FFC9 | — |
| variable.other.block, punctuation.separator.variable | #14FF01 | — |
| punctuation.separator.annotation.python | #F6FF04 | bold italic |
| punctuation.separator.annotation.result.python | #F6FF04 | bold italic |
| punctuation.definition.parameters-group.begin.python | #FF06A5 | bold italic |
| punctuation.definition.parameters-group.end.python | #FF06A5 | bold italic |
| comment.line.note.python | #E2FF09 | — |
| comment.line.note.notation.python | #FF112C | bold |
| constant.other.allcaps | #FFA325 | bold |
| meta.function.decorator entity.name.function.decorator, meta.function.decorator support.type, punctuation.definition.decorator | #B6B8FE | bold |
| support.type.django.model | #588925 | — |
| support.other.django.module | #82C537 | — |
| keyword.control.tag-name.django | #C2FFBD | bold italic |
| keyword.control.filter.django | #0FD0FF | |
| storage.type.templatetag.django entity.tag.tagbraces.django | #1FA919 | bold italic |
| storage.type.variable entity.tag.tagbraces.django | #FF0D8F | bold italic |
| support.ipython.in | #17FF07 | — |
| support.ipython.out | #FF0704 | — |
| source.python support.ipython support.ipython.cell-number | #00B1F7 | bold |
| variable.other.jinja.filter | #10FDFF | bold italic |
| variable.other.jinja | #FF0102 | — |
| entity.other.jinja.delimiter | #FFF704 | bold |
| support.function.magic | #E3A0FF | bold italic |
| — | — | |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary string | #F50AFF | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary string | #ACFF04 | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary string | #18FFFA | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary string | #FF5A60 | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary string | #1471FF | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary string | #FF8D04 | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary string | #22FF31 | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary string | #A9BAFF | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary string | #FF0C77 | — |
| source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary string | #FFFA02 | — |
| source.json meta meta meta meta meta meta meta meta meta.structure.dictionary string | #F50AFF | — |
| source.json meta meta meta meta meta meta meta meta.structure.dictionary string | #ACFF04 | — |
| source.json meta meta meta meta meta meta meta.structure.dictionary string | #18FFFA | — |
| source.json meta meta meta meta meta meta.structure.dictionary string | #FF5A60 | — |
| source.json meta meta meta meta meta.structure.dictionary string | #1471FF | — |
| source.json meta meta meta meta.structure.dictionary string | #FF8D04 | — |
| source.json meta meta meta.structure.dictionary string | #22FF31 | — |
| source.json meta meta.structure.dictionary string | #FF82EC | — |
| — | — | |
| meta.preprocessor | #A85E3D | — |
| meta.preprocessor keyword | #8189FF | — |
| string.quoted.other.lt-gt.include | #0CC4FF | — |
| string.quoted.double.include | #FF65BE | — |
| — | — | |
| meta.diff, meta.diff.header | #FFFFFF | — |
| markup.deleted | #FFFFFF | — |
| markup.changed | #FFFFFF | — |
| markup.inserted | #FFFFFF | — |
| — | — | |
| entity.other.attribute-name, storage.type.attr | #FF88F9 | — |
| entity.other.attribute-name.localname | #10FF07 | |
| string.quoted.double.html, string.quoted.single.html | #10FF07 | — |
| constant.character.entity.html, constant.character.entity.html punctuation | #FF07A2 | italic |
| meta.tag.sgml.doctype, entity.name.tag.doctype | #1AEFFF | italic |
| meta.tag, meta.tag entity | #FF6803 | — |
| punctuation.definition.tag | #02AEFF | — |
| constant.other.adb.timestamp | #FE7DF5 | — |
| source.adb entity.name.function | #10FF07 | |
| constant.other.adb | #FF8000 | — |
| entity.name.filename.adb | #08F2FF | |
| keyword.adb | #FFFF00 | — |
| invalid.illegal.adb | #FFFFFF | bold |
| — | — | |
| markup.raw, markup.raw punctuation | #FFFFFF | — |
| meta.link.inline markup.underline, meta.image.inline markup.underline | #8080FF | — |
| punctuation.definition.metadata | #FF07A2 | italic |
| string.other.link.title, string.other.link.description | #11FF09 | — |
| markup.quote | — | italic |
| markup.list punctuation.definition.list_item | #000000 | — |
| markup.bold | #FF9303 | bold |
| markup.italic | #FFF103 | italic |
| markup.heading, markup.heading punctuation | #FDF503 | bold |
| meta.image.inline | #E421FD | bold |
| — | — | |
| keyword.other.phpdoc.php | #3A771F | italic |
| support.constant.core.php | #FFA325 | bold italic |
| support.constant.std.php | #BBFD0D | bold italic |
| keyword.other.include.php, meta.include.php | #C82255 | — |
| keyword.storage.php | #6969FA | — |
| string.quoted.double.php | #FF6F5B | — |
| string.quoted.single.php | #FEF611 | — |
| variable.other.global.php | #FF4028 | italic |
| variable.other.global.safer.php | #00FF00 | — |
| — | — | |
| meta.property-value support.constant.named-color.css, meta.property-value constant | #FFF203 | italic |
| meta.preprocessor.at-rule keyword.control.at-rule | #F6AA11 | — |
| source.css meta.attribute-selector keyword.operator.comparison | #833F04 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.css punctuation | #B2FF02 | — |
| meta.constructor.argument | #0AEB77 | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.id.css punctuation | #FF50F0 | — |
| entity.other.attribute-name.pseudo-element | #AE08FF | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.tag.pseudo-class | #D2C9FF | — |
| support.type.property-name.css, meta.property-name | #FF9F82 | — |
| meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css | #357BF6 | — |
| meta.selector.css | #84F6C3 | — |
| entity.name.tag.css | #05C2FF | — |
| entity.name.tag.wildcard, entity.other.attribute-name.universal | #FF7900 | bold |
| keyword.other.unit | #1DD292 | — |
| keyword.other.important.css | #FF0000 | bold italic |
| comment.block.sass | #208C9A | italic |
| entity.other.attribute-name.placeholder-selector.sass | #FF5699 | bold italic |
| entity.other.attribute-selector.sass | #817DFF | — |
| keyword.other.regex.sass | #FFE4A6 | — |
| comment.punctuation.comma.sass | #FCFDFF | — |
| constant.other.color.rgb-value.css, meta.property-value.css constant.other.color.rgb-value.css, constant.other.color.rgb-value.css punctuation.definition.constant.css, meta.property-value.css constant.other.color.rgb-value.css punctuation.definition.constant.css | #07FFF5 | |
| comment.punctuation.semicolon.sass | #6969FA | — |
| — | — | |
| markup.deleted.git_gutter | #FF0000 | — |
| markup.inserted.git_gutter | #00FF00 | — |
| markup.changed.git_gutter | #FFFF00 | — |
| — | — | |
| entity.name.filename.find-in-files | #06FF05 | — |
| constant.numeric.line-number.match.find-in-files | #FFFF00 | — |
| keyword.other.name.sublime-settings | #05B4FF | — |
| entity.other.control | #A4FF5A | — |
| constant.character.escape | #AF35FF | — |
| storage.type.regexp.group, string meta.group.regexp punctuation.definition.group | #05B4FF | bold italic |
| support.operator.quantifier | #0DFF03 | |
| constant.numeric.key | #00B000 | bold |
| source.yaml-tmlanguage support.type | #F57C0E | bold |
| source.yaml-tmlanguage keyword.other.match | #FF00FF | — |
| source.yaml-tmlanguage keyword.other.name | #0BFF02 | — |
| source.yaml-tmlanguage meta.folding-marker keyword.other.folding-marker | #23FFB0 | — |
| sublimelinter.annotations | #FFFFFF | — |
| sublimelinter.outline.illegal | #FFFFFF | — |
| sublimelinter.underline.illegal | — | — |
| sublimelinter.outline.warning | #FFFFFF | — |
| sublimelinter.underline.warning | — | — |
| sublimelinter.outline.violation | #FFFFFF | — |
| sublimelinter.gutter-mark | #FFFFFF | — |
| sublimelinter.mark.error | #DA2000 | — |
| sublimelinter.mark.warning | #EDBA00 | — |
| brackethighlighter.default | #FFFFFF | — |
| brackethighlighter.unmatched | #FF1E00 | — |
| brackethighlighter.curly | #00FF40 | — |
| brackethighlighter.round | #1AB5FF | — |
| brackethighlighter.square | #FF8000 | — |
| brackethighlighter.angle | #9A35FF | — |
| brackethighlighter.tag | #FFFF00 | — |
| brackethighlighter.quote | #FF07A2 | — |
| brackethighlighter.c_define | #8189FF | — |
| brackethighlighter.bash | #0B93FF | — |
| keyword.mathematics.matlab | #D6FF1E | — |
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}!`;
}