neocoder
Publisher: Sudip MondalThemes in package: 1
This is a dark theme
This is a dark 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, string.quoted.docstring.multi.python, string.quoted.docstring.multi.python punctuation.definition.string.begin.python, string.quoted.docstring.multi.python punctuation.definition.string.end.python | #848BBD | italic |
| string.quoted, string.template, punctuation.definition.string | #FF8B39 | — |
| string.template meta.embedded.line | #B6B1B1 | — |
| variable, entity.name.variable | #FF7EDB | — |
| variable.language | #FE4450 | bold |
| variable.parameter | — | italic |
| storage.type, storage.modifier | #FEDE5D | — |
| constant | #F97E72 | — |
| string.regexp | #F97E72 | — |
| constant.numeric | #F97E72 | — |
| constant.language | #F97E72 | — |
| constant.character.escape | #36F9F6 | — |
| entity.name | #FE4450 | — |
| entity.name.tag | #72F1B8 | — |
| punctuation.definition.tag | #36F9F6 | — |
| entity.other.attribute-name | #FEDE5D | — |
| entity.other.attribute-name.html | #FEDE5D | italic |
| entity.name.type, meta.attribute.class.html | #FE4450 | — |
| entity.other.inherited-class | #DD5500 | — |
| entity.name.function, variable.function | #36F9F6 | — |
| keyword.control.export.js, keyword.control.import.js | #72F1B8 | — |
| constant.numeric.decimal.js | #2EE2FA | — |
| keyword | #FEDE5D | — |
| keyword.control | #FEDE5D | — |
| keyword.operator | #FEDE5D | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.logical | #FEDE5D | — |
| keyword.other.unit | #F97E72 | — |
| support | #FE4450 | — |
| support.function | #36F9F6 | — |
| support.variable | #FF7EDB | — |
| meta.object-literal.key, support.type.property-name | #FF7EDB | — |
| punctuation.separator.key-value | #B6B1B1 | — |
| punctuation.section.embedded | #FEDE5D | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #72F1B8 | — |
| support.type.property-name.css, support.type.property-name.json | #72F1B8 | — |
| switch-block.expr.js | #72F1B8 | — |
| variable.other.constant.property.js, variable.other.property.js | #2EE2FA | — |
| constant.other.color | #F97E72 | — |
| support.constant.font-name | #F97E72 | — |
| entity.other.attribute-name.id | #36F9F6 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #DD5500 | — |
| support.function.misc.css | #FE4450 | — |
| markup.heading, entity.name.section | #FF7EDB | — |
| text.html, keyword.operator.assignment | #FFFFFFEE | — |
| markup.quote | #B6B1B1CC | italic |
| beginning.punctuation.definition.list | #FF7EDB | — |
| markup.underline.link | #DD5500 | — |
| string.other.link.description | #F97E72 | — |
| meta.function-call.generic.python | #36F9F6 | — |
| variable.parameter.function-call.python | #72F1B8 | — |
| storage.type.cs | #FE4450 | — |
| entity.name.variable.local.cs | #FF7EDB | — |
| entity.name.variable.field.cs, entity.name.variable.property.cs | #FF7EDB | — |
| constant.other.placeholder.c | #72F1B8 | italic |
| keyword.control.directive.include.c, keyword.control.directive.define.c | #72F1B8 | — |
| storage.modifier.c | #FE4450 | — |
| source.cpp keyword.operator | #FEDE5D | — |
| constant.other.placeholder.cpp | #72F1B8 | italic |
| keyword.control.directive.include.cpp, keyword.control.directive.define.cpp | #72F1B8 | — |
| storage.modifier.specifier.const.cpp | #FE4450 | — |
| source.elixir support.type.elixir, source.elixir meta.module.elixir entity.name.class.elixir | #36F9F6 | — |
| source.elixir entity.name.function | #72F1B8 | — |
| source.elixir constant.other.symbol.elixir, source.elixir constant.other.keywords.elixir | #36F9F6 | — |
| source.elixir punctuation.definition.string | #72F1B8 | — |
| source.elixir variable.other.readwrite.module.elixir, source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir | #72F1B8 | — |
| source.elixir .punctuation.binary.elixir | #FF7EDB | italic |
| entity.global.clojure | #36F9F6 | bold |
| storage.control.clojure | #36F9F6 | italic |
| meta.metadata.simple.clojure, meta.metadata.map.clojure | #FE4450 | italic |
| meta.quoted-expression.clojure | — | italic |
| meta.symbol.clojure | #FF7EDB | — |
| source.go | #FF7EDB | — |
| source.go meta.function-call.go | #36F9F6 | — |
| source.go keyword.package.go, source.go keyword.import.go, source.go keyword.function.go, source.go keyword.type.go, source.go keyword.const.go, source.go keyword.var.go, source.go keyword.map.go, source.go keyword.channel.go, source.go keyword.control.go | #FEDE5D | — |
| source.go storage.type, source.go keyword.struct.go, source.go keyword.interface.go | #72F1B8 | — |
| source.go constant.language.go, source.go constant.other.placeholder.go, source.go variable | #2EE2FA | — |
| markup.underline.link.markdown, markup.inline.raw.string.markdown | #72F1B8 | italic |
| string.other.link.title.markdown | #FEDE5D | — |
| markup.heading.markdown, entity.name.section.markdown | #FF7EDB | bold |
| markup.italic.markdown | #2EE2FA | italic |
| markup.bold.markdown | #2EE2FA | bold |
| punctuation.definition.quote.begin.markdown, markup.quote.markdown | #72F1B8 | — |
| source.dart, source.python, source.scala | #FF7EDB | — |
| string.interpolated.single.dart | #F97E72 | — |
| variable.parameter.dart | #72F1B8 | — |
| constant.numeric.dart | #2EE2FA | — |
| variable.parameter.scala | #2EE2FA | — |
| meta.template.expression.scala | #72F1B8 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}