JetBrains New UI Dark Theme
Publisher: Felix LjungqvistThemes in package: 1
A theme for Visual Studio Code that aims to replicate the new color scheme of Jetbrains new UI dark theme.
A theme for Visual Studio Code that aims to replicate the new color scheme of Jetbrains new UI dark theme.
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 |
|---|---|---|
| variable.argument.css, punctuation.definition.tag, entity.name.tag, support.function.misc, meta.function.variable.css, meta.property-value.css support.function, meta.selector.css, entity.other.attribute-name.css | #D5B778 | — |
| meta.tag.custom entity.name.tag.html | #2fbaa3 | — |
| keyword.other.unit, punctuation.separator.key-value.html, meta.tag.attributes keyword.operator.assignment | #6AAB73 | — |
| support.type.property-name.json | #C77DBB | — |
| comment.block.documentation, comment.block.javadoc | #5F826B | — |
| entity.other.attribute-name, support.type.property-name.css | #BABABA | — |
| variable.argument.css, punctuation.definition.tag, entity.name.tag, support.function.misc, meta.function.variable.css, meta.property-value.css support.function, meta.selector.css, entity.other.attribute-name.css | #D5B778 | — |
| meta.tag.custom entity.name.tag.html | #2fbaa3 | — |
| keyword.other.unit, punctuation.separator.key-value.html, meta.tag.attributes keyword.operator.assignment | #6AAB73 | — |
| support.type.property-name.json | #C77DBB | — |
| comment.block.documentation, comment.block.javadoc | #5F826B | — |
| entity.other.attribute-name, support.type.property-name.css | #BABABA | — |
| variable.argument.css, punctuation.definition.tag, entity.name.tag, support.function.misc, meta.function.variable.css, meta.property-value.css support.function, meta.selector.css, entity.other.attribute-name.css | #D5B778 | — |
| meta.tag.custom entity.name.tag.html | #2fbaa3 | — |
| keyword.other.unit, punctuation.separator.key-value.html, meta.tag.attributes keyword.operator.assignment | #6AAB73 | — |
| support.type.property-name.json | #C77DBB | — |
| comment.block.documentation, comment.block.javadoc | #5F826B | — |
| entity.other.attribute-name, support.type.property-name.css | #BABABA | — |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #62a3fe | — |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, 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 | #2FBAA3 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #2FBAA3 | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator | #ce8c6b | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #d16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #66A6FF | — |
| keyword.operator.quantifier.regexp | #D5B778 | — |
| constant.character, constant.other.option | #ce8c6b | — |
| constant.character.escape | #D5B778 | — |
| entity.name.label | #C8C8C8 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder | #BCBEC4 | — |
| variable.other.constant, variable.other.enummember | #C77DBB | — |
| meta.object-literal.key | #BCBEC4 | — |
| 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 | #6AAB73 | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #6AAB73 | — |
| variable.argument.css, punctuation.definition.tag, entity.name.tag, support.function.misc, meta.function.variable.css, meta.property-value.css support.function, meta.selector.css, entity.other.attribute-name.css | #D5B778 | — |
| meta.tag.custom entity.name.tag.html | #2fbaa3 | — |
| keyword.other.unit, punctuation.separator.key-value.html, meta.tag.attributes keyword.operator.assignment | #6AAB73 | — |
| support.type.property-name.json | #C77DBB | — |
| comment.block.documentation, comment.block.javadoc | #5F826B | — |
| entity.other.attribute-name, support.type.property-name.css | #BABABA | — |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #62a3fe | — |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, 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 | #2FBAA3 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #2FBAA3 | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator | #ce8c6b | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #d16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #66A6FF | — |
| keyword.operator.quantifier.regexp | #D5B778 | — |
| constant.character, constant.other.option | #ce8c6b | — |
| constant.character.escape | #D5B778 | — |
| entity.name.label | #C8C8C8 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder | #BCBEC4 | — |
| variable.other.constant, variable.other.enummember | #C77DBB | — |
| meta.object-literal.key | #BCBEC4 | — |
| 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 | #6AAB73 | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #6AAB73 | — |
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown | #BCBEC4 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment, string.quoted.docstring | #6f737a | — |
| constant.language | #ce8c6b | — |
| variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #2AACB8 | — |
| constant.numeric | #DDA52D | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #ce8c6b | — |
| entity.name.tag.css | #D5B778 | — |
| markup.changed | #ce8c6b | — |
| punctuation.definition.quote.begin.markdown | #7A7E85 | — |
| punctuation.definition.list.begin.markdown | #6796e6 | — |
| markup.inline.raw | #6AAB73 | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor, entity.name.function.preprocessor | #ce8c6b | — |
| meta.preprocessor.string | #6AAB73 | — |
| meta.preprocessor.numeric | #2AACB8 | — |
| meta.structure.dictionary.key.python | #BCBEC4 | — |
| meta.diff.header | #ce8c6b | — |
| storage | #ce8c6b | — |
| storage.type | #ce8c6b | — |
| storage.modifier, keyword.operator.noexcept | #ce8c6b | — |
| string, meta.embedded.assembly | #6AAB73 | — |
| string.tag | #6AAB73 | — |
| string.value | #6AAB73 | — |
| string.regexp | #d16969 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #ce8c6b | — |
| meta.template.expression | #BCBEC4 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #BCBEC4 | — |
| keyword | #ce8c6b | — |
| keyword.control | #ce8c6b | — |
| keyword.operator | #BCBEC4 | — |
| markup.bold | #ce8c6b | bold |
| markup.heading | #ce8c6b | bold |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #ce8c6b | — |
| keyword.other.unit | #2AACB8 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #ce8c6b | — |
| support.function.git-rebase | #BCBEC4 | — |
| constant.sha.git-rebase | #2AACB8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #BCBEC4 | — |
| variable.language | #ce8c6b | — |
| variable.argument.css, punctuation.definition.tag, entity.name.tag, support.function.misc, meta.function.variable.css, meta.property-value.css support.function, meta.selector.css, entity.other.attribute-name.css | #D5B778 | — |
| keyword.other.unit, punctuation.separator.key-value.html, meta.tag.attributes keyword.operator.assignment | #6AAB73 | — |
| entity.other.attribute-name, support.type.property-name.css | #BABABA | — |
| support.type.property-name.json | #C77DBB | — |
| meta.tag.custom entity.name.tag.html | #2fbaa3 | — |
| vue-html | #2fbaa3 | — |
| comment.block.documentation, comment.block.javadoc | #5F826B | — |
| entity.other.attribute-name | #BCBEC4 | — |
| 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.scss | #D5B778 | — |
| invalid | #FA6675 | — |
| markup.underline | — | underline |
| markup.italic | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #2AACB8 | — |
| markup.deleted | #6AAB73 | — |
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}!`;
}