JustCode Theme
Publisher: psxcodeThemes in package: 2
Darcula theme with Grayscale variant
Darcula theme with Grayscale variant
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 |
|---|---|---|
| support.class | #bbb | |
| entity.name.tag | #bbb | italic |
| punctuation.section.embedded | #808080 | |
| entity.other.attribute-name | #555 | |
| text.html | #bbb | |
| text.html entity.name.tag, text.html punctuation.definition.tag | #bbb | |
| text.html punctuation.definition.string | #444 | |
| text.html entity.other.attribute-name | #808080 | |
| constant.numeric | #bbb | |
| storage | #eee | italic |
| keyword | #eee | italic |
| keyword.control.as.js, keyword.control.from, keyword.control.default | #444 | |
| keyword.control.import, keyword.control.export | #808080 | |
| support.type.object.module | #808080 | |
| keyword.operator.new, keyword.operator.expression | #808080 | |
| storage.type.function.arrow | #eee | bold |
| punctuation.definition.parameters | #eee | bold |
| variable.language.this, variable.language.super | #808080 | italic |
| meta.class meta.method.declaration storage.type, storage.type.function | #808080 | italic |
| support.class.console, variable.language.arguments, keyword.other.debugger, support.variable.dom, keyword.operator.expression.delete | #ef596fff | |
| meta.embedded.expression meta.objectliteral, meta.embedded.expression storage.type.function, meta.embedded.expression storage.type.function.arrow | #ef596fff | bold |
| support.function, meta.function-call entity.name.function | #eee | italic |
| punctuation.definition.binding-pattern | #eee | |
| constant.language, support.constant, support.class.builtin | #808080 | italic |
| variable, keyword.operator, entity.other.inherited-class, support.variable.property.process, support.function.console, meta.definition | #bbb | |
| entity.name.type, meta.object.type, meta.type.function punctuation.definition.parameters, meta.type.function storage.type.function.arrow, meta.type.annotation meta.brace.square | #eee | |
| support.type.builtin, support.type.primitive | #eee | italic |
| punctuation.separator, punctuation.accessor, punctuation.terminator | #444 | |
| meta.brace.round, meta.block, meta.class | #444 | |
| punctuation.definition.tag | #808080 | |
| variable.other.property, support.variable.property | #bbb | |
| entity.name.type.class | #bbb | |
| string, string keyword | #808080 | |
| punctuation.definition.string, keyword.control.anchor.regexp | #eee | |
| punctuation.definition.template-expression | #bbb | |
| meta.object-literal.key | #808080 | |
| meta.interface punctuation.definition.block, meta.objectliteral | #eee | bold |
| meta.array.literal | #eee | |
| punctuation.separator.key-value | #eee | |
| meta.method.declaration, meta.definition.method | #bbb | |
| variable.other.object.property, variable.other.object | #555 | |
| punctuation.definition.comment, comment.block.documentation storage.type.class.jsdoc, comment.block.documentation entity.name.type.instance.jsdoc, comment.block.documentation variable.other.jsdoc, comment | #606060 | |
| meta.import string | #808080 | |
| source.json punctuation, source.json punctuation.definition.string, source.json punctuation.support.type.property-name | #444 | |
| source.json punctuation.definition | #bbb | |
| source.json string | #bbb | |
| source.json constant.language | #bbb | italic |
| source.json support.type.property-name | #808080 | |
| support.class | #bbb | |
| entity.name.tag | #bbb | italic |
| punctuation.section.embedded | #808080 | |
| entity.other.attribute-name | #555 | |
| text.html | #bbb | |
| text.html entity.name.tag, text.html punctuation.definition.tag | #bbb | |
| text.html punctuation.definition.string | #444 | |
| text.html entity.other.attribute-name | #808080 | |
| constant.numeric | #bbb | |
| storage | #eee | italic |
| keyword | #eee | italic |
| keyword.control.as.js, keyword.control.from, keyword.control.default | #444 | |
| keyword.control.import, keyword.control.export | #808080 | |
| support.type.object.module | #808080 | |
| keyword.operator.new, keyword.operator.expression | #808080 | |
| storage.type.function.arrow | #eee | bold |
| punctuation.definition.parameters | #eee | bold |
| variable.language.this, variable.language.super | #808080 | italic |
| meta.class meta.method.declaration storage.type, storage.type.function | #808080 | italic |
| support.class.console, variable.language.arguments, keyword.other.debugger, support.variable.dom, keyword.operator.expression.delete | #ef596fff | |
| meta.embedded.expression meta.objectliteral, meta.embedded.expression storage.type.function, meta.embedded.expression storage.type.function.arrow | #ef596fff | bold |
| support.function, meta.function-call entity.name.function | #eee | italic |
| punctuation.definition.binding-pattern | #eee | |
| constant.language, support.constant, support.class.builtin | #808080 | italic |
| variable, keyword.operator, entity.other.inherited-class, support.variable.property.process, support.function.console, meta.definition | #bbb | |
| entity.name.type, meta.object.type, meta.type.function punctuation.definition.parameters, meta.type.function storage.type.function.arrow, meta.type.annotation meta.brace.square | #eee | |
| support.type.builtin, support.type.primitive | #eee | italic |
| punctuation.separator, punctuation.accessor, punctuation.terminator | #444 | |
| meta.brace.round, meta.block, meta.class | #444 | |
| punctuation.definition.tag | #808080 | |
| variable.other.property, support.variable.property | #bbb | |
| entity.name.type.class | #bbb | |
| string, string keyword | #808080 | |
| punctuation.definition.string, keyword.control.anchor.regexp | #eee | |
| punctuation.definition.template-expression | #bbb | |
| meta.object-literal.key | #808080 | |
| meta.interface punctuation.definition.block, meta.objectliteral | #eee | bold |
| meta.array.literal | #eee | |
| punctuation.separator.key-value | #eee | |
| meta.method.declaration, meta.definition.method | #bbb | |
| variable.other.object.property, variable.other.object | #555 | |
| punctuation.definition.comment, comment.block.documentation storage.type.class.jsdoc, comment.block.documentation entity.name.type.instance.jsdoc, comment.block.documentation variable.other.jsdoc, comment | #606060 | |
| meta.import string | #808080 | |
| source.json punctuation, source.json punctuation.definition.string, source.json punctuation.support.type.property-name | #444 | |
| source.json punctuation.definition | #bbb | |
| source.json string | #bbb | |
| source.json constant.language | #bbb | italic |
| source.json support.type.property-name | #808080 | |
| — | #c7d0d9ff | — |
| support.constant.edge | #d55fdeff | — |
| variable.parameter.function | #A6B2C0 | — |
| comment, punctuation.definition.comment | #5C6370 | italic |
| comment markup.link | #5C6370 | — |
| markup.changed.diff | #e0c285 | — |
| meta.diff.header.from-file,punctuation.definition.from-file.diff | #569cd6 | — |
| markup.inserted.diff | #89CA78 | — |
| markup.deleted.diff | #EF596F | — |
| meta.function.c | #EF596F | — |
| keyword.control.cpp | #e5c07b | — |
| punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c | #AAB1C0 | — |
| storage.type.annotation.java | #e5c07bff | — |
| source.java | #EF596F | — |
| punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,storage.type.generic.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,meta.method.body.java | #AAB1C0 | — |
| meta.method.java | #52ADF2 | — |
| storage.modifier.import.java,storage.type.java | #e5c07b | — |
| meta.definition.variable.name.java | #EF596F | — |
| support.constant.property-value.scss,support.constant.property-value.css | #D8985F | — |
| support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss | #D8985F | — |
| punctuation.separator.list.comma.css | #b9c0ca | — |
| support.constant.color.w3c-standard-color-name.css | #D8985F | — |
| support.type.vendored.property-name.css | #2BBAC5 | — |
| keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c | #D55FDEff | — |
| punctuation.separator.delimiter.c | #bbbbbb | — |
| support.type.posix-reserved.c | #57adb8 | — |
| keyword.operator.sizeof.c | #C178DD | — |
| variable.parameter.function.language.python | #D8985F | — |
| support.type.python | #2BBAC5 | — |
| keyword.operator.logical.python | #D55FDE | — |
| meta.function-call.arguments.python | #E06C60 | — |
| meta.function-call.python | #E06C60 | — |
| variable.parameter.function.python | #D18C4E | — |
| punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python,meta.function-call.arguments.python | #AAB1C0 | — |
| meta.function-call.generic.python | #52ADF2 | — |
| constant.character.format.placeholder.other.python | #98c379 | — |
| none | #A6B2C0 | — |
| variable | #EF596F | — |
| token.variable.parameter.java | #AAB1C0 | — |
| import.storage.java | #e5c07b | — |
| entity.name.type.namespace | #e5c07b | — |
| support.class, entity.name.type.class | #bbb | — |
| entity.name.class.identifier.namespace.type | #e5c07b | — |
| token.storage.type.java | #e5c07b | — |
| constant.other.symbol | #2BBAC5 | — |
| constant.numeric | #D8985F | — |
| entity.other.attribute-name.class.css | #D8985F | normal |
| meta.selector | #D55FDE | — |
| none | #D2945D | — |
| markup.heading | #EF596F | bold |
| markup.heading punctuation.definition.heading, entity.name.section | #52ADF2 | — |
| markup.bold,todo.bold | #D8985F | bold |
| punctuation.definition.bold | #e5c07b | — |
| markup.italic,punctuation.definition.italic,todo.emphasis | #D55FDE | — |
| emphasis md | #D55FDE | — |
| entity.name.section.markdown | #EF596F | — |
| punctuation.definition.heading.markdown | #EF596F | — |
| markup.heading.setext | #AAB1C0 | — |
| punctuation.definition.bold.markdown | #D8985F | — |
| markup.inline.raw.markdown | #89CA78 | — |
| markup.inline.raw.string.markdown | #98c379 | — |
| beginning.punctuation.definition.list.markdown | #EF596F | — |
| markup.quote.markdown | #5C6370 | italic |
| punctuation.definition.string.begin.markdown,punctuation.definition.string.end.markdown,punctuation.definition.metadata.markdown | #AAB1C0 | — |
| punctuation.definition.metadata.markdown | #D55FDE | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #D55FDE | — |
| string.other.link.title.markdown,string.other.link.description.markdown | #52ADF2 | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
| punctuation.section.embedded, variable.interpolation | #BE4F44 | — |
| invalid.illegal | #FFFFFF | — |
| invalid.broken | #FFFFFF | — |
| invalid.deprecated | #FFFFFF | — |
| invalid.unimplemented | #FFFFFF | — |
| source.json meta.structure.dictionary.json > string.quoted.json | #EF596F | — |
| source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string | #EF596F | — |
| 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 | #89CA78 | — |
| source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json | #2BBAC5 | — |
| text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade | #C679DD | — |
| text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade | #C679DD | — |
| support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php | #e5c07b | — |
| keyword.operator.error-control.php | #D55FDE | — |
| keyword.operator.type.php | #D55FDE | — |
| punctuation.section.array.begin.php | #AAB1C0 | — |
| punctuation.section.array.end.php | #AAB1C0 | — |
| invalid.illegal.non-null-typehinted.php | #ff0000 | — |
| storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php | #e5c07b | — |
| meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php | #52ADF2 | — |
| punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php | #bbbbbb | — |
| support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php | #D8985F | — |
| entity.name.goto-label.php,support.other.php | #52ADF2 | — |
| keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php | #2BBAC5 | — |
| keyword.operator.regexp.php | #D55FDE | — |
| keyword.operator.comparison.php | #2BBAC5 | — |
| punctuation.definition.variable.php | #EF596F | — |
| keyword.operator.heredoc.php,keyword.operator.nowdoc.php | #D55FDE | — |
| meta.function.decorator.python | #52ADF2 | — |
| support.token.decorator.python,meta.function.decorator.identifier.python | #2BBAC5 | — |
| function.parameter | #D8985F | — |
| function.parameter | #AAB1C0 | — |
| function.brace | #AAB1C0 | — |
| function.parameter.ruby, function.parameter.cs | #AAB1C0 | — |
| rgb-value | #2BBAC5 | — |
| inline-color-decoration rgb-value | #D8985F | — |
| less rgb-value | #D8985F | — |
| selector.sass | #EF596F | — |
| storage.type.cs | #e5c07bff | — |
| entity.name.variable.local.cs | #EF596F | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| punctuation.section.embedded | #d55fde | — |
| meta.template.expression | #aab1c0 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #808080 | — |
| constant.numeric | #6897BB | — |
| entity.name.tag | #FFC66D | — |
| entity.name.tag.css | #FFC66D | — |
| entity.other.attribute-name.class.html, entity.other.attribute-name.class.jade | #9876AA | — |
| 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 | #FFC66D | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #bbb | bold |
| markup.heading | #bbb | — |
| markup.italic | — | italic |
| markup.inserted | #6A8759 | — |
| markup.deleted | #CC7832 | — |
| markup.changed | #bbb | — |
| beginning.punctuation.definition.quote.markdown | #608b4e | — |
| beginning.punctuation.definition.list.markdown | #6796e6 | — |
| markup.inline.raw | #CC7832 | — |
| meta.selector | #FFC66D | — |
| punctuation.definition.tag | #FFC66D | — |
| meta.preprocessor | #CC7832 | — |
| meta.preprocessor.string | #CC7832 | — |
| meta.preprocessor.numeric | #6A8759 | — |
| meta.structure.dictionary.key.python | #9876AA | — |
| meta.diff.header | #CC7832 | — |
| variable.css, variable.scss, variable.other.less, entity.other.inherited-class.php, entity.name.type.class.php, entity.name.type.namespace.php, keyword.operator.key.php, storage.type.php, support.class.builtin.php | #bbb | — |
| support.class.dom, meta.function-call, entity.name.type.module | #bbb | — |
| keyword | #CC7832 | — |
| punctuation.section.embedded.begin.metatag.php, punctuation.section.embedded.end.metatag.php | #CC7832 | — |
| support.function.git-rebase | #9876AA | — |
| constant.sha.git-rebase | #6A8759 | — |
| storage.modifier.import.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #CC7832 | — |
| 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 | #CC7832 | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| 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}!`;
}