Cursor Themes - Dark & Light Collection
A stunning collection of 19 hand-crafted themes (17 dark + 2 light). Comprehensive syntax highlighting for JavaScript, TypeScript, Python, React, Vue, Rust, Go, Solidity, and 50+ languages.
A stunning collection of 19 hand-crafted themes (17 dark + 2 light). Comprehensive syntax highlighting for JavaScript, TypeScript, Python, React, Vue, Rust, Go, Solidity, and 50+ languages.
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 | #66635C | italic |
| source, punctuation, punctuation.definition, punctuation.separator, punctuation.terminator, punctuation.section | #DAD7D1 | — |
| string, string.quoted, string.template, punctuation.definition.string.begin, punctuation.definition.string.end | #9AC18A | — |
| constant.numeric, constant.character | #C9A86C | — |
| keyword, keyword.control, keyword.other, storage, storage.type, storage.modifier, keyword.operator.new | #88B0C7 | — |
| entity.name.function, support.function, variable.function, meta.method-call, entity.name.function.member | #D7B87E | — |
| entity.name.class, entity.name.type, entity.name.type.class, entity.name.type.namespace, entity.name.namespace, support.class, support.type | #B7C4D1 | — |
| variable.object.property, variable.other.property, support.variable.property, meta.object-literal.key | #CFC9BD | — |
| entity.name.tag, entity.name.tag.html, entity.other.attribute-name | #D7B87E | — |
| invalid, invalid.illegal | #DE817C | — |
| comment, punctuation.definition.comment | #66635C | italic |
| source, punctuation, punctuation.definition, punctuation.separator, punctuation.terminator, punctuation.section | #DAD7D1 | — |
| string, string.quoted, string.template, punctuation.definition.string.begin, punctuation.definition.string.end | #9AC18A | — |
| constant.numeric, constant.character | #C9A86C | — |
| keyword, keyword.control, keyword.other, storage, storage.type, storage.modifier, keyword.operator.new | #88B0C7 | — |
| entity.name.function, support.function, variable.function, meta.method-call, entity.name.function.member | #D7B87E | — |
| entity.name.class, entity.name.type, entity.name.type.class, entity.name.type.namespace, entity.name.namespace, support.class, support.type | #B7C4D1 | — |
| variable.object.property, variable.other.property, support.variable.property, meta.object-literal.key | #CFC9BD | — |
| entity.name.tag, entity.name.tag.html, entity.other.attribute-name | #D7B87E | — |
| invalid, invalid.illegal | #DE817C | — |
| comment, punctuation.definition.comment | #6F695F | italic |
| string, string.quoted, string.template, punctuation.definition.string.begin, punctuation.definition.string.end | #94C47E | — |
| constant.numeric, constant.language, constant.character, constant.other | #D2B26F | — |
| keyword, keyword.control, keyword.other, storage, storage.type, storage.modifier, keyword.operator.new | #C6A56A | — |
| entity.name.function, support.function, variable.function, meta.method-call, entity.name.function.member | #89BEB5 | — |
| entity.name.class, entity.name.type, entity.name.type.class, entity.name.type.namespace, entity.name.namespace, support.class, support.type | #DDBA79 | — |
| variable.object.property, variable.other.property, support.variable.property, meta.object-literal.key | #8FA7C7 | — |
| invalid, invalid.illegal | #E37C77 | — |
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 | #5A5A88 | italic |
| string, string.quoted, string.template | #95E6CB | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #95E6CB | — |
| constant.numeric | #FFD580 | — |
| constant.language | #FFD580 | — |
| variable.other.constant | #C4A7E7 | — |
| variable, variable.other.readwrite | #D0D0E8 | — |
| variable.parameter | #B8B8D0 | italic |
| variable.language, variable.language.this, variable.language.self | #FF6480 | — |
| keyword, keyword.control, keyword.operator.new, keyword.other | #A277FF | — |
| storage, storage.type, storage.modifier | #A277FF | — |
| keyword.operator, keyword.operator.logical, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.relational, keyword.operator.comparison | #86E1FC | — |
| keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.instanceof, keyword.operator.expression.typeof | #A277FF | — |
| punctuation, punctuation.definition, punctuation.separator, punctuation.terminator, punctuation.section | #B8B8D0 | — |
| entity.name.function, meta.require, support.function, variable.function | #82AAFF | — |
| meta.method-call, meta.method, entity.name.function.member | #82AAFF | — |
| entity.name.class, entity.name.type, entity.name.type.class, support.class, support.type | #FFD580 | — |
| entity.name.type.namespace, entity.name.namespace | #FFD580 | — |
| variable.object.property, variable.other.property, support.variable.property | #C4A7E7 | — |
| meta.object-literal.key | #C4A7E7 | — |
| entity.name.tag | #FF6480 | — |
| entity.other.attribute-name | #FFD580 | — |
| meta.decorator, punctuation.decorator | #95E6CB | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #A277FF | — |
| support.type.property-name.json, meta.structure.dictionary.key.json | #82AAFF | — |
| invalid, invalid.illegal | #FF6480 | — |
| source | #D0D0E8 | — |
| markup.bold | — | bold |
| markup.underline | — | underline |
| markup.strikethrough | — | strikethrough |
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 | #A0978E | italic |
| string, string.quoted, string.template | #16A34A | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #16A34A | — |
| constant.numeric | #D97706 | — |
| constant.language | #D97706 | — |
| variable.other.constant | #7C3AED | — |
| variable, variable.other.readwrite | #3B3B4F | — |
| variable.parameter | #64748B | italic |
| variable.language, variable.language.this, variable.language.self | #DC2626 | — |
| keyword, keyword.control, keyword.operator.new, keyword.other | #6366F1 | — |
| storage, storage.type, storage.modifier | #6366F1 | — |
| keyword.operator, keyword.operator.logical, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.relational, keyword.operator.comparison | #64748B | — |
| keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.instanceof, keyword.operator.expression.typeof | #6366F1 | — |
| punctuation, punctuation.definition, punctuation.separator, punctuation.terminator, punctuation.section | #64748B | — |
| entity.name.function, meta.require, support.function, variable.function | #3B82F6 | — |
| meta.method-call, meta.method, entity.name.function.member | #3B82F6 | — |
| entity.name.class, entity.name.type, entity.name.type.class, support.class, support.type | #D97706 | — |
| variable.object.property, variable.other.property, support.variable.property | #7C3AED | — |
| meta.object-literal.key | #7C3AED | — |
| entity.name.tag | #DC2626 | — |
| entity.other.attribute-name | #D97706 | — |
| meta.decorator, punctuation.decorator | #16A34A | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #6366F1 | — |
| support.type.property-name.json, meta.structure.dictionary.key.json | #3B82F6 | — |
| invalid, invalid.illegal | #DC2626 | — |
| source | #3B3B4F | — |
| markup.bold | — | bold |
| markup.underline | — | underline |
| markup.strikethrough | — | strikethrough |
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 | #6A5A7A | italic |
| string, string.quoted, string.template | #72F1B8 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #72F1B8 | — |
| constant.numeric | #FF9AC1 | — |
| constant.language | #FF9AC1 | — |
| variable.other.constant | #FFD700 | — |
| variable, variable.other.readwrite | #E0D0F0 | — |
| variable.parameter | #B8A8D0 | italic |
| variable.language, variable.language.this, variable.language.self | #FF3860 | — |
| keyword, keyword.control, keyword.operator.new, keyword.other | #FF6AC1 | — |
| storage, storage.type, storage.modifier | #FF6AC1 | — |
| keyword.operator, keyword.operator.logical, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.relational, keyword.operator.comparison | #00E5FF | — |
| keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.instanceof, keyword.operator.expression.typeof | #FF6AC1 | — |
| punctuation, punctuation.definition, punctuation.separator, punctuation.terminator, punctuation.section | #B8A8D0 | — |
| entity.name.function, meta.require, support.function, variable.function | #00E5FF | — |
| meta.method-call, meta.method, entity.name.function.member | #00E5FF | — |
| entity.name.class, entity.name.type, entity.name.type.class, support.class, support.type | #FFD700 | — |
| entity.name.type.namespace, entity.name.namespace | #FFD700 | — |
| variable.object.property, variable.other.property, support.variable.property | #B6B1FF | — |
| meta.object-literal.key | #B6B1FF | — |
| entity.name.tag | #FF6AC1 | — |
| entity.other.attribute-name | #FFD700 | — |
| meta.decorator, punctuation.decorator | #72F1B8 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #FF6AC1 | — |
| support.type.property-name.json, meta.structure.dictionary.key.json | #FF6AC1 | — |
| invalid, invalid.illegal | #FF3860 | — |
| source | #E0D0F0 | — |
| markup.bold | — | bold |
| markup.underline | — | underline |
| markup.strikethrough | — | strikethrough |
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}!`;
}
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}!`;
}