Xscriptor Themes
Publisher: xscriptorThemes in package: 11
Collection of themes for Visual Studio Code by Xscriptor.
Collection of themes for Visual Studio Code by Xscriptor.
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, comment keyword, comment markup.underline.link, comment string, comment punctuation.definition, comment punctuation, comment text | #807B6F | — |
| comment storage.type | #807B6F | — |
| comment entity.name.type | #807B6F | — |
| comment variable, comment variable.other | #807B6F | — |
| comment keyword.codetag.notation | #669900 | — |
| comment.git-status.header.remote | #03A283 | — |
| comment.git-status.header.local | #83331F | — |
| comment.other.git-status.head | #1D1D1C | — |
| constant | #669900 | — |
| constant.other | #1D1D1C | — |
| constant.other.php | #669900 | — |
| constant.other.property | #669900 | — |
| constant.other.citation.latex | #669900 | — |
| constant.other.color | #669900 | — |
| constant.other.character-class.escape | #669900 | — |
| constant.other.key | #669900 | — |
| constant.other.symbol | #0099FF | — |
| constant.numeric | #669900 | — |
| constant.language | #669900 | — |
| constant.character.escape | #669900 | — |
| constant.numeric.line-number.find-in-files | #807B6F | — |
| constant.numeric.line-number.match.find-in-files | #18399B | — |
| entity.name.section | #18399B | — |
| entity.name.function, entity.name.function.templated | #612F8D | — |
| entity.name.function.member.static | #1D1D1C | — |
| entity.name.type.class.templated, entity.name.type.class.generic, entity.name.type.namespace | #83331F | — |
| entity.name.label | #669900 | — |
| entity.name.function.preprocessor | #83331F | — |
| entity.name | #612F8D | — |
| entity.name.class | #83331F | — |
| entity.name.constant | #669900 | — |
| entity.name.namespace | #1D1D1C | — |
| entity.other.inherited-class | #83331F | italic |
| entity.name.function | #612F8D | — |
| entity.name.tag, entity.name.tag.js.jsx support.class.component.js.jsx, entity.name.tag support.class.component | #03A283 | — |
| entity.name.function.operator | #03A283 | — |
| entity.name.type, entity.name.type.class.reference, entity.name.type.class.value | #83331F | — |
| entity.other.attribute-name | #83331F | italic |
| entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector-suffix.css, entity.other.attribute-name.parent-selector-suffix.css punctuation.definition.entity.css, entity.other.attribute-name.css | #612F8D | — |
| entity.other.attribute-name.id.css | #0099FF | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.pseudo-class.css, entity.other.pseudo-element.css | #83331F | italic |
| entity.name.function, support.function | #612F8D | — |
| entity.other.git-status.hex | #669900 | — |
| entity.other.jinja2.delimiter | #807B6F | — |
| entity.name.operator.custom-literal | #1D1D1C | — |
| entity.name.operator.custom-literal.string | #18399B | — |
| entity.name.operator.custom-literal.number | #669900 | — |
| entity.name.type.rust | #83331F | — |
| entity.name.lifetime.rust | #03A283 | — |
| invalid | — | italic |
| keyword | #03A283 | — |
| keyword.control | #03A283 | — |
| keyword.control.directive | #03A283 | — |
| keyword.operator, keyword.operator.member, keyword.operator.new | #03A283 | — |
| keyword.other.substitution | #807B6F | — |
| keyword.other.template.begin, keyword.other.template.end | #03A283 | — |
| keyword.operator.heading.restructuredtext, keyword.operator.table.row.restructuredtext keyword.operator.table.data.restructuredtext | #807B6F | — |
| keyword.other.fn.rust, keyword.other.rust, keyword.other.unsafe.rust | #03A283 | — |
| markup.heading | #612F8D | bold |
| markup.heading.setext | #612F8D | bold |
| markup.quote | #669900 | italic |
| markup.list | #18399B | — |
| markup.bold, markup.bold string, 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 | — | bold |
| markup.italic, markup.italic string, markup.quote | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.inline.raw, markup.fenced_code.block | #0099FF | — |
| markup.underline.link | #83331F | — |
| markup.underline.link.image | #18399B | — |
| meta.link.reference.def.restructuredtext | #9966FF | — |
| punctuation | #807B6F | — |
| punctuation.definition.arguments.begin.latex | #03A283 | — |
| punctuation.definition.arguments.end.latex | #03A283 | — |
| punctuation.definition.arguments.optional.begin.latex | #18399B | — |
| punctuation.definition.arguments.optional.end.latex | #18399B | — |
| string | #18399B | — |
| string.other.math.tex | #18399B | — |
| variable | #1D1D1C | — |
| variable.parameter.function | #0099FF | — |
| variable.parameter, meta.parameter | #0099FF | — |
| variable.other.constant | #669900 | — |
| variable.other.normal, variable.other.readwrite, variable.other.property | #1D1D1C | — |
| variable.other.property.js | #1D1D1C | — |
| variable.js | #0099FF | — |
| variable.other.object.js | #1D1D1C | — |
| variable.other.constant.js | #669900 | — |
| variable.other.constant.ts | #669900 | — |
| variable.language.this | #03A283 | italic |
| variable.language.this.js | #03A283 | italic |
| variable.other.object.property | #1D1D1C | — |
| variable.other.property.ts | #1D1D1C | — |
| support | #83331F | — |
| support.constant | #83331F | — |
| support.function | #612F8D | — |
| support.type | #83331F | italic |
| support.class | #83331F | — |
| support.type.property-name | #1D1D1C | normal |
| storage | #03A283 | — |
| storage.type | #83331F | italic |
| storage.modifier | #03A283 | italic |
| text | #1D1D1C | — |
| token.info-token | #9869E6 | — |
| token.warn-token | #3266CE | — |
| token.error-token | #0BB8B8 | — |
| token.debug-token | #4D9819 | — |
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}!`;
}