Carina Dark Theme
Publisher: Ivan PavlovThemes in package: 1
Dracula based dark theme, but more colorful.
Dracula based dark theme, but more colorful.
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, meta.diff, meta.diff.header | #6272A4 | — |
| string, meta.structure.dictionary.value.json string.quoted.double.json | #F1FA8C | — |
| constant.numeric, constant.language, support.function, constant.character, constant.other, support.constant, constant.numeric.line-number.find-in-files - match, meta meta meta meta.structure.dictionary.value string | #BD93F9 | — |
| support.function.builtin.agg | #8BE9FD | — |
| variable | — | |
| variable.other.readwrite.instance, meta.attribute.powershell, variable.other.readwrite.powershell, variable.parameter.function.language.python, variable.parameter.java, variable.parameter.scala, meta.parameters.js, variable.other.jinja, variable.other.declaration.scala, meta.definition.variable.java, meta meta.structure.dictionary.value string, meta meta meta meta meta meta.structure.dictionary.value string | #FFB86C | — |
| meta.hashtable.assignment.powershell | #777777 | — |
| variable.other.member.powershell | #60c1d6 | — |
| variable.parameter.attribute.powershell, entity.name.function.decorator.python | #FFB86C | italic |
| constant.character.escaped, constant.character.escape, keyword, storage, entity.name.tag, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.name.tag.html, meta meta meta meta meta.structure.dictionary.value string | #FF79C6 | — |
| storage.type, punctuation.bracket.square.java, punctuation.definition.annotation.java, punctuation.bracket.angle.java, support.type, support.other.variable, support.type.vendored.property-name.css, meta.property-name.css, meta.property-list.css | #8BE9FD | italic |
| storage.type.generic.java | #65a7bb | bold |
| entity.name.class | #50FA7B | underline |
| entity.other.inherited-class | #50FA7B | italic underline |
| meta.member.access.python | #e7cbe1 | — |
| entity.other.attribute-name, markup.inserted, meta meta meta.structure.dictionary.value string, meta meta meta meta meta meta meta.structure.dictionary.value string | #50FA7B | — |
| invalid, invalid.deprecated | #F8F8F0 | — |
| markup.deleted | #d66ddd | — |
| markup.changed | #E6DB74 | — |
| entity.name.filename | #E6DB74 | — |
| message.error | #F83333 | — |
| punctuation.definition.string.begin.json - meta.structure.dictionary.value.json, punctuation.definition.string.end.json - meta.structure.dictionary.value.json | #EEEEEE | — |
| meta.structure.dictionary.json string.quoted.double.json | #8BE9FD | — |
| meta.object-literal.key.js, meta.function-call.arguments.python, meta.indexed-name.python, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.css, entity.other.attribute-name.pseudo-element.css | #FFCC99 | — |
| storage.modifier.package.java | #FFCC99 | bold underline |
| meta.function-call.python, support.function.aggregate.sql, meta.function-call.java, meta.method-call.java, source.scala entity.name.class, source.scala entity.other.inherited-class.scala | #8BE9FD | — |
| variable.language.special.self.python, support.function.conversion.sql, support.function.system.sql, support.function.string.sql, entity.name.function.python, meta.method.identifier.java, support.function.builtin.python, entity.name.function.js, entity.name.function.powershell, entity.name.function.declaration, variable.language.this.java, entity.other.attribute-name.class.css, entity.other.attribute-name.css, entity.other.attribute-name.html, variable.language.scala | #6EE3A9 | — |
| support.function.magic.python | #6EE3A9 | bold |
| variable.other.object.java, storage.modifier.import.java | #ffffff | — |
| storage.type.function.python, storage.type.class.python, entity.name.type.class.python, storage.type.powershell, entity.name.type.class.java, constant.other.database-name.sql, keyword.declaration.scala, entity.name.class.declaration, variable.other.object.js | #D9534F | bold |
| comment.line.number-sign.python, comment.block.css, comment.line.double-slash.scala, comment.line.double-dash.sql, string.quoted.docstring.multi.python, comment.line.double-slash.js | #747474 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| variable.other.jinja.attribute, keyword.control.jinja, entity.other.jinja.delimiter.tag, entity.other.jinja.delimiter.variable | #4cc0da | bold |
| meta.embedded.line.css | #858585 | — |
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}!`;
}