Velour Theme
Publisher: velourthemeThemes in package: 1
A dark theme for VS Code
A dark theme for VS Code
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 | #999999 | — |
| entity | #FFE51D | — |
| constant | #0089D8 | — |
| keyword | #FF8400 | — |
| meta | #A7EAFA | — |
| meta.brace, punctuation.definition.parameters.begin.js, punctuation.definition.parameters.end.js | #C1D0DE | — |
| punctuation | #C1D0DE | — |
| punctuation.definition.parameters | #F3D476 | — |
| punctuation.definition.template-expression | #F3D476 | — |
| storage | #FFE51D | — |
| storage.type.function.arrow | #FFE51D | — |
| string, punctuation.definition.string | #F3D476 | — |
| string.template, string.quoted.template.js, punctuation.definition.string.template | #7EB77D | — |
| support | #B1FFC5 | — |
| variable.language.this.js, variable.language.this.ts, variable.language.this.jsx, variable.language.this.tsx | #E15B64 | — |
| support.function | #FF8400 | — |
| support.variable.property.dom | #A7EAFA | — |
| variable | #C1D0DE | — |
| source.css entity | #FFABAB | — |
| entity.other.attribute-name.class.css | #0089D8 | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css | #A5A0DA | — |
| entity.name.tag.css | #03C8FA | — |
| constant.numeric.css | #FF8400 | — |
| keyword.other.unit.mm.css, keyword.other.unit.cm.css, keyword.other.unit.in.css, keyword.other.unit.pt.css, keyword.other.unit.px.css, keyword.other.unit.pc.css, keyword.other.unit.ex.css, keyword.other.unit.em.css, keyword.other.unit.rem.css, keyword.other.unit.percentage.css, keyword.other.unit.vh.css, keyword.other.unit.vw.css, keyword.other.unit.vmin.css, keyword.other.unit.vmax.css, keyword.other.unit.ch.css | #F9E6EF | — |
| source.css support | #FFFFFF | — |
| source.css constant, source.css support.constant | #F0C7FD | — |
| source.css string, source.css punctuation.definition.string | #FFE51D | — |
| source.css variable | #FAA839 | — |
| keyword.other.important.css, keyword.other.important.scss, keyword.control.at-rule.keyframes.css, keyword.control.at-rule.keyframes.scss, keyword.control.at-rule.media.css, keyword.control.at-rule.media.scss | #7EB77D | — |
| keyword.control.if.scss, keyword.control.for.scss, keyword.control.while.scss | #A7EAFA | — |
| support.function.misc.scss | #866DD3 | — |
| meta.definition.variable.scss | #7EB77D | — |
| meta.tag.sgml.doctype.html | #0089D8 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.tag.html, meta.scope.between-tag-pair.html, punctuation.definition.tag.html, meta.tag.structure.any.html, punctuation.definition.string.begin, punctuation.definition.string.end, meta.tag.inline.any.html, meta.tag.other | #FFFFFF | — |
| text.html.basic entity.other, entity.other.attribute-name.html | #FFABAB | — |
| meta.toc-list.id.html | #03C8FA | — |
| string.quoted.double.html | #F3D476 | — |
| text.html.basic entity.other | #FFE51D | — |
| meta.tag.metadata.script.html | #F9E6FF | — |
| entity.name.tag.html | #F0C7FD | — |
| source.json support | #B1FFC5 | — |
| source.json string, source.json punctuation.definition.string | #A5A0DA | — |
| entity.name.function.js, entity.name.function.ts, entity.name.function.jsx, entity.name.function.tsx | #FAA839 | — |
| storage.type.function.js, storage.type.function.ts, storage.type.function.jsx, storage.type.function.tsx | #7EB77D | — |
| entity.name.class.js, entity.name.class.ts, entity.name.class.jsx, entity.name.class.tsx | #F0C7FD | — |
| keyword.control.flow.js, keyword.control.flow.ts, keyword.control.flow.jsx, keyword.control.flow.tsx | #866DD3 | — |
| keyword.control.loop.js, keyword.control.loop.ts, keyword.control.loop.jsx, keyword.control.loop.tsx | #F3D476 | — |
| keyword.operator, keyword.operator.assignment | #FFFFFF | — |
| support.class.builtin.js | #BEE9AC | — |
| keyword.control.module.js, keyword.control.import.tsx | #03C8FA | italic |
| storage.type.js, storage.type.ts, storage.type.jsx, storage.type.tsx | #03C8FA | italic |
| string.unquoted.js, string.unquoted.ts, string.unquoted.jsx, string.unquoted.tsx | #7EB77D | italic |
| variable.other.readwrite.js, variable.other.readwrite.ts, variable.other.readwrite.jsx, variable.other.readwrite.tsx, variable.other.readwrite.alias.tsx | #F0C7FD | — |
| variable.other.property.js, variable.other.property.ts, variable.other.property.jsx, variable.other.property.tsx, variable.other.object.property.tsx | #CDF2E0 | — |
| keyword.operator.assignment.js, keyword.operator.assignment.ts, keyword.operator.assignment.jsx, keyword.operator.assignment.tsx | #FFFFFF | — |
| meta.tag.jsx, meta.tag.tsx | #FFFFFF | — |
| entity.name.tag.jsx, entity.name.tag.tsx, support.class.component.open.jsx, support.class.component.close.jsx, support.class.component.open.tsx, support.class.component.close.tsx, support.class.component.tsx, entity.name.tag.open.jsx, entity.name.tag.close.jsx, entity.name.tag.open.tsx, entity.name.tag.close.tsx | #F0C7FD | — |
| entity.other.attribute-name.jsx, entity.other.attribute-name.tsx | #FFABAB | — |
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}!`;
}