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.background #1e1f22 activityBar.border #232429 activityBar.foreground #d7dae0 activityBarBadge.background #4d78cc activityBarBadge.foreground #f8fafd badge.background #232429 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle meta.embedded #CECDCE — 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 #fd7175 — variable.other.generic-type.haskell #d881de — storage.type.haskell #d19a66
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
NewDarkTheme — NewDarkTheme
button.background
#36373d
button.secondaryBackground #303038
button.secondaryForeground #c0bdbd
checkbox.border #36373d
debugToolBar.background #1e1f22
descriptionForeground #CECDCE
diffEditor.insertedTextBackground #00809b33
dropdown.background #1e1f22
dropdown.border #1e1f22
editor.background #1e1f22
editor.findMatchBackground #42557b
editor.findMatchBorder #457dff
editor.findMatchHighlightBackground #6199ff2f
editor.foreground #CECDCE
editor.lineHighlightBackground #2C2E37
editor.selectionBackground #67769660
editor.selectionHighlightBackground #ffffff10
editor.selectionHighlightBorder #dddddd
editor.wordHighlightBackground #d2e0ff2f
editor.wordHighlightBorder #7f848e
editor.wordHighlightStrongBackground #CECDCE26
editor.wordHighlightStrongBorder #7f848e
editorBracketHighlight.foreground1 #d19a66
editorBracketHighlight.foreground2 #d881de
editorBracketHighlight.foreground3 #71ced7
editorBracketMatch.background #515a6b
editorBracketMatch.border #515a6b
editorCursor.background #ffffffc9
editorCursor.foreground #528bff
editorError.foreground #c24038
editorGroup.border #181a1f
editorGroupHeader.tabsBackground #1e1f22
editorGutter.addedBackground #109868
editorGutter.deletedBackground #9A353D
editorGutter.modifiedBackground #948B60
editorHoverWidget.background #1e1f22
editorHoverWidget.border #181a1f
editorHoverWidget.highlightForeground #749DED
editorIndentGuide.activeBackground #c8c8c859
editorIndentGuide.background #3b4048
editorInlayHint.background #2C2E37
editorInlayHint.foreground #CECDCE
editorLineNumber.activeForeground #CECDCE
editorLineNumber.foreground #495162
editorMarkerNavigation.background #1e1f22
editorRuler.foreground #CECDCE26
editorSuggestWidget.background #1e1f22
editorSuggestWidget.border #181a1f
editorSuggestWidget.selectedBackground #222428
editorWarning.foreground #d19a66
editorWhitespace.foreground #ffffff1d
editorWidget.background #1e1f22
focusBorder #343740
gitDecoration.ignoredResourceForeground #636b78
input.background #1e1f22
input.foreground #CECDCE
list.activeSelectionBackground #222428
list.activeSelectionForeground #d7dae0
list.focusBackground #222428
list.focusForeground #f0f0f0
list.highlightForeground #ecebeb
list.hoverBackground #222428
list.hoverForeground #CECDCE
list.inactiveSelectionBackground #222428
list.inactiveSelectionForeground #d7dae0
list.warningForeground #d19a66
menu.foreground #CECDCE
menu.separatorBackground #343a45
minimapGutter.addedBackground #109868
minimapGutter.deletedBackground #9A353D
minimapGutter.modifiedBackground #948B60
panel.border #343740
panelSectionHeader.background #1e1f22
peekViewEditor.background #1b1d23
peekViewEditor.matchHighlightBackground #29244b
peekViewResult.background #22262b
scrollbar.shadow #23252c
scrollbarSlider.activeBackground #747d9180
scrollbarSlider.background #4e566660
scrollbarSlider.hoverBackground #5a637580
settings.focusedRowBackground #232429
settings.headerForeground #fff
sideBar.background #1a1b1c
sideBar.border #232429
sideBar.foreground #CECDCE
sideBarSectionHeader.background #1e1f22
sideBarSectionHeader.foreground #CECDCE
statusBar.background #1e1f22
statusBar.border #232429
statusBar.debuggingBackground #cc6633
statusBar.debuggingBorder #ff000000
statusBar.debuggingForeground #ffffff
statusBar.foreground #CECDCE
statusBar.noFolderBackground #1e1f22
statusBarItem.remoteBackground #4d78cc
statusBarItem.remoteForeground #f8fafd
tab.activeBackground #232429
tab.activeBorder #b4b4b4
tab.activeForeground #dcdcdc
tab.border #181a1f
tab.hoverBackground #222428
tab.inactiveBackground #1e1f22
tab.unfocusedHoverBackground #222428
terminal.ansiBlack #21222C
terminal.ansiBlue #BD93F9
terminal.ansiBrightBlack #6272A4
terminal.ansiBrightBlue #D6ACFF
terminal.ansiBrightCyan #A4FFFF
terminal.ansiBrightGreen #69FF94
terminal.ansiBrightMagenta #FF92DF
terminal.ansiBrightRed #FF6E6E
terminal.ansiBrightWhite #FFFFFF
terminal.ansiBrightYellow #FFFFA5
terminal.ansiCyan #8BE9FD
terminal.ansiGreen #5bf78c
terminal.ansiMagenta #FF79C6
terminal.ansiRed #FF5555
terminal.ansiWhite #F8F8F2
terminal.ansiYellow #F1FA8C
terminal.background #1e1f22
terminal.border #232429
terminal.foreground #CECDCE
terminal.selectionBackground #CECDCE30
textBlockQuote.background #2e3440
textBlockQuote.border #4b5362
textLink.foreground #57a2dd
textPreformat.foreground #d19a66
titleBar.activeBackground #1e1f22
titleBar.activeForeground #CECDCE
titleBar.border #232429
titleBar.inactiveBackground #1e1f22
titleBar.inactiveForeground #6b717d
tree.indentGuidesStroke #ffffff1d
walkThrough.embeddedEditorBackground #2e3440 support.variable.magic.python #fd7175 —
punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python #b5bfcb —
variable.parameter.function.language.special.self.python #e5c07b —
variable.parameter.function.language.special.cls.python #e5c07b —
storage.modifier.lifetime.rust #b5bfcb —
support.function.std.rust #749DED —
entity.name.lifetime.rust #e5c07b —
variable.language.rust #fd7175 —
support.constant.edge #d881de —
constant.other.character-class.regexp #fd7175 —
keyword.operator.word #d881de —
keyword.operator.quantifier.regexp #d19a66 —
variable.parameter.function #b5bfcb —
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 #749DED —
markup.inserted.diff #7EC482 —
markup.deleted.diff #fd7175 —
meta.function.c,meta.function.cpp #fd7175 —
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 #b5bfcb —
punctuation.separator.key-value #b5bfcb —
keyword.operator.expression.import #749DED —
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 #b5bfcb —
storage.modifier.import.java,storage.type.java,storage.type.generic.java #e5c07b —
keyword.operator.instanceof.java #d881de —
meta.definition.variable.name.java #fd7175 —
keyword.operator.logical #b5bfcb —
keyword.operator.bitwise #b5bfcb —
keyword.operator.channel #71ced7 —
support.constant.property-value.scss,support.constant.property-value.css #d19a66 —
keyword.operator.css,keyword.operator.scss,keyword.operator.less #71ced7 —
support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss #d19a66 —
punctuation.separator.list.comma.css #b5bfcb —
support.constant.color.w3c-standard-color-name.css #d19a66 —
support.type.vendored.property-name.css #71ced7 —
support.module.node,support.type.object.module,support.module.node #e5c07b —
entity.name.type.module #e5c07b —
variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node #fd7175 —
support.constant.json #d19a66 —
keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof #d881de —
support.type.object.console #fd7175 —
support.variable.property.process #d19a66 —
entity.name.function,support.function.console #749DED —
keyword.operator.misc.rust #b5bfcb —
keyword.operator.sigil.rust #d881de —
keyword.operator.delete #d881de —
support.type.object.dom #71ced7 —
support.variable.dom,support.variable.property.dom #fd7175 —
keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational #b5bfcb —
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 #b5bfcb —
punctuation.separator.delimiter #b5bfcb —
punctuation.separator.c,punctuation.separator.cpp #d881de —
support.type.posix-reserved.c,support.type.posix-reserved.cpp #71ced7 —
keyword.operator.sizeof.c,keyword.operator.sizeof.cpp #d881de —
variable.parameter.function.language.python #d19a66 —
support.type.python #71ced7 —
keyword.operator.logical.python #d881de —
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 #b5bfcb —
meta.function-call.generic.python #749DED —
constant.character.format.placeholder.other.python #d19a66 —
keyword.operator.assignment.compound #d881de —
keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts #71ced7 —
entity.name.namespace #e5c07b —
variable.language #e5c07b —
token.variable.parameter.java #b5bfcb —
import.storage.java #e5c07b —
token.package.keyword #d881de —
entity.name.function, meta.require, support.function.any-method, variable.function #749DED —
entity.name.type.namespace #e5c07b —
support.class, entity.name.type.class #e5c07b —
entity.name.class.identifier.namespace.type #e5c07b —
entity.name.class, variable.other.class.js, variable.other.class.ts #e5c07b —
variable.other.class.php #fd7175 —
control.elements, keyword.operator.less #d19a66 —
keyword.other.special-method #749DED —
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 #d881de —
token.storage.type.java #e5c07b —
support.type.property-name #b5bfcb —
support.type.property-name.toml, support.type.property-name.table.toml, support.type.property-name.array.toml #fd7175 —
support.constant.property-value #b5bfcb —
support.constant.font-name #d19a66 —
constant.other.symbol #71ced7 —
punctuation.definition.constant #d19a66 —
entity.other.attribute-name #d19a66 —
entity.other.attribute-name.id #749DED —
entity.other.attribute-name.class.css #d19a66 —
markup.heading punctuation.definition.heading, entity.name.section #749DED —
keyword.other.unit #fd7175 —
markup.bold,todo.bold #d19a66 —
punctuation.definition.bold #e5c07b —
markup.italic, punctuation.definition.italic,todo.emphasis #d881de —
entity.name.section.markdown #fd7175 —
punctuation.definition.heading.markdown #fd7175 —
punctuation.definition.list.begin.markdown #e5c07b —
markup.heading.setext #b5bfcb —
punctuation.definition.bold.markdown #d19a66 —
markup.inline.raw.markdown #7EC482 —
markup.inline.raw.string.markdown #7EC482 —
punctuation.definition.raw.markdown #e5c07b —
punctuation.definition.list.markdown #e5c07b —
punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown #fd7175 —
beginning.punctuation.definition.list.markdown #fd7175 —
punctuation.definition.metadata.markdown #fd7175 —
markup.underline.link.markdown,markup.underline.link.image.markdown #d881de —
string.other.link.title.markdown,string.other.link.description.markdown #749DED —
markup.raw.monospace.asciidoc #7EC482 —
punctuation.definition.asciidoc #e5c07b —
markup.list.asciidoc #e5c07b —
markup.link.asciidoc,markup.other.url.asciidoc #d881de —
string.unquoted.asciidoc,markup.other.url.asciidoc #749DED —
punctuation.section.embedded, variable.interpolation #fd7175 —
punctuation.section.embedded.begin,punctuation.section.embedded.end #d881de —
invalid.illegal.bad-ampersand.html #b5bfcb —
invalid.illegal.unrecognized-tag.html #fd7175 —
invalid.deprecated #ffffff —
invalid.deprecated.entity.other.attribute-name.html #d19a66 —
invalid.unimplemented #ffffff —
source.json meta.structure.dictionary.json > string.quoted.json #fd7175 —
source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string #fd7175 —
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 #7EC482 —
source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json #71ced7 —
support.type.property-name.json #fd7175 —
support.type.property-name.json punctuation #fd7175 —
text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade #d881de —
text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade #d881de —
support.other.namespace.use.php,support.other.namespace.use-as.php,entity.other.alias.php,meta.interface.php #e5c07b —
keyword.operator.error-control.php #d881de —
keyword.operator.type.php #d881de —
punctuation.section.array.begin.php #b5bfcb —
punctuation.section.array.end.php #b5bfcb —
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 #749DED —
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 #b5bfcb —
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 #749DED —
keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php #71ced7 —
keyword.operator.regexp.php #d881de —
keyword.operator.comparison.php #71ced7 —
keyword.operator.heredoc.php,keyword.operator.nowdoc.php #d881de —
meta.function.decorator.python #749DED —
support.token.decorator.python,meta.function.decorator.identifier.python #71ced7 —
function.parameter #b5bfcb —
function.parameter.ruby, function.parameter.cs #b5bfcb —
constant.language.symbol.ruby #71ced7 —
constant.language.symbol.hashkey.ruby #71ced7 —
inline-color-decoration rgb-value #d19a66 —
support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx #e5c07b —
block.scope.end,block.scope.begin #b5bfcb —
entity.name.variable.local.cs #fd7175 —
token.error-token #f44747 —
token.debug-token #d881de —
punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded #d881de —
meta.template.expression #b5bfcb —
keyword.operator.module #d881de —
support.type.type.flowtype #749DED —
support.type.primitive #e5c07b —
meta.property.object #fd7175 —
variable.parameter.function.js #fd7175 —
keyword.other.template.begin #7EC482 —
keyword.other.template.end #7EC482 —
keyword.other.substitution.begin #7EC482 —
keyword.other.substitution.end #7EC482 —
keyword.operator.assignment #71ced7 —
keyword.operator.assignment.go #e5c07b —
keyword.operator.arithmetic.go, keyword.operator.address.go #d881de —
entity.name.package.go #e5c07b —
support.type.prelude.elm #71ced7 —
support.constant.elm #d19a66 —
punctuation.quasi.element #d881de —
constant.character.entity #fd7175 —
entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class #71ced7 —
entity.global.clojure #e5c07b —
meta.symbol.clojure #fd7175 —
constant.keyword.clojure #71ced7 —
meta.arguments.coffee, variable.parameter.function.coffee #fd7175 —
meta.scope.prerequisites.makefile #fd7175 —
storage.modifier.import.groovy #e5c07b —
meta.method.groovy #749DED —
meta.definition.variable.name.groovy #fd7175 —
meta.definition.class.inherited.classes.groovy #7EC482 —
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 #d881de —
text.variable, text.bracketed #fd7175 —
support.type.swift, support.type.vb.asp #e5c07b —
entity.name.function.xi #e5c07b —
entity.name.class.xi #71ced7 —
constant.character.character-class.regexp.xi #fd7175 —
constant.regexp.xi #d881de —
keyword.control.xi #71ced7 —
beginning.punctuation.definition.quote.markdown.xi #7EC482 —
beginning.punctuation.definition.list.markdown.xi #7f848e —
constant.character.xi #749DED —
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 #fd7175 —
meta.brace.square #b5bfcb —
comment, punctuation.definition.comment #7f848e —
markup.quote.markdown #5c6370 —
punctuation.definition.block.sequence.item.yaml #b5bfcb —
constant.language.symbol.elixir, constant.language.symbol.double-quoted.elixir #71ced7 —
entity.name.variable.parameter.cs #e5c07b —
entity.name.variable.field.cs #fd7175 —
markup.underline — underline
punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php #BE5046 —
support.other.namespace.php #b5bfcb —
variable.other.object #e5c07b —
variable.other.constant.property #fd7175 —
entity.other.inherited-class #e5c07b —
variable.other.readwrite.c #fd7175 —
entity.name.variable.parameter.php,punctuation.separator.colon.php,constant.other.php #b5bfcb —
constant.numeric.decimal.asm.x86_64 #d881de —
support.other.parenthesis.regexp #d19a66 —
constant.character.escape #71ced7 —
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 } !` ;
}
fetchUser.ts
index.ts
README.md
src
components
fetchUser.ts
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
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
main*
Button.tsx
31
$
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 } !` ;
}
NewDarkTheme | Coding Theme