Dark Vue Theme
Publisher: JayPuffThemes in package: 1
Modified Dark Mode Warm theme. Developed for Web/Vue Dev!
Modified Dark Mode Warm theme. Developed for Web/Vue Dev!
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 |
|---|---|---|
| punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.string.template.begin, punctuation.definition.string.template.end | #cd83cf | — |
| comment, punctuation.definition.comment | #7f8c98 | italic |
| string | #ce97db | — |
| constant.numeric | #ffaf6e | — |
| constant.language | #ffaf6e | — |
| constant.character, constant.other | #ffaf6e | — |
| variable | #e3f1f3 | — |
| keyword, keyword.operator.expression, keyword.operator.logical, keyword.operator.comparison, keyword.operator.new | #62a2bb | — |
| storage | #6ccad6 | |
| storage.type | #62a2bb | — |
| storage.modifier | #62a2bb | — |
| entity.name, entity.static, entity.name.class.static.function, entity.name.function, entity.name.class, entity.other.inherited-class | #6ccad6 | — |
| variable.parameter | #e1e1ff | — |
| variable.language | — | italic |
| entity.name.tag | #6ccad6 | |
| entity.other.attribute-name | #62a2bb | italic |
| support.function | #6ccad6 | |
| support.constant | #4EC9B0 | |
| support.type, support.class | #4EC9B0 | — |
| support.other.variable | #000000 | |
| invalid | #ce4188 | |
| invalid.deprecated | #ce4188 | — |
| support.type.property-name.css | #e3f1f3 | italic |
| text.html.basic | #ffffff | — |
| text.html.basic entity.name | #9effff | — |
| meta.toc-list.id.html | #ce97db | — |
| text.html.basic entity.other | #ffc600 | italic |
| meta.tag.metadata.script.html entity.name.tag.html | #ffc600 | — |
| support.variable.dom.js | #e1efff | — |
| keyword.operator.arithmetic, keyword.operator.arithmetic.js | #e1efff | — |
| keyword.operator.assignment, keyword.operator.assignment.js | #ffffff | — |
| punctuation.definition.block.js | #ffffff | — |
| variable.parameter, variable.parameter.js | #cddff3 | — |
| entity.name.type.js | #4EC9B0 | — |
| punctuation.accessor.js | #ffffff | — |
| support.variable.property.dom.js | #ffffff | — |
| punctuation.terminator.statement.js | #ffffff | — |
| variable.language, entity.name.type.class.js | #ffaf6e | — |
| entity.name.type.module.js | #ffffff | — |
| meta.object-literal.key.js | #e1efff | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.end.js | #9effff | — |
| source.css entity, source.stylus entity | #3ad900 | — |
| entity.other.attribute-name.id.css | #ce97db | |
| entity.name.tag | #6ccad6 | — |
| source.css support, source.stylus support | #a5ff90 | — |
| source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant | #ffaf6e | — |
| source.css keyword.other.unit | #d87b24 | — |
| keyword.control.unit.css.sass | #d87b24 | — |
| source.css string, source.css punctuation.definition.string, source.stylus string, source.stylus punctuation.definition.string | #ce97db | — |
| source.css variable, source.stylus variable | #4EC9B0 | — |
| source.css support.constant.property-value.css | #ffaf6e | — |
| support.type.property-name.json | #62a2bb | — |
| punctuation.definition.dictionary.begin.json | #ffffff | — |
| source.css entity.other.attribute-name.class.css | #ce97db | — |
| source.cas entity.other.attribute-name.pseudo-class.css, source.css entity.other.attribute-name.pseudo-element.css | #ffc600 | — |
| source.css support.type.vendored.property-name.css | #e1e1ff | — |
| variable.other.normal.shell | #94c6ca | — |
| markup.underline | — | underline |
| markup.bold | #fe8019 | bold |
| markup.heading | #fe8019 | bold |
| markup.italic | — | italic |
| markup.inserted | #b8bb26 | — |
| markup.deleted | #d65d0e | — |
| markup.changed | #fe8019 | — |
| markup.punctuation.quote.beginning | #98971a | — |
| markup.punctuation.list.beginning | #99c6ca | — |
| markup.inline.raw | #d65d0e | — |
| meta.selector | #7ec16e | — |
| meta.type.name, meta.return.type, meta.return-type, meta.cast, meta.type.annotation, support.type, storage.type.cs, storage.type.java, variable.class | #fabd2f | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| punctuation.definition.interpolation.begin.html.vue | #4EC9B0 | — |
| punctuation.definition.interpolation.end.html.vue | #4EC9B0 | — |
| keyword.control.loop.vue | #4EC9B0 | — |
| keyword.control.conditional.vue | #4EC9B0 | — |
| entity.other.attribute-name.html.vue | #62a2bb | — |
| entity.other.attribute-name.tag.pug | #62a2bb | — |
| entity.other.attribute-name.html | #62a2bb | — |
| entity.other.attribute-name.id.css.pug | #6ccad6 | — |
| entity.other.attribute-name.id.css | #6ccad6 | — |
| punctuation.attribute-shorthand.event.html.vue | #4EC9B0 | — |
| punctuation.attribute-shorthand.bind.html.vue | #4EC9B0 | — |
| punctuation.attribute-shorthand.slot.html.vue | #4EC9B0 | — |
| entity.other.attribute-name.class.css.pug | #a594f1 | — |
| entity.other.attribute-name.class.css | #a594f1 | — |
| entity.other.attribute-name.class.css.sass | #a594f1 | — |
| entity.other.attribute-name.class.css | #a594f1 | — |
| entity.name.type | #4EC9B0 | — |
| punctuation.definition.typeparameters.begin | #fa912f | — |
| punctuation.definition.typeparameters.end | #fa912f | — |
| variable.other.property.ts | #bedbe0 | — |
| variable.other.property.js | #bedbe0 | — |
| punctuation.accessor.optional.js | #62a2bb | — |
| punctuation.accessor.optional.ts | #62a2bb | — |
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}!`;
}