Loop Theme
Publisher: Lets-A-CodeThemes in package: 1
A dark theme for VScode
A dark theme for VScode
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 | #9DB2BB | italic |
| keyword.operator | #CB9CEC | — |
| variable, source, string constant.other.placeholder | #EEFFFF | — |
| constant.other.color, constant.other.caps | #CB9CEC | — |
| invalid, invalid.illegal | #FF8E8E | — |
| keyword.control, keyword.other, storage.type, storage.modifier | #CB9CEC | bold |
| keyword.control, constant.other.color, punctuation, 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 | #8BC7EE | — |
| entity.name.tag, meta.tag.sgml, variable.parameter.function, markup.deleted.git_gutter | #F49398 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #87AEFF | — |
| meta.block variable.other | #F49398 | — |
| support.other.variable, string.other.link | #F49398 | — |
| constant.numeric | #F89476 | — |
| constant.language | #F89476 | — |
| support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #F89476 | — |
| string, 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 | #C3E88D | — |
| entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #FFCB6B | — |
| support.type | #B2CCD6 | — |
| 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 | #B2CCD6 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FF8C9F | — |
| variable.language | #FF8C9F | — |
| entity.name.method.js | #87AEFF | — |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #87AEFF | — |
| entity.other.attribute-name | #CC9CEC | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #FFCB6B | — |
| entity.other.attribute-name.class | #FFCB6B | — |
| source.sass keyword.control | #87AEFF | — |
| markup.inserted | #C3E88D | — |
| markup.deleted | #FF8C9F | — |
| support.function.builtin | #55A5F0 | italic |
| markup.changed | #CC9CEC | — |
| 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 | #87AEFF | — |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF8C9F | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #CC9CEC | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FFCB6B | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #F89476 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FF8C9F | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #D3A49A | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #87AEFF | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #F49398 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #CC9CEC | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C3E88D | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #EEFFFF | — |
| text.html.markdown markup.inline.raw.markdown | #CC9CEC | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #A6B0B7 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #C3E88D | — |
| markup.italic | #F49398 | italic |
| markup.bold, markup.bold string | #F49398 | bold |
| markup.bold markup.italic, markup.bold markup.italic, markup.quote markup.italic, markup.bold markup.italic string, markup.bold markup.italic string, markup.quote markup.italic string | #F49398 | bold italic |
| markup.underline | #F89476 | underline |
| markup.quote punctuation.definition.blockquote.markdown | #A6B0B7 | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #87AEFF | underline |
| string.other.link.description.title.markdown | #CC9CEC | — |
| constant.other.reference.link.markdown | #FFCB6B | — |
| markup.raw.block | #CC9CEC | — |
| markup.raw.block.fenced.markdown | #AFAFAF50 | — |
| punctuation.definition.fenced.markdown | #AFAFAF50 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #EEFFFF | — |
| variable.language.fenced.markdown | #A6B0B7 | — |
| meta.separator | #A6B0B7 | italic |
| markup.table | #EEFFFF | — |
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}!`;
}