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, punctuation.definition.comment | #6272A4 | italic |
| variable, string constant.other.placeholder | #FFFFFF | — |
| keyword, storage.type, storage.modifier | #FF9AA2 | — |
| 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 | #FF9AA2 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #B8E6A0 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #B8E6A0 | — |
| 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 | #FFE4A3 | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #8BE9FD | — |
| support.type.property-name | #B8E6A0 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FFFFFF | — |
| variable.language | #BD93F9 | italic |
| entity.name.method.js | #B8E6A0 | italic |
| entity.other.attribute-name | #FFE4A3 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #B8E6A0 | italic |
| entity.other.attribute-name.class | #8BE9FD | — |
| source.sass keyword.control | #FF9AA2 | — |
| markup.inserted | #FFE4A3 | — |
| markup.deleted | #FF5555 | — |
| markup.changed | #FFE4A3 | — |
| string.regexp | #FFE4A3 | — |
| constant.character.escape | #FF9AA2 | — |
| *url*, *link*, *uri* | #8BE9FD | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #BD93F9 | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #FFE4A3 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #B8E6A0 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #B8E6A0 | — |
| 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 | #efc263 | — |
| 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 | #e8eb8e | — |
| 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 | #6ce6e4 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #B8E6A0 | — |
| text.html.markdown markup.inline.raw.markdown | #f17cb3 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #6ce6e4 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #FF9AA2 | — |
| markup.italic | #efc263 | italic |
| markup.bold, markup.bold string | #f17cb3 | 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 | #6ce6e4 | bold italic |
| markup.underline | #e8eb8e | underline |
| markup.strike | #FF9AA2 | strikethrough |
| markup.quote punctuation.definition.blockquote.markdown | #6ce6e4 | — |
| string.other.link.title.markdown | #f17cb3 | — |
| string.other.link.description.title.markdown | #efc263 | — |
| constant.other.reference.link.markdown | #e8eb8e | — |
| markup.raw.block | #6ce6e4 | — |
| markup.raw.block.fenced.markdown | #FF9AA2 | — |
| punctuation.definition.fenced.markdown | #f17cb3 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #efc263 | — |
| variable.language.markdown | #e8eb8e | — |
| meta.separator | #FF9AA2 | bold |
| markup.table | #FF9AA2 | — |
| storage.type, storage.modifier | #FF9AA2 | — |
| storage.type.function | #BD93F9 | — |
| invalid | #FF5555 | italic |
| invalid.deprecated | #FF5555 | italic |
| constant.other.symbol | #FFE4A3 | — |
| constant.other.elm | #8BE9FD | — |
| constant.numeric | #BD93F9 | italic |
| constant.language | #BD93F9 | italic |
| constant.character.escape | #BD93F9 | — |
| entity.name.section | #FFE4A3 | — |
| entity.name.function, entity.name.function.templated | #B8E6A0 | — |
| entity.name.function.member.static | #FFFFFF | — |
| entity.name.type.class.templated, entity.name.type.class.generic, entity.name.type.namespace | #8BE9FD | — |
| entity.name.label | #BD93F9 | — |
| entity.name.function.preprocessor | #8BE9FD | — |
| entity.name.class | #8BE9FD | — |
| entity.name.constant | #BD93F9 | italic |
| entity.name.namespace | #FFFFFF | — |
| entity.other.inherited-class | #8BE9FD | italic |
| entity.name.tag, entity.name.tag.js.jsx support.class.component.js.jsx, entity.name.tag support.class.component, source.vue support.class.component | #FF9AA2 | — |
| entity.name.function.operator | #FF9AA2 | — |
| entity.name.type, entity.name.type.class.reference, entity.name.type.class.value | #8BE9FD | — |
| 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, entity.other.animation-name.css | #B8E6A0 | — |
| entity.other.attribute-name.id.css | #FFE4A3 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.pseudo-class.css, entity.other.pseudo-element.css | #8BE9FD | italic |
| entity.other.git-status.hex | #BD93F9 | — |
| entity.other.jinja2.delimiter | #6272A4 | — |
| entity.name.operator.custom-literal | #FFFFFF | — |
| entity.name.operator.custom-literal.string | #FFE4A3 | — |
| entity.name.operator.custom-literal.number | #BD93F9 | — |
| entity.name.type | #8BE9FD | italic |
| entity.name.lifetime.rust | #FF9AA2 | — |
| keyword.control | #FF9AA2 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.default | #FF9AA2 | italic |
| keyword.control.async, keyword.control.await, storage.type.async | #FF9AA2 | italic |
| keyword.control.directive | #FF9AA2 | — |
| keyword.operator, keyword.operator.member, keyword.operator.new | #FF9AA2 | — |
| keyword.other.substitution | #6272A4 | — |
| keyword.other.template.begin, keyword.other.template.end | #FF9AA2 | — |
| keyword.operator.heading.restructuredtext, keyword.operator.table.row.restructuredtext keyword.operator.table.data.restructuredtext | #6272A4 | — |
| keyword.other.parenthesis.elm | #6272A4 | — |
| keyword.other.fn.rust, keyword.other.rust, keyword.other.unsafe.rust, keyword.other.where.rust | #8BE9FD | — |
| keyword.control.rust, keyword.operator.misc.rust | #FF9AA2 | — |
| keyword.declaration.class.ruby, keyword.declaration.function.ruby, keyword.declaration.namespace.ruby | #FF9AA2 | — |
| markup.underline.link | #B8E6A0 | italic |
| markup.quote | — | italic |
| meta.brace.round, meta.brace.square, meta.brace.curly, meta.delimiter.comma.js, meta.function-call.without-arguments.js, meta.function-call.method.without-arguments.js | #6272A4 | — |
| meta.function-call.generic.python, support.function.builtin.python | #B8E6A0 | — |
| meta.function-call.python meta.function-call.arguments.python | #FFFFFF | — |
| meta.instance.constructor | #B8E6A0 | — |
| meta.attribute-with-value.class string, meta.attribute.class.html string | #B8E6A0 | — |
| meta.attribute-with-value.id string, meta.attribute.id.html string | #FFE4A3 | — |
| source.json meta.mapping.key string | #FFFFFF | italic |
| meta.object.member | #FFFFFF | — |
| meta.property-list.css variable.other | #B8E6A0 | — |
| entity.name.constant.preprocessor, meta.preprocessor | #BD93F9 | — |
| meta.diff.git-diff.header | #FFE4A3 | — |
| meta.type_params.rust | #FFFFFF | — |
| meta.decorator, meta.annotation, punctuation.decorator | #BD93F9 | italic |
| punctuation | #6272A4 | — |
| punctuation.definition.tag, punctuation.definition.tag source, punctuation.definition.group.begin.ruby, punctuation.definition.group.end.ruby, punctuation.definition.group.begin.css, punctuation.definition.group.end.css, punctuation.definition.string.end.html source.css | #6272A4 | — |
| punctuation.definition.group | #FFFFFF | — |
| punctuation.definition.comment | #6272A4 | — |
| punctuation.definition.variable, punctuation.definition.keyword.scss, punctuation.definition.entity.css | #FFFFFF | — |
| punctuation.section.embedded, punctuation.section.embedded entity.name.tag, punctuation.section.embedded constant.other, punctuation.section.embedded source, punctuation.section.embedded.begin | #FFE4A3 | — |
| punctuation.template-string.element.begin, punctuation.template-string.element.end, punctuation.definition.string.template.begin, punctuation.definition.string.template.end, string.quoted.template punctuation.definition.string.begin, string.quoted.template punctuation.definition.string.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #FF9AA2 | — |
| meta.paragraph.markdown meta.dummy.line-break, meta.paragraph.markdown meta.hard-line-break.markdown | — | — |
| region.redish | #FF9AA2 | — |
| region.orangish | #FFE4A3 | — |
| region.yellowish | #FFE4A3 | — |
| region.greenish | #B8E6A0 | — |
| region.bluish | #8BE9FD | — |
| region.purplish | #BD93F9 | — |
| region.pinkish | #FF9AA2 | — |
| region.whitish | #FFFFFF | — |
| source | #FFFFFF | — |
| source.scss, source.sass | #6272A4 | — |
| source.sass variable.other, source.sass variable.sass, source.scss variable.other, source.scss variable.scss, source.scss variable.sass, source.css variable.other, source.css variable.scss, source.less variable.other, source.less variable.other.less, source.less variable.declaration.less | #A8E6A0 | italic |
| source.git-show.commit.sha | #BD93F9 | — |
| source.git-show.author, source.git-show.date, source.git-diff.command, source.git-diff.command meta.diff.git-diff.header.from-file, source.git-diff.command meta.diff.git-diff.header.to-file | #6272A4 | — |
| source.git-show meta.diff.git-diff.header.extended.index.from-sha, source.git-show meta.diff.git-diff.header.extended.index.to-sha | #BD93F9 | — |
| source.git-show meta.diff.range.unified | #FFE4A3 | — |
| source.git-show meta.diff.header.from-file, source.git-show meta.diff.header.to-file | #8BE9FD | — |
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}!`;
}