Skip to main content
Home Theme VS Code Calm Dark Blue theme A set of amazing theme to write and teach code
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 #49ace933 activityBar.activeBorder #49ace9 activityBar.background #07273b activityBar.border #0f1315 activityBar.dropBackground #61a6d165 activityBar.foreground #1679b6 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment, punctuation.definition.tag, comment.block.documentation punctuation.definition.bracket, source.ocaml comment constant.regexp meta.separator, markup.other.anchor support.constant, markup.fenced_code, markup.fenced_code punctuation.definition, punctuation.definition.heading, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.strikethrough.markdown #dcdcdc — constant.character, constant.escape, text.html.markdown, punctuation.definition.list_item, keyword.begin.tag.ejs, constant.name.attribute.tag.pug, source.clojure meta.symbol, constant.other.description.jsdoc, keyword.other.array.phpdoc.php, keyword.operator.other.powershell, meta.link.inline punctuation.definition.string, source.sql, source meta.brace, source punctuation, text.html punctuation, markup meta punctuation.definition, meta.bracket.julia, meta.array.julia, entity.name.footnote, source.ocaml punctuation.definition.tag, source.ocaml entity.name.filename, source.reason entity.name.filename, entity.other.attribute-name strong, binding.fsharp keyword.symbol.fsharp, entity.name.record.field.elm, entity.name.record.field.accessor.elm, storage.modifier.array.bracket, source.css entity.other, meta.attribute-selector punctuation.definition.entity, markup.other.anchor string, punctuation.separator, punctuation.section, punctuation.terminator #becfda —
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Calm Dark Blue theme — Dark Devil
activityBar.inactiveForeground
#1679b677
activityBarBadge.background #49ace9
activityBarBadge.foreground #0f1315
badge.background #49ace9
badge.foreground #0f1315
breadcrumb.activeSelectionForeground #ebf7ff
breadcrumb.background #07273b
breadcrumb.focusForeground #49ace9
breadcrumb.foreground #9fb6c6
breadcrumbPicker.background #09334e
button.background #007f99
button.foreground #ebf7ff
button.hoverBackground #0ac
debugExceptionWidget.background #07273b
debugExceptionWidget.border #1679b6
debugToolBar.background #07273b
descriptionForeground #61a6d1
diffEditor.insertedTextBackground #16b67327
diffEditor.removedTextBackground #e6653341
dropdown.background #09334e
dropdown.border #09334e
dropdown.foreground #61a6d1
editor.background #010107
editor.findMatchBackground #40bf6a11
editor.findMatchHighlightBackground #0e667179
editor.findRangeHighlightBackground #49e9a622
editor.foldBackground #0A1724
editor.foreground #becfda
editor.hoverHighlightBackground #1679b63f
editor.inactiveSelectionBackground #1679b633
editor.lineHighlightBackground #003c61ee
editor.lineHighlightBorder #003c61
editor.minimap.autohide
editor.minimap.scale 2
editor.rangeHighlightBackground #49d6e922
editor.selectionBackground #1679b6BF
editor.selectionHighlightBackground #49ace933
editor.snippetFinalTabstopHighlightBackground #051b29
editor.snippetFinalTabstopHighlightBorder #062132
editor.snippetTabstopHighlightBackground #051b29
editor.snippetTabstopHighlightBorder #062132
editor.wordHighlightBackground #e4b78133
editor.wordHighlightStrongBackground #cc990033
editorBracketMatch.background #1679b622
editorBracketMatch.border #1679b6
editorCodeLens.foreground #5b858b
editorCursor.foreground #EA7773
editorError.border #07273b
editorError.foreground #e34e1c
editorGroup.border #0f1315
editorGroup.dropBackground #4d6c8033
editorGroup.emptyBackground #4d6c8033
editorGroupHeader.noTabsBackground #09334e
editorGroupHeader.tabsBackground #09334e
editorGroupHeader.tabsBorder #09334e
editorGutter.addedBackground #8ce99a
editorGutter.background #010107
editorGutter.deletedBackground #e34e1c
editorGutter.modifiedBackground #ffc180
editorHint.border #49e9a600
editorHint.foreground #49e9a6
editorHoverWidget.background #002942
editorHoverWidget.border #0f1315
editorIndentGuide.activeBackground #28658a
editorIndentGuide.background #183c53
editorInfo.border #07273b
editorInfo.foreground #49ace9
editorLineNumber.activeForeground #61a6d1
editorLineNumber.foreground #4d6c80
editorLink.activeForeground #14a5ff
editorMarkerNavigation.background #3a3a5e29
editorMarkerNavigationError.background #e34e1c
editorMarkerNavigationWarning.background #e69533
editorOverviewRuler.border #07273b
editorOverviewRuler.commonContentForeground #ffc18044
editorOverviewRuler.currentContentForeground #85f1ff44
editorOverviewRuler.incomingContentForeground #9d92f244
editorRuler.foreground #1a425b
editorSuggestWidget.background #002942
editorSuggestWidget.border #0f1315
editorSuggestWidget.foreground #9fb6c6
editorSuggestWidget.highlightForeground #49ace9
editorSuggestWidget.selectedBackground #0c3f5f
editorWarning.border #07273b
editorWarning.foreground #e69533
editorWhitespace.foreground #ffffff21
editorWidget.background #09334e
editorWidget.border #0f1315
errorForeground #e34e1c
extensionButton.prominentBackground #008c99
extensionButton.prominentForeground #e5f5f5
extensionButton.prominentHoverBackground #00bbcc
focusBorder #09334e
foreground #becfda
gitDecoration.addedResourceForeground #16b673
gitDecoration.conflictingResourceForeground #ffc180
gitDecoration.deletedResourceForeground #e34e1c
gitDecoration.ignoredResourceForeground #5b788b
gitDecoration.modifiedResourceForeground #49e9a6
gitDecoration.untrackedResourceForeground #40d4e7
input.background #051b29
input.border #002f4d
input.foreground #CDD3DE
input.placeholderForeground #879dab
inputOption.activeBorder #1679b6
inputValidation.errorBackground #501502ee
inputValidation.errorBorder #691c02
inputValidation.errorForeground #ff4000
inputValidation.infoBackground #0f6e7bee
inputValidation.infoBorder #148f9f
inputValidation.infoForeground #40d4e7
inputValidation.warningBackground #82694acc
inputValidation.warningBorder #a88457
inputValidation.warningForeground #e69533
list.activeSelectionBackground #0c3f5f
list.activeSelectionForeground #ebf7ff
list.dropBackground #002a4d
list.errorForeground #e34e1c
list.focusBackground #0b3c5b
list.focusForeground #ebf7ff
list.highlightForeground #49ace9
list.hoverBackground #00558a65
list.hoverForeground #ebf7ff
list.inactiveFocusBackground #082d44
list.inactiveSelectionBackground #09334e
list.inactiveSelectionForeground #becfda
list.warningForeground #ffa857
listFilterWidget.background #002a4d
listFilterWidget.noMatchesOutline #e34e1c
listFilterWidget.outline #49e9a6
menu.background #09334e
menu.foreground #9fb6c6
menu.selectionBackground #0b3c5b
menu.selectionBorder #0b3c5b
menu.selectionForeground #49ace9
menu.separatorBackground #49ace9
menubar.selectionBackground #0b3c5b
menubar.selectionBorder #0b3c5b
menubar.selectionForeground #49ace9
merge.border #07273b00
merge.commonContentBackground #ffc18022
merge.commonHeaderBackground #ffc18044
merge.currentContentBackground #85f1ff22
merge.currentHeaderBackground #85f1ff44
merge.incomingContentBackground #9d92f222
merge.incomingHeaderBackground #9d92f244
minimap.background #07273b99
minimap.errorHighlight #e34e1cee
minimap.findMatchHighlight #49ace9ee
minimap.warningHighlight #e69533ee
minimapGutter.addedBackground #16b673
minimapGutter.deletedBackground #e34e1c
minimapGutter.modifiedBackground #49e9a6
notificationCenter.border #09334e
notificationCenterHeader.background #09334e
notificationCenterHeader.foreground #879dab
notificationLink.foreground #879dab
notifications.background #09334e
notifications.border #09334e
notifications.foreground #CDD3DE
notificationToast.border #09334e
panel.background #051b29
panel.border #1679b6
panelTitle.activeBorder #1679b6
panelTitle.activeForeground #49ace9
panelTitle.inactiveForeground #507b95
peekView.border #1679b6
peekViewEditor.background #001f33
peekViewEditor.matchHighlightBackground #005b9433
peekViewEditor.matchHighlightBorder #007ecc
peekViewEditorGutter.background #001f33
peekViewResult.background #002338
peekViewResult.fileForeground #ffc180
peekViewResult.lineForeground #879dab
peekViewResult.matchHighlightBackground #09334e
peekViewResult.selectionBackground #09334e
peekViewResult.selectionForeground #879dab
peekViewTitle.background #002338
peekViewTitleDescription.foreground #879dab
peekViewTitleLabel.foreground #ffc180
pickerGroup.border #1679b6
pickerGroup.foreground #49ace9
progressBar.background #49ace9
scrollbar.shadow #00000044
scrollbarSlider.activeBackground #008ee677
scrollbarSlider.background #008ee633
scrollbarSlider.hoverBackground #008ee655
selection.background #1679b6cc
settings.checkboxBackground #09334e
settings.checkboxBorder #09334e
settings.checkboxForeground #0ac
settings.dropdownBackground #09334e
settings.dropdownBorder #09334e
settings.dropdownForeground #0ac
settings.dropdownListBorder #0051a877
settings.headerForeground #becfda
settings.modifiedItemIndicator #15ac31
settings.numberInputBackground #051b29
settings.numberInputBorder #051b29
settings.numberInputForeground #7060eb
settings.textInputBackground #09334e
settings.textInputBorder #09334e
settings.textInputForeground #0ac
sideBar.background #010305
sideBar.border #515151
sideBar.dropBackground #062132
sideBar.foreground #9fb6c6
sideBarSectionHeader.background #09334e
sideBarSectionHeader.border #0f1315
sideBarSectionHeader.foreground #9fb6c6
sideBarTitle.foreground #9fb6c6
statusBar.background #07273b
statusBar.border #0f1315
statusBar.debuggingBackground #07273b
statusBar.debuggingBorder #ff80acaf
statusBar.debuggingForeground #ff80ac50
statusBar.foreground #1679b6
statusBar.noFolderBackground #07273b
statusBar.noFolderBorder #07273b
statusBar.noFolderForeground #879dab
statusBarItem.activeBackground #007ecc59
statusBarItem.hoverBackground #0a3652
statusBarItem.prominentBackground #051e2e
statusBarItem.prominentHoverBackground #002f4d
tab.activeBackground #000000
tab.activeBorder #FFFFFF
tab.activeBorderTop #FFFFFF
tab.activeForeground #FFFFFF
tab.activeModifiedBorder #49e9a6
tab.border #0f1315
tab.inactiveBackground #09334e
tab.inactiveForeground #9fb6c6
tab.unfocusedActiveBackground #002c47
tab.unfocusedActiveBorder #07273b
tab.unfocusedActiveForeground #9fb6c6
tab.unfocusedHoverBackground #1679b621
tab.unfocusedInactiveForeground #9fb6c6
terminal.ansiBlack #28353e
terminal.ansiBlue #49ace9
terminal.ansiBrightBlack #475e6c
terminal.ansiBrightBlue #60b6eb
terminal.ansiBrightCyan #60dbeb
terminal.ansiBrightGreen #60ebb1
terminal.ansiBrightMagenta #e798b3
terminal.ansiBrightRed #e97749
terminal.ansiBrightWhite #becfda
terminal.ansiBrightYellow #e69533
terminal.ansiCyan #49d6e9
terminal.ansiGreen #49e9a6
terminal.ansiMagenta #df769b
terminal.ansiRed #e66533
terminal.ansiWhite #aec3d0
terminal.ansiYellow #e4b781
terminal.background #070707
terminal.foreground #becfda
terminal.selectionBackground #E07C24
terminal.selectionForeground #000000
terminalCursor.background #051b29
terminalCursor.foreground #becfda
textBlockQuote.background #07273b
textBlockQuote.border #1679b6
textCodeBlock.background #07273b
textLink.activeForeground #49ace9
textLink.foreground #49ace9
textPreformat.foreground #ffc180
textSeparator.foreground #07273b
titleBar.activeBackground #07273b
titleBar.activeForeground #becfda
titleBar.inactiveBackground #07273b
titleBar.inactiveForeground #9fb6c6
tree.indent 15
tree.indentGuidesStroke #f6f6f6
tree.renderIndentGuides always
walkThrough.embeddedEditorBackground #07273b
welcomePage.buttonBackground #051b29
welcomePage.buttonHoverBackground #09334e
widget.shadow #00000044 keyword, keyword.control, keyword.other.template, keyword.other.substitution, storage.modifier, meta.tag.sgml, punctuation.accessor, constant.other.color, entity.name.section, markup.heading, markup.heading punctuation.definition, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js, storage.type.function.pug, text.pug storage.type, text.pug meta.tag.other, source.clojure storage.control, meta.expression.clojure, punctuation.separator.slice.python, punctuation.separator.question-mark.cs, punctuation.definition.parameters.varargs, source.go keyword.operator, punctuation.separator.pointer-access, punctuation.separator.other.ruby, keyword.package, keyword.import, punctuation.definition.keyword, punctuation.separator.hash.cs, entity.other.attribute-name.pseudo-class.css punctuation.definition.entity.css, entity.other.attribute-name.pseudo-element.css punctuation.definition.entity.css, source.kotlin storage.type.import, source.kotlin storage.type.package, constant.string.documentation.powershell, punctuation.section.directive, storage.type.rust, punctuation.definition.attribute, punctuation.definition.preprocessor, punctuation.separator.namespace, punctuation.separator.method, keyword.control punctuation.definition.function, source.ocaml variable.interpolation string, source.reason variable.interpolation, punctuation.definition.directive, storage.type.modifier, keyword.other.class.fileds, source.toml entity.other.attribute-name, source.css entity.name.tag.custom, sharing.modifier, keyword.control.class.ruby, keyword.control.def.ruby #df769b —
variable, variable.object, variable.other, variable.parameter, support, entity.name.module, variable.import.parameter, variable.other.class, meta.toc-list.id.html, source.json meta.structure.dictionary.json support.type.property-name.json, meta.var.clojure, entity.name.variable, source.java meta.class.body.java, entity.name.package.go, source.c, source.cpp, source.go, source.python, meta.function-call.arguments.python, source.ruby, source.coffee.embedded.source, source.coffee, storage.modifier.import, storage.modifier.package, storage.type.annotation, punctuation.definition.annotation, source.groovy.embedded.source, punctuation.definition.variable, source.powershell, string.quoted.interpolated.vala constant.character.escape.vala, source.apacheconf, source.objc, source.crystal, string.quoted.double.kotlin entity.string.template.element.kotlin, entity.name.package.kotlin, meta.template.expression.kotlin, parameter.variable.function, variable.other.constant.elixir, source.elixir.embedded.source, source.sql.embedded, punctuation.definition.placeholder, source.swift, source.julia, source.shell, variable.other.normal punctuation.definition.variable.shell, source.reason variable.language, source.reason variable.language string.other.link, source.elm meta.value, source.elm meta.declaration.module, meta.embedded.block variable punctuation.definition.variable.php, string.quoted.double.class.other, source.toml keyword, support.type.nim, source.tf meta.template.expression, source.scala entity.name.import, markup.code, markup.fenced_code.block #e4b781 —
support.variable.property, constant.other.symbol.hashkey.ruby, constant.other.symbol.hashkey.ruby punctuation.definition.constant.ruby, entity.other.attribute-name.id, entity.other.attribute-name.id punctuation.definition.entity, entity.name.type.annotation.kotlin, support.type.primitive, meta.type.parameters entity.name.type, meta.type.annotation entity.name.type, punctuation.definition.typeparameters, source.python support.type.python, comment.block.documentation.phpdoc.php keyword.other.type.php, storage.type.php, keyword.type, storage.type.cs, storage.type.c, storage.type.objc, punctuation.definition.storage.type.objc, markup punctuation.definition, storage.type.powershell, comment.block.documentation entity.name.type, source.java storage.type, storage.type.primitive, source.groovy storage.type, storage.type.r, source.haskell storage.type, punctuation.separator.clause-head-body, source.go storage.type, storage.type.core.rust, storage.class.std.rust, storage.modifier.lifetime.rust, entity.name.lifetime.rust, support.type.vb, support.type.julia, constant.other.reference, source.graphql support.type, source.reason support.type string, source.elm storage.type, storage.type.user-defined, storage.type.built-in, support.type.builtin, source.swift support.type, support.class.crystal, storage.type.integral, source.cpp storage.type.cpp, source.vala storage.type, source.hlsl storage.type.basic, source.hlsl support.type.other, source.apex storage.type, source.nim storage.type, support.class.builtin, source.tf meta.keyword.string, source.tf meta.keyword.number, source.scala entity.name.class, markup.raw.monospace, markup.mark, entity.name.type #d67e5c —
constant, variable.other.constant, support.constant, punctuation.definition.entity, constant.character.entity, support.variable.magic, markup.quote, entity.name.type.type-parameter.cs, punctuation.bracket.angle, entity.name.function.preprocessor.c, storage.type.scala, entity.helper.apacheconf, variable.language.crystal, punctuation.definition.constant, support.constant punctuation.definition.variable, constant.character.math, support.class.math, source.graphql constant.character, source.reason constant.language.list, source.cpp variable.other.enummember, support.variable.class.hideshow, entity.other.attribute-name.class, meta.attribute.id entity.other.attribute-name, text.html entity.other.attribute-name, meta.tag.attributes entity.other.attribute-name, text.xml entity.other.attribute-name, source.cs entity.other.attribute-name, constant.character.format.placeholder, constant.other.placeholder, source.vue entity.other.attribute-name, entity.other.attribute-name.mjml, source.vue meta.directive punctuation.separator.key-value, meta.definition.attribute-entry punctuation.separator #d5971a —
variable.language, variable.parameter.function.language.special, punctuation.definition.italic, punctuation.definition.bold, entity.name.tag, variable.language punctuation.definition.variable, keyword.control.clojure, support.type.exception.python, keyword.other.this.cs, keyword.other.base.cs, keyword.other.var.cs, storage.modifier.super, source.go keyword, keyword.function.go, meta.separator, keyword.other.fn.rust, storage.modifier.static.rust, source.r meta.function.r keyword.control.r, storage.type.def, meta.class.identifier storage.modifier, source.scala keyword.declaration, storage.type, comment.block.documentation punctuation.definition.block.tag, comment.block.documentation punctuation.definition.inline.tag, entity.tag.apacheconf, keyword.other.julia, source.julia storage.modifier, constant.language.empty-list.haskell, meta.function.powershell storage.type.powershell, keyword.control.fun, punctuation.terminator.function, keyword.other.rust, keyword.other.declaration-specifier.swift, keyword.control.class, keyword.control.def, source.ocaml keyword markup.underline, source.ocaml storage.type markup.underline, binding.fsharp keyword, function.anonymous keyword, function.anonymous keyword.symbol.fsharp, meta.embedded.block variable.language punctuation.definition.variable.php, keyword.declaration.dart, source.wsd keyword.other.class, source.wsd keyword.other.linebegin, keyword.other.skinparam.keyword, keyword.other.nim, markup.deleted.diff, source.tf support.class.variable, meta.function.lua keyword.control.lua, markup.block entity.name.tag, markup.meta.attribute-list, source.zig keyword.default, source.zig keyword.structure #e66533 —
string, punctuation.definition.string, source.css support.constant, entity.name.import.go, markup.raw.texttt, markup.inserted.diff, source.scala punctuation.definition.character, constant.character.literal.scala, source.tf entity.name #49e9a6 —
string.template, punctuation.definition.string.template, string.interpolated.python string.quoted.single.python, string.quoted.double.heredoc, string.quoted.interpolated.vala, string.quoted.interpolated.vala punctuation.definition.string, string.regexp.apacheconf, markup.inline.raw.string, markup.inline.raw punctuation.definition.raw, string.quoted.double.interpolated.crystal, string.quoted.double.interpolated.crystal punctuation.definition.string, text.tex markup.raw #16b673 —
constant.numeric, constant.language, punctuation.separator.decimal.period.php, keyword.operator.null-conditional.cs, punctuation.separator.question-mark.cs, constant.integer.apacheconf, keyword.operator.nullable-type, constant.language punctuation.definition.variable, constant.others.fsharp, keyword.other.unit, string.quoted.double.skinparam.value, source.toml constant, source.zig keyword.constant.bool, source.zig keyword.constant.default #7060eb —
variable.function, support.type.property-name, entity.name.function, string.other.link, markup.link, support.type.vendored, support.other.variable, meta.function-call.generic.python, meta.method-call.groovy meta.method.groovy, meta.class.body.groovy meta.method.body.java storage.type.groovy, punctuation.definition.decorator, support.function.any-method, text.tex support.function, text.tex punctuation.definition.function, entity.name.section.fsharp entity.name.section.fsharp, support.variable.class.function, keyword.control.cucumber.table, punctuation.decorator, source.tf support.class #16a3b6 —
entity.name, entity.other, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, support.type, support.class, punctuation.definition.parameters, support.function, support.function.construct, markup.changed.git_gutter, markup.underline.link, markup.underline.link.image, markup.underline, meta.symbol.namespace.clojure, entity.mime-type.apacheconf, keyword.operator.function.infix, entity.name.function.infix, entity.name.function.call.kotlin, text.tex support.function.verb, text.tex support.function.texttt, source.reason constant.language.unit, source.ocaml constant.language constant.numeric entity.other.attribute-name.id.css, source.reason entity.other.attribute-name constant.language constant.numeric, constant.language.unit.fsharp, source.wsd support.class.preprocessings, keyword.language.gherkin.feature.scenario, source.nim keyword.other.common.function, entity.name.scope-resolution.function.call #49d6e9 —
source.js constant.other.object.key.js string.unquoted.label.js, source.js punctuation.section.embedded, punctuation.definition.template-expression, support.class, storage.type.string.python, string.interpolated.pug, support.constant.handlebars, source.clojure punctuation.section.set, source.clojure punctuation.section.metadata, entity.global.clojure, source.python meta.function-call.python support.type.python, entity.other.inherited-class.python, punctuation.definition.interpolation, punctuation.section.embedded.begin.ruby, punctuation.section.embedded.end.ruby source.ruby, support.constant.math, entity.namespace.r, meta.method-call.groovy storage.type.groovy, source.scala entity.name.class.declaration, constant.character.escape, support.function.macro.julia, string.replacement.apacheconf, storage.modifier.using.vala, constant.other.haskell, source.objc entity.name.tag, string.quoted.other.literal.upper.crystal punctuation.definition.string, meta.embedded.line.crystal punctuation.section.embedded, meta.embedded.line.crystal punctuation.section.embedded source.crystal, punctuation.section.embedded, punctuation.section.tag, punctuation.section.embedded source.swift, variable.other.bracket punctuation.definition.variable, string.interpolated.dollar punctuation.definition.string, constant.character.escape punctuation.definition.keyword, source.ocaml entity.name.class constant.numeric, source.reason entity.name.class, keyword.format.specifier.fsharp, support.module.elm, meta.embedded.block.php punctuation.definition.variable.php, source.vala storage.type, support.variable.class.group, entity.name.type.class, source.tf meta.keyword.list, source.tf meta.keyword.map, entity.name.class.lua, markup.substitution #49ace9 —
invalid, invalid.illegal #e3541c —
comment, storage.modifier, punctuation.definition.comment, entity.other, variable.language, support.type.vendored, support.constant.vendored, markup.quote, markup.italic, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js, keyword.control.clojure, source.clojure meta.symbol.dynamic, keyword.other.this.cs, keyword.other.base.cs, variable.other.member.c, support.type.core.rust, variable.other.object.property, variable.other.property, source.r meta.function.r keyword.control.r, comment.line.roxygen.r keyword, comment.line.roxygen.r variable.parameter.r, keyword.control.inheritance.coffee, comment.block.documentation.phpdoc.php keyword, keyword.other.array.phpdoc.php, storage.type.modifier, comment.block.javadoc.java keyword, comment.block.javadoc.java variable.parameter.java, keyword.operator.documentation.powershell, storage.type.scala, variable.parameter.function.language.special, comment.block.documentation.scala keyword, comment.block.documentation.scala variable.parameter, support.function.builtin.go, constant.other.symbol.hashkey.ruby, constant.other.symbol.hashkey.ruby punctuation.definition.constant.ruby, constant.other.symbol.ruby, source.vala storage.type.generic, constant.other.table-name, constant.other.placeholder, variable.other.field, entity.alias.import.go, source.swift keyword.other.declaration-specifier, support.variable.swift, keyword.other.capture-specifier, text.tex support.function.emph, constant.other.math, support.function.textit, entity.name.footnote, entity.name.function.directive.graphql, source.graphql support.type.enum, source.ocaml entity.name.filename, source.reason entity.name.filename, abstract.definition.fsharp keyword, abstract.definition.fsharp entity, function.anonymous keyword, entity.name.record.field.accessor.elm, support.type.primitive, support.type.builtin, keyword.type.cs, storage.type.built-in, storage.type.primitive, source.python support.type.python, storage.type.core.rust, source.swift support.type, source.go storage.type, storage.type.php, storage.type.function.kotlin, entity.name.type.kotlin, support.type.julia, variable.other.member, keyword.other.import, keyword.package, keyword.import, source.wsd keyword.control.diagram, keyword.language.gherkin.feature.step, source.hlsl storage.type.basic, source.apex keyword.type, sharing.modifier, source.nim storage.type.concrete, meta.preprocessor.pragma.nim, storage.type.integral, entity.name.scope-resolution.function.call, support.class.builtin, comment.block.documentation storage.type.class, source.tf meta.keyword.string, source.tf meta.keyword.number, source.scala entity.name.class, meta.import keyword.control, keyword.control.export, source.vue meta.directive punctuation.separator.key-value, keyword.local.lua, markup.mark.constrained markup.mark, markup.block.open, entity.name.type.primitive, entity.name.type.numeric, source.zig keyword.type, source.zig keyword.storage, source.zig keyword.structure — italic
keyword, keyword.control, keyword.operator, keyword.other.template, keyword.other.substitution, storage.type.function.arrow, constant.other.color, punctuation.accessor, entity.name.section, markdown.heading, markup.inline.raw punctuation.definition.raw, markup.heading, storage.type.function.pug, storage.type.function.python, storage.type.annotation, punctuation.bracket.angle, keyword.other.new, storage.type.generic.wildcard, source.go keyword.operator, constant.other.symbol.ruby punctuation.definition.constant.ruby, variable.parameter, support.function.builtin.rust, storage.type.function.coffee, entity.name.variable.parameter, punctuation.separator.hash.cs, constant.other.symbol.ruby punctuation.definition.constant.ruby, constant.other.symbol.hashkey.ruby punctuation.definition.constant.ruby, meta.function.parameters variable.other, entity.name.type.annotation.kotlin, storage.type.objc, parameter.variable.function, markup punctuation.definition, punctuation.section.directive, punctuation.definition.preprocessor, source.ruby punctuation.definition.variable, support.function.textbf, source.graphql support.type.builtin, source.ocaml variable.interpolation string, entity.name.function.definition.special.constructor, entity.name.function.definition.special.member.destructor., meta.function.parameters variable punctuation.definition.variable.php, source.wsd keyword.other.activity, keyword.control.class.ruby, keyword.control.def.ruby, keyword.function.go, keyword.other.fn.rust, markup.other.anchor, markup.list.bullet, markup.list punctuation.definition, keyword.control.default, punctuation.section, punctuation.separator, punctuation.terminator, markup.bold.markdown, source.zig storage.type.function, entity.name.type — bold
markup.quote markup.bold, text.html punctuation.section.embedded, variable.other.c, storage.modifier.lifetime.rust, entity.name.lifetime.rust, source.rust meta.attribute.rust, meta.attribute.id entity.other.attribute-name, source.ocaml punctuation.definition.tag emphasis, source.tf entity.name, markup.quote punctuation.definition, markup.fenced_code punctuation.definition, fenced_code.block.language — bold italic
keyword.begin.tag.ejs, source.python meta.function.decorator.python support.type.python, source.cs keyword.other, keyword.other.var.cs, source.go keyword, storage.modifier.static.rust, variable.parameter.r, variable.parameter.handlebars, storage.modifier.import, storage.modifier.package, meta.class.identifier storage.modifier, keyword.operator.other.powershell, source.css variable.parameter, string.interpolated variable.parameter, source.apacheconf keyword, keyword.other.julia, storage.modifier.using.vala, source.objc keyword.other.property.attribute, source.sql keyword.other, keyword.other.using.vala, keyword.operator.function.infix, keyword.control.directive, keyword.other.rust, keyword.other.declaration-specifier.swift, entity.name.function.swift, keyword.control.class, keyword.control.def, punctuation.definition.variable, entity.name.section.latex, source.ocaml keyword markup.underline, source.ocaml constant.language constant.numeric entity.other.attribute-name.id.css, source.reason entity.other.attribute-name constant.language constant.numeric, keyword.format.specifier.fsharp, entity.name.section.fsharp, binding.fsharp keyword, binding.fsharp keyword.symbol, record.fsharp keyword, keyword.symbol.fsharp, entity.name.section.fsharp keyword, namespace.open.fsharp keyword, namespace.open.fsharp entity, storage.type, source.cpp keyword.other, source.c keyword.other, keyword.other.unit, storage.modifier.array.bracket, meta.import.haskell keyword, keyword.declaration.dart, source.wsd keyword.other, keyword.other.skinparam, source.css keyword.control, source.css keyword.operator, keyword.language.gherkin.feature.scenario, keyword.control.cucumber.table, source.toml entity.other.attribute-name, source.toml keyword, keyword.other.nim, source.nim keyword.other.common.function, source.nim keyword.other, source.scala keyword.declaration, source.scala entity.name.class.declaration, keyword.control.lua, source.css punctuation.section, punctuation.section.embedded, source.c punctuation.section, source.cpp punctuation.section, source.java punctuation.section, source.php punctuation.section, source.powershell punctuation.section, source.r punctuation.section, source.ruby punctuation.section, source.swift punctuation.section, source.objc punctuation.section, source.zig keyword.constant.bool, source.zig keyword.default, source.zig keyword.statement, source.zig keyword.constant.default —
markup.strikethrough — strikethrough
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 } !` ;
}
Calm Dark Blue theme | Coding Theme