Cursor Themes
Publisher: cktan21Themes in package: 4
Default Cursor themes
Default Cursor themes
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, string.comment | #121224A0 | italic |
| string, string punctuation.section.embedded source | #988ED0 | — |
| punctuation.definition.string.begin,punctuation.definition.string.end | #988ED0 | — |
| string variable | #3C80B8 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #121224A0 | — |
| source.regexp, string.regexp | #3173A7 | — |
| string.regexp.character-class, string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition | #3173A7 | — |
| string.regexp constant.character.escape | #2D8B48 | — |
| constant.other.placeholder, constant.character | #C92D4F | — |
| constant, entity.name.constant, variable.other.constant, variable.other.enummember, variable.language, entity | #3C80B8 | — |
| constant.numeric | #C34E95 | — |
| constant.other.symbol | #15151DEB | — |
| support.constant | #3C80B8 | — |
| variable | #E6742D | — |
| variable.other | #15151DEB | — |
| variable.language | #DE3757 | — |
| support.variable | #3C80B8 | — |
| variable.parameter.function, meta.jsx.children, meta.block, meta.tag.attributes, entity.name.constant, meta.object.member | #15151DEB | — |
| variable.parameter.function | #15151DEB | — |
| variable.other.readwrite | #549BDC | — |
| keyword | #C92D4F | — |
| storage, storage.type | #C92D4F | — |
| keyword.control.directive | #2D8B48 | — |
| entity.name.function | #4D3BBE | — |
| meta.require, support.function, variable.function | #4D3BBE | — |
| keyword.other.special-method | #4D3BBE | — |
| entity.name, meta.export.default, meta.definition.variable | #E6742D | — |
| entity.name.type.namespace | #3C80B8 | — |
| support.class, entity.name.type.class | #3C80B8 | — |
| entity.name.class.identifier.namespace.type | #3C80B8 | — |
| entity.name.class, variable.other.class.js, variable.other.class.ts | #3C80B8 | — |
| entity.name.type | #3C80B8 | — |
| entity.other.inherited-class | #3C80B8 | — |
| entity.name.namespace | #15151DEB | — |
| keyword.operator.assignment, keyword.operator.assignment.compound, keyword.operator.assignment.c, keyword.operator.assignment.cpp, keyword.operator.assignment.go, keyword.operator.assignment.java, keyword.operator.assignment.js, keyword.operator.assignment.ts, keyword.operator.assignment.python | #15151DEB | — |
| keyword.operator.comparison, keyword.operator.relational, keyword.operator.comparison.c, keyword.operator.comparison.cpp, keyword.operator.comparison.java, keyword.operator.comparison.js, keyword.operator.comparison.ts, keyword.operator.comparison.python | #C92D4F | — |
| keyword.operator.arithmetic, keyword.operator.increment, keyword.operator.decrement, keyword.operator.arithmetic.c, keyword.operator.increment.c, keyword.operator.decrement.c, keyword.operator.arithmetic.cpp, keyword.operator.increment.cpp, keyword.operator.decrement.cpp, keyword.operator.arithmetic.go, keyword.operator.arithmetic.java, keyword.operator.arithmetic.js, keyword.operator.arithmetic.ts, keyword.operator.arithmetic.python | #15151DEB | — |
| keyword.operator.bitwise, keyword.operator.bitwise.shift, keyword.operator.bitwise.shift.c, keyword.operator.bitwise.shift.cpp, keyword.operator.bitwise.java, keyword.operator.bitwise.js, keyword.operator.bitwise.ts, keyword.operator.bitwise.python | #C92D4F | — |
| keyword.operator.logical, keyword.operator.logical.python, keyword.operator.logical.java, keyword.operator.logical.js, keyword.operator.logical.ts, keyword.operator.logical.c, keyword.operator.logical.cpp | #C92D4F | — |
| keyword.operator.new, keyword.operator.delete, keyword.operator.typeof, keyword.operator.instanceof, keyword.operator.in, keyword.operator.of, keyword.operator.sizeof, keyword.operator.address, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.instanceof, keyword.operator.expression.typeof, keyword.operator.expression.delete, keyword.operator.expression.in, keyword.operator.expression.of, keyword.operator.expression.void, keyword.operator.expression.keyof, keyword.operator.sizeof.c, keyword.operator.sizeof.cpp, keyword.operator.address.go, keyword.operator.module, keyword.operator.instanceof.java, keyword.operator.less, keyword.operator.c, keyword.operator.cpp | #C92D4F | — |
| keyword.operator.quantifier.regexp, keyword.operator.negation.regexp | #E6742D | — |
| punctuation.accessor, punctuation.separator.pointer-access, punctuation.separator.dot-access, punctuation.separator.period, keyword.operator.dereference, punctuation.separator.pointer-access.c, punctuation.separator.pointer-access.cpp | #15151DEB | — |
| entity.name.tag, support.class.component | #2D8B48 | — |
| entity.name.tag.html | #3C80B8 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.tag.begin.xml, punctuation.definition.tag.end.xml, punctuation.definition.tag | #121224A0 | — |
| entity.other.attribute-name | #4D3BBE | — |
| entity.other.attribute-name.id | #4D3BBE | — |
| entity.other.attribute-name.class.css | #2D8B48 | — |
| support.type.property-name.css | #988ED0 | — |
| meta.property-value.css | #045683 | — |
| meta.selector | #629EA9 | — |
| keyword.other.unit | #DA72AB | — |
| constant.other.color | #C34E95 | — |
| punctuation.definition.constant.css | #DA72AB | — |
| keyword.other.template.begin, keyword.other.template.end, keyword.other.substitution.begin, keyword.other.substitution.end | #121224A0 | — |
| token.storage | #C92D4F | — |
| support.module.node,support.type.object.module,support.module.node | #C92D4F | — |
| entity.name.type.module | #C92D4F | — |
| ,meta.object-literal.key,support.variable.object.process,support.variable.object.node | #15151DEB | — |
| support.constant.json | #E6742D | — |
| support.type.object.console | #15151DEB | — |
| support.variable.property.process | #E6742D | — |
| entity.name.function.js,support.function.console.js | #4D3BBE | — |
| support.type.object.dom | #15151DEB | — |
| support.variable.dom,support.variable.property.dom | #15151DEB | — |
| meta.template.expression | #15151DEB | — |
| support.type.type.flowtype | #4D3BBE | — |
| support.type.primitive | #C92D4F | — |
| meta.property.object | #15151DEB | — |
| variable.parameter.function.js | #15151DEB | — |
| keyword.other.template.begin | #988ED0 | — |
| keyword.other.template.end | #988ED0 | — |
| keyword.other.substitution.begin | #988ED0 | — |
| keyword.other.substitution.end | #988ED0 | — |
| meta.function.decorator.python, punctuation.definition.decorator.python, entity.name.function.decorator.python | #2D8B48 | — |
| support.type.python | #629EA9 | — |
| string.quoted.binary.single.python | #2D8B48 | — |
| constant.other.ellipsis.python | #15151DEB | — |
| support.variable.magic.python | #15151DEB | — |
| punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python | #15151DEB | — |
| variable.parameter.function.language.special.self.python | #C34E95 | — |
| variable.parameter.function.language.python | #E6742D | — |
| variable.parameter.function.python | #E6742D | — |
| punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python | #15151DEB | — |
| meta.function-call.generic.python | #4D3BBE | — |
| constant.character.format.placeholder.other.python | #E6742D | — |
| keyword.control.import.python,keyword.control.flow.python | — | italic |
| storage.type.c, storage.type.cpp, support.type.posix-reserved.c, support.type.posix-reserved.cpp | #3C80B8 | — |
| constant.language.false.cpp, constant.language.true.cpp | #629EA9 | — |
| variable.language.this.cpp | #629EA9 | — |
| storage.modifier.reference, storage.modifier.pointer | #15151DEB | — |
| variable.c | #15151DEB | — |
| keyword.control.directive.include.cpp | #2D8B48 | — |
| punctuation.separator.c,punctuation.separator.cpp | #629EA9 | — |
| support.type.posix-reserved.c,support.type.posix-reserved.cpp | #15151DEB | — |
| storage.modifier.package, storage.modifier.import, storage.type.java | #15151DEB | — |
| token.variable.parameter.java | #15151DEB | — |
| import.storage.java | #C92D4F | — |
| storage.type.annotation.java, storage.type.object.array.java | #3C80B8 | — |
| source.java | #15151DEB | — |
| storage.modifier.import.java,storage.type.java,storage.type.generic.java | #C92D4F | — |
| token.storage.type.java | #3C80B8 | — |
| support.type.property-name.json | #2D8B48 | — |
| source.json meta.structure.dictionary.json > string.quoted.json | #15151DEB | — |
| source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string | #15151DEB | — |
| source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation | #988ED0 | — |
| source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json | #15151DEB | — |
| markup.heading, markup.heading entity.name | #3C80B8 | — |
| entity.name.section.markdown, punctuation.definition.heading.markdown, markup.heading.setext | #15151DEB | — |
| markup.quote | #121224A0 | — |
| markup.italic | — | italic |
| markup.bold | — | bold |
| markup.underline | — | underline |
| markup.strikethrough, punctuation.definition.strikethrough | #0E0E2A47 | strikethrough |
| markup.inline.raw | #2D8B48 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #121224A0 | — |
| markup.heading punctuation.definition.heading, entity.name.section | #121224A0 | — |
| punctuation.definition.list.begin.markdown | #121224A0 | — |
| punctuation.definition.list.markdown | #15151DEB | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #15151DEB | — |
| beginning.punctuation.definition.list.markdown | #15151DEB | — |
| punctuation.definition.metadata.markdown | #15151DEB | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #3C80B8 | — |
| string.other.link.title.markdown,string.other.link.description.markdown | #121224A0 | — |
| punctuation.definition.bold, punctuation.definition.italic, punctuation.definition.underline | #121224A0 | — |
| string.regexp | #15151DEB | — |
| constant.other.character-class.regexp | #15151DEB | — |
| punctuation.definition.group.regexp | #E6742D | — |
| punctuation.definition.group.assertion.regexp | #E6742D | — |
| punctuation.definition.character-class.regexp | #E6742D | — |
| punctuation.character.set.begin.regexp | #E6742D | — |
| punctuation.character.set.end.regexp | #E6742D | — |
| support.other.parenthesis.regexp | #E6742D | — |
| markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted | #C92D4F | — |
| markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted | #2D8B48 | — |
| markup.changed, punctuation.definition.changed | #E6742D | — |
| markup.ignored, markup.untracked | #0E0E2A47 | — |
| meta.diff.range | #4D3BBE | — |
| meta.diff.header | #3C80B8 | — |
| entity.name.tag.template, entity.name.tag.script, entity.name.tag.style | #4D3BBE | — |
| entity.name.package.go | #C92D4F | — |
| punctuation.definition.block.sequence.item.yaml | #15151DEB | — |
| constant.language.symbol.elixir | #15151DEB | — |
| invalid.broken, invalid.deprecated, invalid.illegal, invalid.unimplemented | #C92D4F | italic |
| carriage-return | #0B0B2D0A | italic underline |
| message.error | #C92D4F | — |
| meta.module-reference | #3C80B8 | — |
| punctuation.section.embedded | #C92D4F | — |
| constant.character.escape | #121224A0 | — |
| punctuation.section.embedded, variable.interpolation | #15151DEB | — |
| punctuation.section.embedded.begin,punctuation.section.embedded.end | #629EA9 | — |
| meta.separator | #3C80B8 | — |
| meta.output | #3C80B8 | — |
| constant.other.reference.link | #3C80B8 | — |
| token.package.keyword | #C92D4F | — |
| token.package | #15151DEB | — |
| control.elements | #E6742D | — |
| punctuation.definition.constant | #E6742D | — |
| meta.tag | #E6B450 | — |
| punctuation.separator.delimiter | #15151DEB | — |
| support.constant.edge | #629EA9 | — |
| brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote | #121224A0 | — |
| brackethighlighter.unmatched | #C92D4F | — |
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}!`;
}