Xcode Syntax Themes
Publisher: N4Themes in package: 6
Xcode Syntax Themes (VSCode Default UI)
Xcode Syntax Themes (VSCode Default UI)
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| comment, punctuation.definition.comment | #51C34F | — |
| string constant.other.placeholder | #e7e8eb | — |
| constant.other.color | #53B3B1 | — |
| constant.numeric | #34c9c6 | |
| invalid, invalid.illegal | #FF5370 | — |
| storage.type, storage.modifier | #E12DA0 | — |
| keyword | #E7E8EB | — |
| constant.other.color, meta.tag, meta.brace.round, meta.parameters, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #E7E8EB | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #E12DA0 | — |
| meta.function-call, variable.function, support.function, keyword.other.special-method | #53B3B1 | — |
| support.other.variable | #5124E3 | — |
| constant.language, support.constant, constant.character, constant.escape, keyword.other.unit, keyword.other | #53B3B1 | — |
| variable.parameter | #E7E8EB | — |
| 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 | #ec3d37 | |
| support.type, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #53B3B1 | — |
| support.type | #55747C | — |
| 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 | #E12DA0 | — |
| entity.name.module.js, variable.import.parameter.js | #53B3B1 | — |
| variable.language | #E12DA0 | |
| entity.name.method.js | #53B3B1 | |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #e7e8eb | — |
| entity.other.attribute-name | #55747C | — |
| entity.other.attribute-name.class | #55747C | — |
| source.sass keyword.control | #82AAFF | — |
| markup.inserted | #C3E88D | — |
| markup.deleted | #FF5370 | — |
| markup.changed | #C792EA | — |
| string.regexp | #53B3B1 | — |
| constant.character.escape | #8486ba | — |
| *url*, *link*, *uri* | #5124E3 | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #82AAFF | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF5370 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #53B3B1 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #53B3B1 | — |
| 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 | #53B3B1 | — |
| 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 | #53B3B1 | — |
| 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 | #53B3B1 | — |
| 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 | #53B3B1 | — |
| 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 | #53B3B1 | — |
| 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 | #53B3B1 | — |
| 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 | #53B3B1 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #E7E8EB | — |
| text.html.markdown markup.inline.raw.markdown | #C792EA | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #65737E | — |
| text.html.markdown meta.dummy.line-break | #ffffff | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #53B3B1 | — |
| markup.italic, punctuation.definition.italic.markdown | #53B3B1 | italic |
| markup.underline | #8f84ec | underline |
| markup.strike | #ff0000 | |
| markup.quote punctuation.definition.blockquote.markdown | #5124E3 | — |
| markup.quote | #E7E8EB | italic |
| string.other.link.title.markdown | #45BB3E | — |
| string.other.link.description.title.markdown | #C792EA | — |
| constant.other.reference.link.markdown | #ffffff | — |
| markup.raw.block | #5124E3 | — |
| markup.raw.block.fenced.markdown | #5124E3 | — |
| punctuation.definition.fenced.markdown | #5124E3 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #45BB3E | — |
| variable.language.fenced.markdown | #5124E3 | — |
| meta.separator | #65737E | — |
| markup.table | #EEFFFF | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| constant.numeric.angular-directive, expression.angular-interpolation | #F44336 | — |
| entity.other.attribute-name.html | #53B3B1 | |
| meta.attribute.href.html | #E7E8EB | |
| punctuation.definition.tag | #bdbdbd62 | |
| punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #ec3d37 | |
| entity.name.tag.html | #34c9c6 | |
| string.quoted.double.html | #ec3d37 | |
| punctuation.definition.entity.html, constant.character.entity.named.copy.html | #8f84ec | |
| support.type.property-name.css | #E7E8EB | |
| support.type, entity.other.attribute-name | #8f84ec | |
| entity.other.attribute-name.class.css, entity.other.keyframe-offset.percentage.css | #34c9c6 | |
| entity.other.attribute-name.pseudo-class.css | #53B3B1 | |
| entity.other.attribute-name.pseudo-element.css | #25908D | |
| keyword.other.unit.vh.css, keyword.other.unit.deg.css, keyword.other.unit.rem.css | #53B3B1 | |
| keyword.control.at-rule.css | #E12DA0 | |
| string.quoted.single.css, punctuation.definition.string.begin.css, punctuation.definition.string.end.css | #ec3d37 | |
| entity.name.type.class.swift | #ffffff | — |
| meta.inheritance-clause.swift | #53B1B3 | — |
| keyword.other.declaration-specifier.swift | #E12DA0 | — |
| meta.definition.type.body.swift | #ffffff | — |
| meta.function-call.swift | #53B3B1 | — |
| support.variable.swift | #53B3B1 | — |
| variable.other.swift | #53B3B1 | — |
| entity.name.function.swift | #ffffff | — |
| meta.function-call.swift | #ffffff | — |
| variable.language.swift | #E12DA0 | |
| constant.language.boolean.swift | #E12DA0 | |
| meta.definition.function.body.swift | #53B3B1 | |
| meta.function-call.swift | #53B3B1 | |
| support.function.any-method.swift | #53B3B1 | |
| keyword.operator.type.swift | #E12DA0 | |
| punctuation.definition.string.begin.swift, punctuation.definition.string.end.swift | #ec3d37 | |
| punctuation.definition.string.begin.json, punctuation.definition.string.end.json, string.quoted.single.js | #ec3d37 | |
| constant.language.json | #E12DA0 | |
| meta.definition.variable.js, keyword.operator.assignment.js, meta.var.expr.js, support.class, meta.function.expression.js, meta.objectliteral.js, keyword.operator.arithmetic.js, keyword.operator.comparison.js, keyword.operator.relational.js, variable.other.readwrite.js, variable.other.object.js, punctuation.accessor.js, punctuation.separator.comma.js, punctuation.terminator.statement.js, punctuation.separator.parameter.js | #E7E8EB | |
| constant.language.boolean.true.js, constant.language.boolean.false.js | #E12DA0 | — |
| support.class.builtin.js | #18B5B1 | — |
| keyword.operator.logical.js | #E7E8EB | — |
| variable.other.property.js, meta.function.expression.js, meta.var.expr.js, meta.function.expression.js, meta.var.expr.js, meta.function-call.js, meta.array.literal.js, meta.object.member.js | #53B3B1 | |
| support.constant.math.js, meta.var.expr.js, support.class.console.js | #34c9c6 | |
| keyword, keyword.control.conditional.js | #E12DA0 | |
| punctuation.definition.string.begin.js, punctuation.definition.string.end.js, string.quoted.single.js | #ec3d37 | |
| entity.name.section.markdown, punctuation.definition.heading.markdown | #34c9c6 | — |
| markup.bold.markdown | #E12DA0 | — |
| markup.bold.italic | #E12DA0 | italic |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #bdbdbd62 | |
| punctuation.definition.link.markdown | #8f84ec | underline |
| string.other.link.description.markdown | #51C34F | |
| punctuation.definition.list.begin.markdown | #E12DA0 | — |
| markup.fenced_code.block.markdown | #bdbdbd62 | — |
| keyword.operator.assignment.go | #E7E8EB | — |
| entity.other.inherited-class.js | #53B3B1 | — |
| entity.other.attribute-name.js | #53B3B1 | — |
| entity.name.tag.js | #53B3B1 | — |
| entity.name.type.class.js | #e7e7e7 | — |
| entity.name.function.js | #34c9c6 | — |
| support.class.component.js | #34c9c6 | — |
| support.constant.js | #34c9c6 | — |
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}!`;
}