Colorful Theme
Publisher: Leonel Espinoza SoteloThemes in package: 1
Theme without nothing special, just another theme :)
Theme without nothing special, just another 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, punctuation.definition.comment | #A89984 | italic |
| variable, string constant.other.placeholder | #FAFAFA | — |
| constant.other.color | #FAFAFA | — |
| invalid, invalid.illegal | #FF4C42 | — |
| keyword, storage.type, storage.modifier | #148AFF | italic |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.new | #C363F2 | — |
| constant.other.color, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #FAFAFAEE | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #FF4C42 | — |
| storage.type.js | #C363F2 | — |
| variable.function, meta.function-call, support.function, keyword.other.special-method, support.function.magic.python, entity.name.function | #34CB5A | — |
| meta.block variable.other | #FAFAFA | — |
| support.other.variable, string.other.link | #FF4C42 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #C363F2 | — |
| constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #FAFAFA | — |
| string | #FFD814 | — |
| variable.parameter | #FAFAFA | — |
| comment.block | #949499 | — |
| entity.name, support.type, support.class, entity.other.inherited-class, support.orther.namespace.use.php, variable.other.readwrite.alias, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, meta.export.default.js variable.other.readwrite.js | #34CB5A | — |
| support.type | #47CAE1 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #FAFAFA | — |
| meta.selector.css, support.constant, meta.property-value.css | #FF4C42 | italic |
| keyword.other.special-method.dockerfile, entity.name.tag.yaml | #FF4C42 | italic |
| string.quoted.docstring.multi.python | #A89984 | italic |
| entity.name.function.decorator.python | — | italic |
| variable.parameter.function.language.special.self.python, variable.language.special.self.python, variable.language.this, variable.language.super, support.function.builtin.python | #FF4C42 | italic |
| source.python entity.name.function | #8EC07C | — |
| source.python keyword.operator.logical.python | #FF4C42 | italic |
| source.python meta.function-call.arguments.python | #FAFAFA | — |
| source.python support.type.python | #47CAE1 | — |
| source.python punctuation.definition.arguments.begin.python, source.python punctuation.definition.arguments.end.python | #FAFAFA | — |
| source.python constant.character.format.placeholder.other.python | #47CAE1 | — |
| source.python storage.type.string.python | #34CB5A | |
| source.pip-requirements, source.pip-requirements entity.name.class | #FF4C42 | italic |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FF5370 | — |
| variable.language | #FF4C42 | italic |
| entity.name.method.js | #82AAFF | italic |
| source.js meta.block variable.other | #FAFAFA | — |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #82AAFF | — |
| entity.name.tag.structure.any.html, entity.name.tag | #FF4C42 | italic |
| meta.tag.sgml.doctype | #8EC07C | bold |
| entity.name.tag.html | #FF4C42 | italic |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name, entity.other.attribute-name, entity.other.attribute-name.html | #34CB5A | |
| punctuation.definition.tag.end.html, punctuation.definition.tag.begin.html | #FAFAFAEE | italic |
| entity.other.attribute-name.class | #34CB5A | italic |
| source.sass keyword.control | #FAFAFA | — |
| markup.inserted | #C3E88D | — |
| markup.deleted | #FF5370 | — |
| markup.changed | #C363F2 | — |
| string.regexp | #89DDFF | — |
| constant.character.escape | #89DDFF | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #82AAFF | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF4C42 | italic |
| source.js keyword.operator.expression.in.js, source.js keyword.operator.expression.of.js, source.js keyword.operator.new | #FF4C42 | italic |
| source.js support.class, source.js entity.name.type.js | #47CAE1 | — |
| source.css support.function | #FF4C42 | italic |
| source.css support.constant, source.css keyword.other.unit, source.css variable.parameter | #34CB5A | |
| source.css keyword.other.unit.fr.css | #FF4C42 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #FF4C42 | italic |
| source.json meta.structure.dictionary.json | #47CAE1 | — |
| source.json meta.structure.dictionary.value.json, source.json punctuation.separator.dictionary.pair.json, source.json punctuation.definition.dictionary.begin.json, source.json punctuation.definition.dictionary.end.json | #FAFAFA | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #FAFAFA | — |
| text.html.markdown markup.inline.raw.markdown | #C363F2 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #FAFAFA | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, markup.heading.markdown entity.name | #FF4C42 | italic |
| markup.italic | #FF4C42 | italic |
| markup.bold, markup.bold string | #FF4C42 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #FF4C42 | bold |
| markup.underline | #34CB5A | underline |
| markup.quote punctuation.definition.blockquote.markdown | #65737E | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #47CAE1 | — |
| string.other.link.description.title.markdown | #34CB5A | — |
| constant.other.reference.link.markdown | #34CB5A | — |
| markup.raw.block | #C363F2 | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #FAFAFA | — |
| variable.language.fenced.markdown | #65737E | — |
| meta.separator | #65737E | bold |
| markup.table | #EEFFFF | — |
| keyword.other.sql, keyword.other.DML.sql, keyword.other.alias.sql | #FF4C42 | — |
| constant.other.database-name.sql, constant.other.table-name.sql | #8EC07C | — |
| 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}!`;
}