IntelliJ-ish Darcula Theme
Publisher: csantiago132Themes in package: 1
A theme extension for Visual Studio Code based on Darcula theme from Jetbrains IDE's.
A theme extension for Visual Studio Code based on Darcula theme from Jetbrains IDE's.
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | — |
| header | #000080 | — |
| comment.line, comment.block | #808080 | normal |
| comment.block.preprocessor, comment.block.documentation, comment.block.documentation entity.name.type.instance, comment.block.documentation variable.other, comment.block.documentation keyword.other.type, comment.block.documentation support.class, comment.block.documentation punctuation.separator.delimiter, string.quoted.docstring.multi.python | #808080 | italic |
| comment.line keyword.codetag.notation, comment.block.documentation keyword.other, comment.block.documentation storage.type.class | #77B767 | italic |
| comment.line.scss, comment.block.scss | #BC9455 | normal |
| constant.language | #db7e32 | — |
| constant.numeric | #6897BB | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #E8BF69 | — |
| entity.name.tag.css | #d7ba7d | — |
| entity.other.attribute-name | #BABABA | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #d7ba7d | — |
| constant.other.class, entity.name.class, entity.name.function.sql, entity.name.type, entity.other.inherited-class, meta.definition.variable.js, meta.definition.variable.ts, meta.function-call.static, meta.return-type, punctuation.definition.tag.apacheconf, punctuation.separator.key-value.js, punctuation.separator.key-value.ts, source.php meta.function-call.php entity.name.function.php, source.php punctuation.definition.arguments.begin.bracket.round.php, source.php punctuation.definition.arguments.end.bracket.round.php, source.php punctuation.definition.begin.bracket.round.php, source.php punctuation.definition.end.bracket.round.php, source.php punctuation.section.array.begin.php, source.php punctuation.section.array.end.php, source.php string.quoted.double.php punctuation.definition.variable.php, source.php string.unquoted.heredoc.php punctuation.definition.variable.php, storage.modifier.import.java punctuation.separator.java, storage.modifier.import.java, storage.modifier.package.java punctuation.separator.java, storage.modifier.package.java, storage.type.cs, storage.type.generic.cs, storage.type.generic.groovy, storage.type.generic.java, storage.type.groovy, storage.type.java, storage.type.modifier.cs, storage.type.object.array.groovy, storage.type.object.array.java, storage.type.parameters.groovy, storage.type.primitive.array.groovy, storage.type.primitive.array.java, storage.type.primitive.groovy, storage.type.primitive.java, storage.type.token.java, storage.type.variable.cs, support.class, support.constant.core, support.constant.ext, support.constant.math, support.constant.std, support.type, variable.other.object.js, variable.other.object.ts, variable.other.readwrite.js, variable.other.readwrite.ts | #A9B7C6 | normal |
| storage.type.string.ts | #008080 | normal |
| variable.parameter.js, variable.parameter.smarty, variable.parameter.ts | #BDC9D6 | normal |
| invalid | #EC5F67 | — |
| markup.underline | — | underline |
| markup.bold | #A9B7C6 | — |
| markup.heading | #A9B7C6 | — |
| markup.italic | — | italic |
| markup.inserted | #b5cea8 | — |
| markup.deleted | #ce9178 | — |
| markup.changed | #A9B7C6 | — |
| beginning.punctuation.definition.quote.markdown | #669651 | — |
| beginning.punctuation.definition.list.markdown | #6796e6 | — |
| markup.inline.raw | #ce9178 | — |
| meta.selector | #d7ba7d | — |
| punctuation.definition.tag | #ebb662 | — |
| meta.preprocessor | #db7e32 | — |
| meta.preprocessor.string | #ce9178 | — |
| meta.preprocessor.numeric | #b5cea8 | — |
| meta.structure.dictionary.key.python | #BF93D8 | — |
| meta.diff.header | #db7e32 | — |
| storage | red | — |
| storage.type | #db7e32 | — |
| keyword.other.phpdoc.php, keyword.other.type.php, storage.type.class.jsdoc, entity.name.type.instance.jsdoc, variable.other.jsdoc | #929DA8 | — |
| storage.modifier | #db7e32 | — |
| string | #7CB961 | — |
| string.tag | #7CB961 | — |
| string.value | #7CB961 | — |
| string.regexp | #7CB961 | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #A9B7C6 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less | #BF93D8 | — |
| variable.other.property, support.variable.property.dom, entity.other.inherited-class | #BF93D8 | — |
| variable.other.object, variable.other.object.property, support.class.dom, meta.function-call, entity.name.type.module | #A9B7C6 | — |
| variable.other.readwrite, variable.other.constant.ts, variable.parameter, variable.other.readwrite.alias | #A9B7C6 | — |
| keyword | #db7e32 | — |
| keyword.control | #db7e32 | — |
| keyword.operator | #A9B7C6 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python | #db7e32 | — |
| keyword.other.unit | #b5cea8 | — |
| punctuation.section.embedded.begin.metatag.php, punctuation.section.embedded.end.metatag.php | #db7e32 | — |
| support.function.git-rebase | #BF93D8 | — |
| constant.sha.git-rebase | #b5cea8 | — |
| storage.modifier.import.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #db7e32 | italic |
| source.python | #A9B7C6 | — |
| support.function.magic.python | #BF93D8 | — |
| variable.language.special.self.python, variable.parameter.function.language.special.self.python | #BF93D8 | |
| entity.name.function.python, meta.function-call.generic.python | #ebb662 | — |
| entity.name.function, support.function, support.constant.handlebars | #f7d064 | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #bb4ec9 | — |
| support.class, entity.name.class, support.type, entity.name.type | #ebb662 | — |
| storage.type.function.arrow | #A9B7C6 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json | #4EC9B0 | — |
| keyword.control | #db7e32 | — |
| meta.definition.variable.name, support.variable | #A9B7C6 | — |
| variable | #BF93D8 | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function | #BF93D8 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #CE9178 | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #EC5F67 | — |
| token.debug-token | #b267e6 | — |
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}!`;
}