Skip to main content
VS Code preview Full workbench mockup using this variant's colors and tokenColors.
colors Workbench UI color keys from the theme JSON colors map.
activityBar.activeBackground #33548d activityBar.activeBorder #47bfee activityBar.background #373e49 activityBar.foreground #d7dae0 activityBar.inactiveForeground #e7e7e799 activityBarBadge.background #47bfee tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison #E06C75 — variable.other.generic-type.haskell #C678DD — storage.type.haskell #D19A66 — support.variable.magic.python
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Leone Dark | Coding Theme
activityBarBadge.foreground #33548d
badge.background #282c35
button.background #33548d
button.foreground #d7dae0
button.secondaryBackground #404754
button.secondaryForeground #d7dae0
debugToolBar.background #212530
diffEditor.insertedTextBackground #00809b33
dropdown.background #2E343F
dropdown.border #333944
editor.background #212530
editor.findMatchBackground #111
editor.findMatchBorder #f0a45d
editor.findMatchHighlightBackground #111
editor.findMatchHighlightBorder #47bfee
editor.foreground #abb2bf
editor.lineHighlightBackground #2c313c
editor.selectionBackground #455368
editor.selectionForeground #f00
editor.selectionHighlightBackground #2c313c
editor.selectionHighlightBorder #00000000
editor.wordHighlightBackground #00000000
editor.wordHighlightBorder #00000000
editor.wordHighlightStrongBackground #00000000
editor.wordHighlightStrongBorder #00000000
editorBracketMatch.background #515a6b
editorBracketMatch.border #515a6b
editorCursor.background #ffffffc9
editorCursor.foreground #528bff
editorError.foreground #c24038
editorGroup.border #181a1f
editorGroup.dropBackground #00000060
editorGroup.emptyBackground #181a1f
editorGroupHeader.tabsBackground #1C202B
editorGutter.addedBackground #50AF8E
editorGutter.deletedBackground #e05561
editorGutter.modifiedBackground #518ec7
editorHoverWidget.background #212530
editorHoverWidget.border #181a1f
editorIndentGuide.activeBackground #c8c8c859
editorIndentGuide.background #3b4048
editorInlayHint.background #67769630
editorInlayHint.foreground #65738b
editorLineNumber.activeForeground #737984
editorLineNumber.foreground #495162
editorMarkerNavigation.background #212530
editorRuler.foreground #abb2bf26
editorSuggestWidget.background #212530
editorSuggestWidget.border #181a1f
editorSuggestWidget.selectedBackground #2c313a
editorWarning.foreground #d19a66
editorWhitespace.foreground #3b4048
editorWidget.background #212530
focusBorder #252A35
gitDecoration.deletedResourceForeground #ff616e
gitDecoration.ignoredResourceForeground #4C4C4C
gitDecoration.modifiedResourceForeground #61AFEF
gitDecoration.untrackedResourceForeground #7CCA8D
input.background #2A2F3A
inputOption.activeForeground #47bfee
list.activeSelectionBackground #383e4a
list.activeSelectionForeground #fff
list.focusBackground #383e4a
list.focusForeground #cacaca
list.highlightForeground #f0a45d
list.hoverBackground #292d37
list.hoverForeground #cacaca
list.inactiveSelectionBackground #2c313a
list.inactiveSelectionForeground #d7dae0
list.warningForeground #d19a66
menu.foreground #c8c8c8
panelSectionHeader.background #212530
peekViewEditor.background #1b1d23
peekViewEditor.matchHighlightBackground #29244b
peekViewResult.background #20252E
sash.hoverBorder #33548d
scrollbarSlider.activeBackground #747d9180
scrollbarSlider.background #4e566660
scrollbarSlider.hoverBackground #5a637580
sideBar.background #1c202b
sideBar.border #252A35
sideBar.foreground #8C8C8C
sideBarSectionHeader.background #2E343F
sideBarSectionHeader.border #252A35
statusBar.background #33548d
statusBar.debuggingBackground #50AF8E
statusBar.debuggingBorder #32746d
statusBar.debuggingForeground #000000
statusBar.foreground #e7e7e7
statusBar.noFolderBackground #212530
statusBarItem.hoverBackground #2c313a
statusBarItem.remoteBackground #4d78cc
statusBarItem.remoteForeground #f8fafd
tab.activeBackground #252A35
tab.activeBorderTop #47bfee
tab.activeForeground #dcdcdc
tab.border #212530
tab.hoverBackground #2A2F3A
tab.inactiveBackground #2E343F
tab.unfocusedHoverBackground #323842
terminal.ansiBlack #3f4451
terminal.ansiBlue #61AFEF
terminal.ansiBrightBlack #4f5666
terminal.ansiBrightBlue #47bfee
terminal.ansiBrightCyan #4CD1E0
terminal.ansiBrightGreen #a5e075
terminal.ansiBrightMagenta #de73ff
terminal.ansiBrightRed #ff616e
terminal.ansiBrightWhite #d7dae0
terminal.ansiBrightYellow #f0a45d
terminal.ansiCyan #56B6C2
terminal.ansiGreen #50AF8E
terminal.ansiMagenta #c162de
terminal.ansiRed #E06C75
terminal.ansiWhite #e6e6e6
terminal.ansiYellow #E5C07B
terminal.background #212530
terminal.border #373E49
terminal.foreground #abb2bf
terminal.selectionBackground #abb2bf30
textLink.foreground #61AFEF
titleBar.activeBackground #212530
titleBar.activeForeground #e7e7e7
titleBar.inactiveBackground #373E49
titleBar.inactiveForeground #e7e7e7 #E06C75
punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python #ABB2BF —
variable.parameter.function.language.special.self.python #E5C07B —
storage.modifier.lifetime.rust #ABB2BF —
support.function.std.rust #61AFEF —
entity.name.lifetime.rust #E5C07B —
variable.language.rust #E06C75 —
support.constant.edge #C678DD —
constant.other.character-class.regexp #E06C75 —
keyword.operator.quantifier.regexp #D19A66 —
punctuation.definition.string.begin,punctuation.definition.string.end #E5C07B —
variable.parameter.function #ABB2BF —
comment markup.link #5C6370 —
markup.changed.diff #E5C07B —
meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff #61AFEF —
markup.inserted.diff #98C379 —
markup.deleted.diff #E06C75 —
meta.function.c,meta.function.cpp #E06C75 —
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 #ABB2BF —
punctuation.separator.key-value #ABB2BF —
keyword.operator.expression.import #61AFEF —
support.constant.math #E5C07B —
support.constant.property.math #D19A66 —
variable.other.constant #E5C07B —
storage.type.annotation.java, storage.type.object.array.java #E5C07B —
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,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,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java #ABB2BF —
storage.modifier.import.java,storage.type.java,storage.type.generic.java #E5C07B —
keyword.operator.instanceof.java #C678DD —
meta.definition.variable.name.java #E06C75 —
keyword.operator.logical #56B6C2 —
keyword.operator.bitwise #56B6C2 —
keyword.operator.channel #56B6C2 —
support.constant.property-value.scss,support.constant.property-value.css #C678DD —
keyword.operator.css,keyword.operator.scss,keyword.operator.less #56B6C2 —
support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss #D19A66 —
punctuation.separator.list.comma.css #ABB2BF —
support.constant.color.w3c-standard-color-name.css #D19A66 —
support.type.vendored.property-name.css #56B6C2 —
support.module.node,support.type.object.module,support.module.node #E06C75 —
entity.name.type.module #E5C07B —
variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node #E06C75 —
meta.object-literal.key #A9DEF9 —
support.constant.json #D19A66 —
keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof #C678DD —
support.type.object.console #E06C75 —
support.variable.property.process #D19A66 —
entity.name.function,support.function.console #61AFEF —
keyword.operator.misc.rust #ABB2BF —
keyword.operator.sigil.rust #C678DD —
keyword.operator.delete #C678DD —
support.type.object.dom #56B6C2 —
support.variable.dom,support.variable.property.dom #E06C75 —
keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational #56B6C2 —
keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp #C678DD —
punctuation.separator.delimiter #ABB2BF —
punctuation.separator.c,punctuation.separator.cpp #C678DD —
support.type.posix-reserved.c,support.type.posix-reserved.cpp #56B6C2 —
keyword.operator.sizeof.c,keyword.operator.sizeof.cpp #C678DD —
variable.parameter.function.language.python #D19A66 —
support.type.python #56B6C2 —
keyword.operator.logical.python #C678DD —
variable.parameter.function.python #D19A66 —
punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python #ABB2BF —
meta.function-call.generic.python #61AFEF —
constant.character.format.placeholder.other.python #D19A66 —
keyword.operator.assignment.compound #C678DD —
keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts #56B6C2 —
entity.name.namespace #E5C07B —
source.css.scss variable, text.html.derivative variable.other, text.html.derivative variable.other.readwrite #E5C07B —
variable.language #E06C75 —
token.variable.parameter.java #ABB2BF —
import.storage.java #E5C07B —
token.package.keyword #C678DD —
entity.name.function, meta.require, support.function.any-method, variable.function #61AFEF —
entity.name.type.namespace #E5C07B —
source.ts meta.class.ts meta.field.declaration.ts meta.type.annotation.ts entity.name.type.ts #E5C07B —
entity.name.class.identifier.namespace.type #E5C07B —
entity.name.class, variable.other.class.js, variable.other.class.ts #E5C07B —
variable.other.class.php #E06C75 —
meta.class entity.name.type.class #4CD1E0 —
control.elements, keyword.operator.less #D19A66 —
keyword.other.special-method #61AFEF —
keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void #C678DD —
token.storage.type.java #E5C07B —
support.type.property-name #A9DEF9 —
support.constant.property-value #ABB2BF —
support.constant.font-name #D19A66 —
entity.other.inherited-class #E5C07B —
constant.other.symbol #56B6C2 —
punctuation.definition.constant #D19A66 —
entity.name.tag.yaml #50AF8E —
entity.other.attribute-name #98C379 italic
entity.other.attribute-name.parent-selector-suffix #D19A66 italic
entity.other.attribute-name.id #98C379 —
entity.other.attribute-name.class #D19A66
markup.heading punctuation.definition.heading, entity.name.section #61AFEF —
keyword.other.unit #2EA7B7 —
markup.bold,todo.bold #D19A66 —
punctuation.definition.bold, punctuation.definition.block.ts #E5C07B —
punctuation.definition.ng-binding-name.begin, punctuation.definition.ng-binding-name.end, meta.ng-binding.property #98C379 —
markup.italic, punctuation.definition.italic,todo.emphasis #C678DD —
entity.name.section.markdown #E06C75 —
punctuation.definition.heading.markdown #E06C75 —
punctuation.definition.list.begin.markdown #E06C75 —
markup.heading.setext #ABB2BF —
punctuation.definition.bold.markdown #D19A66 —
markup.inline.raw.markdown #98C379 —
markup.inline.raw.string.markdown #98C379 —
punctuation.definition.list.markdown #E06C75 —
punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown #E06C75 —
beginning.punctuation.definition.list.markdown #E06C75 —
punctuation.definition.metadata.markdown #E06C75 —
markup.underline.link.markdown,markup.underline.link.image.markdown #C678DD —
string.other.link.title.markdown,string.other.link.description.markdown #61AFEF —
constant.character.escape #56B6C2 —
punctuation.section.embedded, variable.interpolation #E06C75 —
punctuation.section.embedded.begin,punctuation.section.embedded.end #C678DD —
invalid.illegal.bad-ampersand.html #ABB2BF —
invalid.deprecated #FFFFFF —
invalid.unimplemented #FFFFFF —
source.json meta.structure.dictionary.json > string.quoted.json #E06C75 —
source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string #E06C75 —
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 #98C379 —
source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json #56B6C2 —
support.type.property-name.json #A9DEF9 —
support.type.property-name.json punctuation #A9DEF9 —
text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade #C678DD —
text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade #C678DD —
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 #C678DD —
keyword.operator.type.php #C678DD —
punctuation.section.array.begin.php #ABB2BF —
punctuation.section.array.end.php #ABB2BF —
invalid.illegal.non-null-typehinted.php #F44747 —
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 #61AFEF —
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 #ABB2BF —
support.constant.core.rust #D19A66 —
support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php #D19A66 —
entity.name.goto-label.php,support.other.php #61AFEF —
keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php #56B6C2 —
keyword.operator.regexp.php #C678DD —
keyword.operator.comparison.php #56B6C2 —
keyword.operator.heredoc.php,keyword.operator.nowdoc.php #C678DD —
meta.function.decorator.python #61AFEF —
support.token.decorator.python,meta.function.decorator.identifier.python #56B6C2 —
function.parameter #ABB2BF —
function.parameter.ruby, function.parameter.cs #ABB2BF —
constant.language.symbol.ruby #56B6C2 —
inline-color-decoration rgb-value #D19A66 —
support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx #98C379 —
block.scope.end,block.scope.begin #ABB2BF —
entity.name.variable.local.cs #E06C75 —
token.error-token #F44747 —
token.debug-token #C678DD —
punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded #C678DD —
meta.template.expression #ABB2BF —
keyword.operator.module #C678DD —
support.type.type.flowtype #61AFEF —
support.type.primitive #E5C07B —
meta.property.object #E06C75 —
variable.parameter.function.js #E06C75 —
keyword.other.template.begin #98C379 —
keyword.other.template.end #98C379 —
keyword.other.substitution.begin #98C379 —
keyword.other.substitution.end #98C379 —
keyword.operator.assignment #56B6C2 —
keyword.operator.assignment.go, keyword.operator.address.go #E5C07B —
entity.name.package.go #E5C07B —
support.type.prelude.elm #56B6C2 —
support.constant.elm #D19A66 —
punctuation.quasi.element #C678DD —
constant.character.entity #E06C75 —
entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class #56B6C2 —
entity.global.clojure #E5C07B —
meta.symbol.clojure #E06C75 —
constant.keyword.clojure #56B6C2 —
meta.arguments.coffee, variable.parameter.function.coffee #E06C75 —
meta.scope.prerequisites.makefile #E06C75 —
storage.modifier.import.groovy #E5C07B —
meta.method.groovy #61AFEF —
meta.definition.variable.name.groovy #E06C75 —
meta.definition.class.inherited.classes.groovy #98C379 —
support.variable.semantic.hlsl #E5C07B —
support.type.texture.hlsl, support.type.sampler.hlsl, support.type.object.hlsl, support.type.object.rw.hlsl, support.type.fx.hlsl, support.type.object.hlsl #C678DD —
text.variable, text.bracketed #E06C75 —
support.type.swift, support.type.vb.asp #E5C07B —
entity.name.function.xi #E5C07B —
entity.name.class.xi #56B6C2 —
constant.character.character-class.regexp.xi #E06C75 —
constant.regexp.xi #C678DD —
keyword.control.xi #56B6C2 —
beginning.punctuation.definition.quote.markdown.xi #98C379 —
beginning.punctuation.definition.list.markdown.xi #7F848E —
constant.character.xi #61AFEF —
constant.other.color.rgb-value.xi #FFFFFF —
punctuation.definition.tag.xi #5C6370 —
entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition #E5C07B —
entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown #E06C75 —
meta.brace.square #ABB2BF —
comment, punctuation.definition.comment #7F848E italic
markup.quote.markdown #5C6370 —
punctuation.definition.block.sequence.item.yaml #ABB2BF —
constant.language.symbol.elixir #56B6C2 —
entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super — italic
comment.line.double-slash,comment.block.documentation — italic
keyword.control.import.python,keyword.control.flow.python — italic
markup.italic.markdown — italic
comment, comment punctuation.definition.comment — —
constant.numeric.css #4cd1e0 —
entity.name.utility.tailwind #E5C07B —
source.dockerfile, source.ignore #A9DEF9 —
entity.name.type.interface #2EA7B7 —
variable.parameter #50AF8E —
variable.other.readwrite.ts, variable.other.readwrite.alias #CACACA —
variable.other.readwrite.ts, variable.other.readwrite.alias #CACACA —
meta.object.member variable.other.readwrite.ts #E5C07B —
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 } !` ;
}
Ln 5, Col 12
Spaces: 2
UTF-8
LF
TypeScript
Dark+
fetchUser.ts
index.ts
README.md
src
components
fetchUser.ts
Button.tsx
Modal.tsx
hooks
utils
index.ts
public
README.md
src
components
fetchUser.ts
fetchUser 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Problems1
Output
Debug Console
Terminal
Ports
~/my-project $ pnpm dev
▲ Next.js ready on http://localhost:3000
✓ compiled client and server successfully in 412ms
wait - compiling /theme/vscode...
~/my-project $
package.json
tsconfig.json
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 } !` ;
}