Skip to main content
Home Theme VS Code Reco Theme This Theme as much as possible according to vuepress-theme-reco.
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.activeBorder #4954E6 activityBar.activeFocusBorder #313134 activityBar.background #313134 activityBar.border #0c0c0c activityBar.foreground #e3e1e3 activityBar.inactiveForeground #999899 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 #d6d6dd — variable.other.generic-type.haskell #83d6c5 — storage.type.haskell #f8c762 — support.variable.magic.python
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
activityBarBadge.background
#4954E6
activityBarBadge.foreground #d6d6dd
badge.background #4954E6
badge.foreground #d6d6dd
breadcrumb.activeSelectionForeground #d6d6dd
breadcrumb.background #222225
breadcrumb.focusForeground #d6d6dd
breadcrumb.foreground #676767
button.background #313134
button.foreground #d6d6dd
button.hoverBackground #4954E6
button.secondaryBackground #1d1d1d
button.secondaryForeground #d6d6dd
button.secondaryHoverBackground #303030
checkbox.background #1d1d1d
checkbox.border #4f4f4f
checkbox.foreground #d6d6dd
commandCenter.activeBackground #1d1d1d
commandCenter.background #504f51
commandCenter.foreground #c1c1c1
debugExceptionWidget.background #1d1d1d
debugExceptionWidget.border #313131
debugToolBar.background #343334
debugToolBar.border #313131
diffEditor.border #313131
diffEditor.insertedTextBackground #83d6c530
diffEditor.insertedTextBorder #d6d6dd00
diffEditor.removedTextBackground #F26D6D30
diffEditor.removedTextBorder #d6d6dd00
dropdown.background #1d1d1d
dropdown.border #d6d6dd00
dropdown.foreground #d6d6dd
editor.background #222225
editor.findMatchBackground #4954E6bb
editor.findMatchBorder #d6d6dd00
editor.findMatchHighlightBackground #4954E630
editor.findMatchHighlightBorder #d7d7dd02
editor.findRangeHighlightBackground #1d1d1d
editor.findRangeHighlightBorder #d6d6dd00
editor.foldBackground #1d1d1d
editor.foreground #d6d6dd
editor.hoverHighlightBackground #5b51ec70
editor.inactiveSelectionBackground #363636
editor.lineHighlightBackground #1d1d1d
editor.lineHighlightBorder #d6d6dd00
editor.rangeHighlightBackground #1d1d1d
editor.rangeHighlightBorder #31313100
editor.selectionBackground #4954E670
editor.selectionHighlightBackground #4954E630
editor.selectionHighlightBorder #d6d6dd00
editor.wordHighlightBackground #ff000000
editor.wordHighlightBorder #d6d6dd00
editor.wordHighlightStrongBackground #4954E670
editor.wordHighlightStrongBorder #d6d6dd00
editorBracketMatch.background #4954E6
editorBracketMatch.border #d6d6dd00
editorCodeLens.foreground #d6d6dd
editorCursor.background #0c0c0c
editorCursor.foreground #d6d6dd
editorError.background #B73A3400
editorError.border #d6d6dd00
editorError.foreground #F26D6D
editorGroup.border #313131
editorGroup.emptyBackground #0c0c0c
editorGroupHeader.border #ce0c0c00
editorGroupHeader.noTabsBackground #313134
editorGroupHeader.tabsBackground #313134
editorGroupHeader.tabsBorder #d6d6dd00
editorGutter.addedBackground #15ac91
editorGutter.background #222225
editorGutter.commentRangeForeground #d6d6dd
editorGutter.deletedBackground #F26D6D
editorGutter.foldingControlForeground #d6d6dd
editorGutter.modifiedBackground #e5b95c
editorHoverWidget.background #1d1d1d
editorHoverWidget.border #313131
editorHoverWidget.foreground #d6d6dd
editorIndentGuide.activeBackground #737377
editorIndentGuide.background #313131
editorInfo.background #d6d6dd00
editorInfo.border #d6d6dd00
editorInfo.foreground #616AE5
editorInlayHint.background #2b2b2b
editorInlayHint.foreground #838383
editorLineNumber.activeForeground #6d6d6d
editorLineNumber.foreground #535353
editorLink.activeForeground #616AE5
editorMarkerNavigation.background #2d2d30
editorMarkerNavigationError.background #F26D6D
editorMarkerNavigationInfo.background #4c9df3
editorMarkerNavigationWarning.background #e5b95c
editorOverviewRuler.background #25252500
editorOverviewRuler.border #7f7f7f4d
editorRuler.foreground #313131
editorSuggestWidget.background #1d1d1d
editorSuggestWidget.border #313131
editorSuggestWidget.foreground #d6d6dd
editorSuggestWidget.highlightForeground #d6d6dd
editorSuggestWidget.selectedBackground #4954E6
editorWarning.background #A9904000
editorWarning.border #d6d6dd00
editorWarning.foreground #FB9B5F
editorWhitespace.foreground #737373
editorWidget.background #222225
editorWidget.foreground #d6d6dd
editorWidget.resizeBorder #4954E6
focusBorder #4954E6
foreground #d6d6dd
gitDecoration.addedResourceForeground #3eaf7c
gitDecoration.conflictingResourceForeground #aaa0fa
gitDecoration.deletedResourceForeground #F26D6D
gitDecoration.ignoredResourceForeground #666666
gitDecoration.modifiedResourceForeground #5175ff
gitDecoration.stageDeletedResourceForeground #F26D6D
gitDecoration.stageModifiedResourceForeground #5175ff
gitDecoration.submoduleResourceForeground #5175ff
gitDecoration.untrackedResourceForeground #F26D6D
icon.foreground #d6d6dd
input.background #313134
input.border #d6d6dd00
input.foreground #d6d6dd
input.placeholderForeground #7b7b7b
inputOption.activeBackground #4954E6
inputOption.activeBorder #d6d6dd00
inputOption.activeForeground #d6d6dd
list.activeSelectionBackground #313134
list.activeSelectionForeground #d6d6dd
list.dropBackground #d6d6dd00
list.focusBackground #5b51ec
list.focusForeground #d6d6dd
list.focusOutline #00000000
list.highlightForeground #d6d6dd
list.hoverBackground #313134
list.hoverForeground #d6d6dd
list.inactiveSelectionBackground #313134
list.inactiveSelectionForeground #d6d6dd
listFilterWidget.background #5b51ec
listFilterWidget.noMatchesOutline #F26D6D
listFilterWidget.outline #00000000
menu.background #1e1e1e
menu.border #000000
menu.foreground #d6d6dd
menu.selectionBackground #262626
menu.selectionBorder #00000000
menu.selectionForeground #d6d6dd
menu.separatorBackground #3e3e3e
menubar.selectionBackground #d6d6dd20
menubar.selectionBorder #d6d6dd00
menubar.selectionForeground #d6d6dd
merge.commonContentBackground #1d1d1d
merge.commonHeaderBackground #323232
merge.currentContentBackground #1a493d
merge.currentHeaderBackground #83d6c595
merge.incomingContentBackground #28384B
merge.incomingHeaderBackground #395F8F
minimap.background #222225
minimap.errorHighlight #F26D6D
minimap.findMatchHighlight #15ac9170
minimap.selectionHighlight #363636
minimap.warningHighlight #FB9B5F
minimapGutter.addedBackground #15ac91
minimapGutter.deletedBackground #F26D6D
minimapGutter.modifiedBackground #e5b95c
notificationCenter.border #2c2c2c
notificationCenterHeader.background #2c2c2c
notificationCenterHeader.foreground #d6d6dd
notifications.background #1d1d1d
notifications.border #2c2c2c
notifications.foreground #d6d6dd
notificationsErrorIcon.foreground #F26D6D
notificationsInfoIcon.foreground #616AE5
notificationsWarningIcon.foreground #FB9B5F
notificationToast.border #313131
panel.background #313134
panel.border #0c0c0c
panelSection.border #313131
panelTitle.activeBorder #4954E6
panelTitle.activeForeground #d6d6dd
panelTitle.inactiveForeground #d6d6dd
peekView.border #313131
peekViewEditor.background #001f33
peekViewEditor.matchHighlightBackground #FB9B5F70
peekViewEditor.matchHighlightBorder #d6d6dd00
peekViewEditorGutter.background #001f33
peekViewResult.background #1d1d1d
peekViewResult.fileForeground #d6d6dd
peekViewResult.lineForeground #d6d6dd
peekViewResult.matchHighlightBackground #FB9B5F70
peekViewResult.selectionBackground #363636
peekViewResult.selectionForeground #d6d6dd
peekViewTitle.background #1d1d1d
peekViewTitleDescription.foreground #d6d6dd
peekViewTitleLabel.foreground #d6d6dd
pickerGroup.border #313131
pickerGroup.foreground #d6d6dd
progressBar.background #15ac91
scrollbar.shadow #d6d6dd00
scrollbarSlider.activeBackground #676767
scrollbarSlider.background #67676750
scrollbarSlider.hoverBackground #676767
selection.background #163761
settings.focusedRowBackground #d6d6dd07
settings.headerForeground #d6d6dd
sideBar.background #222225
sideBar.border #0c0c0c
sideBar.dropBackground #d6d6dd00
sideBar.foreground #d6d6dd
sideBarSectionHeader.background #313134
sideBarSectionHeader.border #0c0c0c
sideBarSectionHeader.foreground #d6d6dd
sideBarTitle.foreground #d6d6dd
statusBar.background #313134
statusBar.border #0c0c0c
statusBar.debuggingBackground #FB9B5F
statusBar.debuggingBorder #d6d6dd00
statusBar.debuggingForeground #e7e7e7
statusBar.foreground #d6d6dd
statusBar.noFolderBackground #0c0c0c
statusBar.noFolderBorder #d6d6dd00
statusBar.noFolderForeground #6b6b6b
statusBarItem.activeBackground #d6d6dd25
statusBarItem.hoverBackground #d6d6dd20
statusBarItem.remoteBackground #5b51ec
statusBarItem.remoteForeground #d6d6dd
tab.activeBackground #313134
tab.activeBorder #4954E6
tab.activeForeground #d6d6dd
tab.border #0c0c0c
tab.hoverForeground #d6d6dd
tab.inactiveBackground #313134
tab.inactiveForeground #d6d6dd
terminal.ansiBlack #676767
terminal.ansiBlue #4c9df3
terminal.ansiBrightBlack #676767
terminal.ansiBrightBlue #4c9df3
terminal.ansiBrightCyan #75d3ba
terminal.ansiBrightGreen #15ac91
terminal.ansiBrightMagenta #e567dc
terminal.ansiBrightRed #F26D6D
terminal.ansiBrightWhite #d6d6dd
terminal.ansiBrightYellow #e5b95c
terminal.ansiCyan #75d3ba
terminal.ansiGreen #15ac91
terminal.ansiMagenta #e567dc
terminal.ansiRed #F26D6D
terminal.ansiWhite #d6d6dd
terminal.ansiYellow #e5b95c
terminal.background #222225
terminal.border #313131
terminal.foreground #d6d6dd
terminal.selectionBackground #636262fd
terminalCursor.background #5b51ec
terminalCursor.foreground #d6d6dd
textLink.foreground #616AE5
titleBar.activeBackground #313134
titleBar.activeForeground #f4f4f4
titleBar.border #0c0c0c
titleBar.inactiveBackground #3c3b3c
titleBar.inactiveForeground #cccccc99
tree.indentGuidesStroke #d6d6dd00
walkThrough.embeddedEditorBackground #00000050
widget.shadow #00000070 #d6d6dd
punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python #d6d6dd —
variable.parameter.function.language.special.self.python #efb080 —
storage.modifier.lifetime.rust #d6d6dd —
support.function.std.rust #aaa0fa —
entity.name.lifetime.rust #efb080 —
variable.language.rust #d6d6dd —
support.constant.edge #83d6c5 —
constant.other.character-class.regexp #d6d6dd —
keyword.operator.quantifier.regexp #f8c762 —
punctuation.definition.string.begin,punctuation.definition.string.end #cc8ecd —
variable.parameter.function #d6d6dd —
comment markup.link #6d6d6d —
markup.changed.diff #efb080 —
meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff #aaa0fa —
markup.inserted.diff #cc8ecd —
markup.deleted.diff #d6d6dd —
meta.function.c,meta.function.cpp #d6d6dd —
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 #d6d6dd —
punctuation.separator.key-value #d6d6dd —
keyword.operator.expression.import #aaa0fa —
support.constant.math #efb080 —
support.constant.property.math #f8c762 —
variable.other.constant #efb080 —
storage.type.annotation.java, storage.type.object.array.java #efb080 —
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 #d6d6dd —
storage.modifier.import.java,storage.type.java,storage.type.generic.java #efb080 —
keyword.operator.instanceof.java #83d6c5 —
meta.definition.variable.name.java #d6d6dd —
keyword.operator.logical #d6d6dd —
keyword.operator.bitwise #d6d6dd —
keyword.operator.channel #d6d6dd —
support.constant.property-value.scss,support.constant.property-value.css #f8c762 —
keyword.operator.css,keyword.operator.scss,keyword.operator.less #d6d6dd —
support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss #f8c762 —
punctuation.separator.list.comma.css #d6d6dd —
support.constant.color.w3c-standard-color-name.css #f8c762 —
support.type.vendored.property-name.css #d6d6dd —
support.module.node,support.type.object.module,support.module.node #efb080 —
entity.name.type.module #efb080 —
variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node #d6d6dd —
support.constant.json #f8c762 —
keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof #83d6c5 —
support.type.object.console #d6d6dd —
support.variable.property.process #f8c762 —
entity.name.function,support.function.console #aaa0fa —
keyword.operator.misc.rust #d6d6dd —
keyword.operator.sigil.rust #83d6c5 —
keyword.operator.delete #83d6c5 —
support.type.object.dom #d6d6dd —
support.variable.dom,support.variable.property.dom #d6d6dd —
keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational #d6d6dd —
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 #83d6c5 —
punctuation.separator.delimiter #d6d6dd —
punctuation.separator.c,punctuation.separator.cpp #83d6c5 —
support.type.posix-reserved.c,support.type.posix-reserved.cpp #d6d6dd —
keyword.operator.sizeof.c,keyword.operator.sizeof.cpp #83d6c5 —
variable.parameter.function.language.python #f8c762 —
support.type.python #d6d6dd —
keyword.operator.logical.python #83d6c5 —
variable.parameter.function.python #f8c762 —
punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python #d6d6dd —
meta.function-call.generic.python #aaa0fa —
constant.character.format.placeholder.other.python #f8c762 —
keyword.operator.assignment.compound #83d6c5 —
keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts #d6d6dd —
entity.name.namespace #efb080 —
variable.language #efb080 —
token.variable.parameter.java #d6d6dd —
import.storage.java #efb080 —
token.package.keyword #83d6c5 —
entity.name.function, meta.require, support.function.any-method, variable.function #aaa0fa —
entity.name.type.namespace #efb080 —
support.class, entity.name.type.class #efb080 —
entity.name.class.identifier.namespace.type #efb080 —
entity.name.class, variable.other.class.js, variable.other.class.ts #efb080 —
variable.other.class.php #d6d6dd —
control.elements, keyword.operator.less #f8c762 —
keyword.other.special-method #aaa0fa —
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 #83d6c5 —
token.storage.type.java #efb080 —
support.type.property-name #d6d6dd —
support.constant.property-value #d6d6dd —
support.constant.font-name #f8c762 —
entity.other.inherited-class #efb080 —
constant.other.symbol #d6d6dd —
punctuation.definition.constant #f8c762 —
entity.other.attribute-name #aaa0fa —
entity.other.attribute-name.id #aaa0fa
entity.other.attribute-name.class.css #f8c762
markup.heading punctuation.definition.heading, entity.name.section #aaa0fa —
keyword.other.unit #d6d6dd —
markup.bold,todo.bold #f8c762 —
punctuation.definition.bold #efb080 —
markup.italic, punctuation.definition.italic,todo.emphasis #83d6c5 —
entity.name.section.markdown #d6d6dd —
punctuation.definition.heading.markdown #d6d6dd —
punctuation.definition.list.begin.markdown #d6d6dd —
markup.heading.setext #d6d6dd —
punctuation.definition.bold.markdown #f8c762 —
markup.inline.raw.markdown #cc8ecd —
markup.inline.raw.string.markdown #cc8ecd —
punctuation.definition.list.markdown #d6d6dd —
punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown #d6d6dd —
beginning.punctuation.definition.list.markdown #d6d6dd —
punctuation.definition.metadata.markdown #d6d6dd —
markup.underline.link.markdown,markup.underline.link.image.markdown #83d6c5 —
string.other.link.title.markdown,string.other.link.description.markdown #aaa0fa —
constant.character.escape #d6d6dd —
punctuation.section.embedded, variable.interpolation #d6d6dd —
punctuation.section.embedded.begin,punctuation.section.embedded.end #83d6c5 —
invalid.illegal.bad-ampersand.html #d6d6dd —
invalid.deprecated #d6d6dd —
invalid.unimplemented #d6d6dd —
source.json meta.structure.dictionary.json > string.quoted.json #d6d6dd —
source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string #d6d6dd —
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 #cc8ecd —
source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json #d6d6dd —
support.type.property-name.json #d6d6dd —
support.type.property-name.json punctuation #d6d6dd —
text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade #83d6c5 —
text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade #83d6c5 —
support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php #efb080 —
keyword.operator.error-control.php #83d6c5 —
keyword.operator.type.php #83d6c5 —
punctuation.section.array.begin.php #d6d6dd —
punctuation.section.array.end.php #d6d6dd —
invalid.illegal.non-null-typehinted.php #f44747 —
storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php #efb080 —
meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php #aaa0fa —
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 #d6d6dd —
support.constant.core.rust #f8c762 —
support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php #f8c762 —
entity.name.goto-label.php,support.other.php #aaa0fa —
keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php #d6d6dd —
keyword.operator.regexp.php #83d6c5 —
keyword.operator.comparison.php #d6d6dd —
keyword.operator.heredoc.php,keyword.operator.nowdoc.php #83d6c5 —
meta.function.decorator.python #aaa0fa —
support.token.decorator.python,meta.function.decorator.identifier.python #d6d6dd —
function.parameter #d6d6dd —
function.parameter.ruby, function.parameter.cs #d6d6dd —
constant.language.symbol.ruby #d6d6dd —
inline-color-decoration rgb-value #f8c762 —
support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx #efb080 —
block.scope.end,block.scope.begin #d6d6dd —
entity.name.variable.local.cs #d6d6dd —
token.error-token #f44747 —
token.debug-token #83d6c5 —
punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded #83d6c5 —
meta.template.expression #d6d6dd —
keyword.operator.module #83d6c5 —
support.type.type.flowtype #aaa0fa —
support.type.primitive #efb080 —
meta.property.object #d6d6dd —
variable.parameter.function.js #d6d6dd —
keyword.other.template.begin #cc8ecd —
keyword.other.template.end #cc8ecd —
keyword.other.substitution.begin #cc8ecd —
keyword.other.substitution.end #cc8ecd —
keyword.operator.assignment #d6d6dd —
keyword.operator.assignment.go #efb080 —
keyword.operator.arithmetic.go, keyword.operator.address.go #83d6c5 —
entity.name.package.go #efb080 —
support.type.prelude.elm #d6d6dd —
support.constant.elm #f8c762 —
punctuation.quasi.element #83d6c5 —
constant.character.entity #d6d6dd —
entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class #d6d6dd —
entity.global.clojure #efb080 —
meta.symbol.clojure #d6d6dd —
constant.keyword.clojure #d6d6dd —
meta.arguments.coffee, variable.parameter.function.coffee #d6d6dd —
meta.scope.prerequisites.makefile #d6d6dd —
storage.modifier.import.groovy #efb080 —
meta.method.groovy #aaa0fa —
meta.definition.variable.name.groovy #d6d6dd —
meta.definition.class.inherited.classes.groovy #cc8ecd —
support.variable.semantic.hlsl #efb080 —
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 #83d6c5 —
text.variable, text.bracketed #d6d6dd —
support.type.swift, support.type.vb.asp #efb080 —
entity.name.function.xi #efb080 —
entity.name.class.xi #d6d6dd —
constant.character.character-class.regexp.xi #d6d6dd —
constant.regexp.xi #83d6c5 —
keyword.control.xi #d6d6dd —
beginning.punctuation.definition.quote.markdown.xi #cc8ecd —
beginning.punctuation.definition.list.markdown.xi #6d6d6d —
constant.character.xi #aaa0fa —
constant.other.color.rgb-value.xi #d6d6dd —
punctuation.definition.tag.xi #6d6d6d —
entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition #efb080 —
entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown #d6d6dd —
meta.brace.square #d6d6dd —
comment, punctuation.definition.comment #6d6d6d italic
markup.quote.markdown #6d6d6d —
punctuation.definition.block.sequence.item.yaml #d6d6dd —
constant.language.symbol.elixir #d6d6dd —
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
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 } !` ;
}
Reco Theme | Coding Theme