Skip to main content
Home Theme VS Code VSCode Paradise - nickesc A custom port of paradise-theme/paradise
VSCode Paradise - nickesc | Coding Theme
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 #C7C7C700 activityBar.background #DADADA activityBar.border #C7C7C700 activityBar.foreground #111111 activityBar.inactiveForeground #6d6d6d activityBarBadge.background #CB5458 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 #A469B0 — variable.other.generic-type.haskell #D9B46C — storage.type.haskell #679e95 — support.variable.magic.python
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
VSCode Paradise - nickesc — VSCode Paradise (Light) - nickesc
activityBarBadge.foreground #424242
badge.background #e8e3e3
badge.foreground #424242
breadcrumb.activeSelectionForeground #424242
breadcrumb.background #efefef
breadcrumb.focusForeground #424242
breadcrumb.foreground #6d6d6d
button.background #3267A0
button.foreground #e8e3e3
button.hoverBackground #6689B5
button.secondaryBackground #e8e3e3
button.secondaryForeground #424242
button.secondaryHoverBackground #C7C7C7
charts.blue #6689B5
charts.green #7FB47E
charts.orange #DE8352
charts.purple #A469B0
charts.red #CB5458
charts.yellow #D9B46C
checkbox.background #e8e3e3
checkbox.border #11111100
checkbox.foreground #424242
debugExceptionWidget.background #CB5458
debugExceptionWidget.border #CB545800
debugToolBar.background #e8e3e3
debugToolBar.border #11111100
diffEditor.border #15151500
diffEditor.insertedTextBackground #7FB47E40
diffEditor.insertedTextBorder #7FB47E00
diffEditor.removedTextBackground #CB545840
diffEditor.removedTextBorder #CB545840
dropdown.background #e8e3e3
dropdown.border #11111100
dropdown.foreground #424242
editor.background #efefef
editor.findMatchBackground #A0CFFF30
editor.findMatchBorder #A0CFFF60
editor.findMatchHighlightBackground #A0CFFF15
editor.findMatchHighlightBorder #A0CFFF30
editor.findRangeHighlightBackground #6689B510
editor.findRangeHighlightBorder #6689B500
editor.foldBackground #6d6d6d08
editor.foreground #424243
editor.hoverHighlightBackground #679e9520
editor.inactiveSelectionBackground #A0CFFF30
editor.lineHighlightBackground #15151505
editor.lineHighlightBorder #15151500
editor.rangeHighlightBackground #6689B520
editor.rangeHighlightBorder #6689B500
editor.selectionBackground #A0CFFF60
editor.selectionHighlightBackground #A0CFFF30
editor.selectionHighlightBorder #A0CFFF30
editor.wordHighlightBackground #A469B015
editor.wordHighlightBorder #A469B000
editor.wordHighlightStrongBackground #679e9520
editor.wordHighlightStrongBorder #679e9500
editorBracketHighlight.foreground1 #424242
editorBracketHighlight.foreground2 #6689B5
editorBracketHighlight.foreground3 #679e95
editorBracketHighlight.foreground4 #7FB47E
editorBracketHighlight.foreground5 #D9B46C
editorBracketHighlight.foreground6 #CB5458
editorBracketHighlight.unexpectedBracket.foreground #424242
editorBracketMatch.background #aaaaaa30
editorBracketMatch.border #aaaaaa60
editorCodeLens.foreground #6d6d6d
editorCursor.background #FFFFFF00
editorCursor.foreground #424242
editorError.background #CB545840
editorError.border #CB545800
editorError.foreground #CB5458
editorGroup.border #aaaaaa00
editorGroup.emptyBackground #e8e3e3
editorGroupHeader.tabsBackground #e8e3e3
editorGutter.addedBackground #7FB47E
editorGutter.background #efefef
editorGutter.commentRangeForeground #6d6d6d
editorGutter.deletedBackground #CB5458
editorGutter.foldingControlForeground #6d6d6d
editorGutter.modifiedBackground #6689B5
editorHoverWidget.background #e8e3e3
editorHoverWidget.border #6689B5
editorHoverWidget.foreground #151515
editorIndentGuide.activeBackground #11111150
editorIndentGuide.background #11111130
editorInfo.background #4490BF00
editorInfo.border #6689B500
editorInfo.foreground #6689B5
editorLineNumber.activeForeground #6d6d6d
editorLineNumber.foreground #6d6d6d
editorLink.activeForeground #6689B5
editorMarkerNavigation.background #e8e3e3
editorMarkerNavigationError.background #CB5458
editorMarkerNavigationInfo.background #6689B5
editorMarkerNavigationWarning.background #D9B46C
editorOverviewRuler.background #6d6d6d60
editorOverviewRuler.border #6d6d6d00
editorRuler.foreground #aaaaaa
editorSuggestWidget.background #e8e3e3
editorSuggestWidget.border #aaaaaa
editorSuggestWidget.foreground #151515
editorSuggestWidget.highlightForeground #6689B5
editorSuggestWidget.selectedBackground #6689B540
editorWarning.background #D9B46C40
editorWarning.border #D9B46C00
editorWarning.foreground #D9B46C00
editorWhitespace.foreground #6689B560
editorWidget.background #dadada
editorWidget.foreground #424242
editorWidget.resizeBorder #6d6d6d
focusBorder #6689B5
foreground #424242
gitDecoration.addedResourceForeground #7FB47E
gitDecoration.conflictingResourceForeground #A469B0
gitDecoration.deletedResourceForeground #CB5458
gitDecoration.ignoredResourceForeground #6d6d6d
gitDecoration.modifiedResourceForeground #D9B46C
gitDecoration.stageDeletedResourceForeground #CB5458
gitDecoration.stageModifiedResourceForeground #D9B46C
gitDecoration.submoduleResourceForeground #6689B5
gitDecoration.untrackedResourceForeground #679e95
icon.foreground #424242
input.background #E8E3E3
input.border #E8E3E300
input.foreground #424242
input.placeholderForeground #6d6d6d
inputOption.activeBackground #6689B580
inputOption.activeBorder #6689B500
inputOption.activeForeground #424242
list.activeSelectionBackground #6689B550
list.activeSelectionForeground #151515
list.dropBackground #679e9580
list.errorForeground #CB5458d0
list.focusBackground #3267A080
list.focusForeground #424242
list.highlightForeground #3267A0
list.hoverBackground #6689B520
list.hoverForeground #424242
list.inactiveSelectionBackground #6689B530
list.inactiveSelectionForeground #424242
list.warningForeground #D9B46Ca0
listFilterWidget.background #424242
listFilterWidget.noMatchesOutline #CB5458
listFilterWidget.outline #00000000
menu.background #e8e3e3
menu.border #00000000
menu.foreground #424242
menu.selectionBackground #6689B560
menu.selectionBorder #6689B500
menu.selectionForeground #151515
menu.separatorBackground #6d6d6d
menubar.selectionBackground #e8e3e3
menubar.selectionBorder #15151500
menubar.selectionForeground #424242
merge.commonContentBackground #aaaaaa80
merge.commonHeaderBackground #aaaaaac0
merge.currentContentBackground #679e9540
merge.currentHeaderBackground #679e9580
merge.incomingContentBackground #6689B540
merge.incomingHeaderBackground #6689B580
minimap.background #e8e3e390
minimap.errorHighlight #CB5458
minimap.findMatchHighlight #6689B540
minimap.selectionHighlight #ffffff90
minimap.warningHighlight #D9B46C00
minimapGutter.addedBackground #7FB47E
minimapGutter.deletedBackground #CB5458
minimapGutter.modifiedBackground #6689B5
notificationCenter.border #11111100
notificationCenterHeader.background #424242
notificationCenterHeader.foreground #e8e3e3
notifications.background #e8e3e3
notifications.border #aaaaaa
notifications.foreground #151515
notificationsErrorIcon.foreground #b66467
notificationsInfoIcon.foreground #8da3b9
notificationsWarningIcon.foreground #d9bc8c
notificationToast.border #e8e3e3
panel.background #E8E3E3
panel.border #E8E3E3
panelSection.border #aaaaaa60
panelTitle.activeBorder #6689B5
panelTitle.activeForeground #424242
panelTitle.inactiveForeground #6d6d6d
peekView.border #6689B5
peekViewEditor.background #b6ceec
peekViewEditor.matchHighlightBackground #d9bc8cb3
peekViewEditor.matchHighlightBorder #D9B46C00
peekViewEditorGutter.background #9eb5d1
peekViewResult.background #e8e3e3
peekViewResult.fileForeground #151515
peekViewResult.lineForeground #151515
peekViewResult.matchHighlightBackground #CB545860
peekViewResult.selectionBackground #679e9560
peekViewResult.selectionForeground #151515
peekViewTitle.background #e8e3e3
peekViewTitleDescription.foreground #15151580
peekViewTitleLabel.foreground #151515
pickerGroup.border #6d6d6d
pickerGroup.foreground #3267A0
progressBar.background #6689B5
scrollbar.shadow #11111100
scrollbarSlider.activeBackground #ffffffb0
scrollbarSlider.background #ffffff60
scrollbarSlider.hoverBackground #ffffffb0
selection.background #6689B580
settings.focusedRowBackground #e8e3e350
settings.headerForeground #424242
sideBar.background #e8e3e3
sideBar.dropBackground #679e9580
sideBar.foreground #424242
sideBarSectionHeader.background #C7C7C750
sideBarSectionHeader.border #e8e3e330
sideBarSectionHeader.foreground #151515
sideBarTitle.foreground #151515
statusBar.background #3267A0
statusBar.debuggingBackground #CB5458
statusBar.debuggingForeground #e8e3e3
statusBar.foreground #e8e3e3
statusBar.noFolderBackground #A469B0
statusBar.noFolderForeground #e8e3e3
statusBarItem.activeBackground #FFFFFF25
statusBarItem.hoverBackground #3267A080
statusBarItem.remoteBackground #7FB47E
statusBarItem.remoteForeground #e8e3e3
tab.activeBackground #efefef
tab.activeBorder #00000000
tab.activeBorderTop #00000000
tab.activeForeground #424242
tab.border #efefef
tab.inactiveBackground #e8e3e3
tab.inactiveForeground #6d6d6d
terminal.ansiBlack #151515
terminal.ansiBlue #8da3b9
terminal.ansiBrightBlack #424242
terminal.ansiBrightBlue #8da3b9
terminal.ansiBrightCyan #8aa6a2
terminal.ansiBrightGreen #8c977d
terminal.ansiBrightMagenta #a988b0
terminal.ansiBrightRed #b66467
terminal.ansiBrightWhite #e8e3e3
terminal.ansiBrightYellow #d9bc8c
terminal.ansiCyan #8aa6a2
terminal.ansiGreen #8c977d
terminal.ansiMagenta #a988b0
terminal.ansiRed #b66467
terminal.ansiWhite #c7c7c7
terminal.ansiYellow #d9bc8c
terminal.background #151515
terminal.border #aaaaaa60
terminal.foreground #e8e3e3
terminal.selectionBackground #6d6d6d60
terminalCursor.background #8da3b9
terminalCursor.foreground #e8e3e3
textLink.foreground #3267A0
titleBar.activeBackground #DADADA
titleBar.activeForeground #424242
titleBar.border #C7C7C700
titleBar.inactiveBackground #e8e3e3
titleBar.inactiveForeground #6d6d6d
tree.indentGuidesStroke #11111150
walkThrough.embeddedEditorBackground #00000050
widget.shadow #00000000 #A469B0
punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python #424242 —
variable.parameter.function.language.special.self.python #A469B0 —
variable.parameter.function.language.special.cls.python #A469B0 —
storage.modifier.lifetime.rust #424242 —
support.function.std.rust #6689B5 —
entity.name.lifetime.rust #A469B0 —
variable.language.rust #A469B0 —
support.constant.edge #A469B0 —
constant.other.character-class.regexp #A469B0 —
keyword.operator.quantifier.regexp #679e95 —
punctuation.definition.string.begin,punctuation.definition.string.end #7FB47E —
variable.parameter.function #424242 —
comment markup.link #6d6d6d —
markup.changed.diff #A469B0 —
meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff #6689B5 —
markup.inserted.diff #7FB47E —
markup.deleted.diff #A469B0 —
meta.function.c,meta.function.cpp #A469B0 —
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 #424242 —
punctuation.separator.key-value #424242 —
keyword.operator.expression.import #6689B5 —
support.constant.math #A469B0 —
support.constant.property.math #679e95 —
variable.other.constant #A469B0 —
storage.type.annotation.java, storage.type.object.array.java #A469B0 —
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 #424242 —
storage.modifier.import.java,storage.type.java,storage.type.generic.java #A469B0 —
keyword.operator.instanceof.java #679e95 —
meta.definition.variable.name.java #A469B0 —
keyword.operator.logical #679e95 —
keyword.operator.bitwise #679e95 —
keyword.operator.channel #679e95 —
support.constant.property-value.scss,support.constant.property-value.css #679e95 —
keyword.operator.css,keyword.operator.scss,keyword.operator.less #679e95 —
support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss #679e95 —
punctuation.separator.list.comma.css #424242 —
support.constant.color.w3c-standard-color-name.css #679e95 —
support.type.vendored.property-name.css #679e95 —
support.module.node,support.type.object.module,support.module.node #A469B0 —
entity.name.type.module #A469B0 —
variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node #424242 —
support.constant.json #679e95 —
keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof #CB5458 italic
support.type.object.console #A469B0 —
support.variable.property.process #679e95 —
entity.name.function,support.function.console #6689B5 —
keyword.operator.misc.rust #424242 —
keyword.operator.sigil.rust #D9B46C —
keyword.operator.delete #D9B46C —
support.type.object.dom #679e95 —
support.variable.dom,support.variable.property.dom #A469B0 —
keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational #679e95 —
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 #D9B46C —
punctuation.separator.delimiter #424242 —
punctuation.separator.c,punctuation.separator.cpp #D9B46C —
support.type.posix-reserved.c,support.type.posix-reserved.cpp #679e95 —
keyword.operator.sizeof.c,keyword.operator.sizeof.cpp #D9B46C —
variable.parameter.function.language.python #679e95 —
support.type.python #679e95 —
keyword.operator.logical.python #D9B46C —
variable.parameter.function.python #679e95 —
punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python #424242 —
meta.function-call.generic.python #6689B5 —
constant.character.format.placeholder.other.python #679e95 —
keyword.operator.assignment.compound #D9B46C —
keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts #679e95 —
entity.name.namespace #A469B0 —
variable.language #A469B0 —
token.variable.parameter.java #424242 —
import.storage.java #A469B0 —
token.package.keyword #CB5458 —
entity.name.function, meta.require, support.function.any-method, variable.function #6689B5 —
entity.name.type.namespace #A469B0 —
support.class, entity.name.type.class #A469B0 —
entity.name.class.identifier.namespace.type #A469B0 —
entity.name.class, variable.other.class.js, variable.other.class.ts #A469B0 —
variable.other.class.php #A469B0 —
keyword.control #CB5458 italic
control.elements, keyword.operator.less #679e95 —
keyword.other.special-method #6689B5 —
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 #D9B46C —
token.storage.type.java #A469B0 —
support.type.property-name #424242 —
support.constant.property-value #424242 —
support.constant.font-name #679e95 —
entity.other.inherited-class #A469B0 —
constant.other.symbol #679e95 —
punctuation.definition.constant #679e95 —
entity.other.attribute-name #679e95 —
entity.other.attribute-name.id #6689B5 —
entity.other.attribute-name.class.css #679e95 —
markup.heading punctuation.definition.heading, entity.name.section #6689B5 —
keyword.other.unit #A469B0 —
markup.bold,todo.bold #679e95 —
punctuation.definition.bold #A469B0 —
markup.italic, punctuation.definition.italic,todo.emphasis #CB5458 —
entity.name.section.markdown #A469B0 —
punctuation.definition.heading.markdown #A469B0 —
punctuation.definition.list.begin.markdown #A469B0 —
markup.heading.setext #424242 —
punctuation.definition.bold.markdown #679e95 —
markup.inline.raw.markdown #7FB47E —
markup.inline.raw.string.markdown #7FB47E —
punctuation.definition.raw.markdown #A469B0 —
punctuation.definition.list.markdown #A469B0 —
punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown #A469B0 —
beginning.punctuation.definition.list.markdown #A469B0 —
punctuation.definition.metadata.markdown #A469B0 —
markup.underline.link.markdown,markup.underline.link.image.markdown #CB5458 —
string.other.link.title.markdown,string.other.link.description.markdown #6689B5 —
constant.character.escape #679e95 —
punctuation.section.embedded, variable.interpolation #A469B0 —
punctuation.section.embedded.begin,punctuation.section.embedded.end #CB5458 —
invalid.illegal #CB5458 bold
invalid.illegal.bad-ampersand.html #CB5458 bold
invalid.illegal.unrecognized-tag.html #CB5458 bold
invalid.broken #CB5458 bold strikethrough
invalid.deprecated #D9B46C italic
invalid.deprecated.entity.other.attribute-name.html #D9B46C italic
invalid.unimplemented #D9B46C —
source.json meta.structure.dictionary.json > string.quoted.json #A469B0 —
source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string #A469B0 —
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 #7FB47E —
source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json #679e95 —
support.type.property-name.json #A469B0 —
support.type.property-name.json punctuation #A469B0 —
text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade #D9B46C —
text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade #CB5458 —
support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php #A469B0 —
keyword.operator.error-control.php #CB5458 —
keyword.operator.type.php #679e95 —
punctuation.section.array.begin.php #424242 —
punctuation.section.array.end.php #424242 —
invalid.illegal.non-null-typehinted.php #CB5458 —
storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php #A469B0 —
meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php #6689B5 —
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 #424242 —
support.constant.core.rust #679e95 —
support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php #679e95 —
entity.name.goto-label.php,support.other.php #6689B5 —
keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php #679e95 —
keyword.operator.regexp.php #CB5458 —
keyword.operator.comparison.php #679e95 —
keyword.operator.heredoc.php,keyword.operator.nowdoc.php #CB5458 —
meta.function.decorator.python #6689B5 —
support.token.decorator.python,meta.function.decorator.identifier.python #679e95 —
function.parameter #424242 —
function.parameter.ruby, function.parameter.cs #424242 —
constant.language.symbol.ruby #679e95 —
inline-color-decoration rgb-value #679e95 —
support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx #A469B0 —
block.scope.end,block.scope.begin #424242 —
entity.name.variable.local.cs #A469B0 —
token.error-token #CB5458 —
token.debug-token #CB5458 —
punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded #CB5458 —
meta.template.expression #424242 —
keyword.operator.module #CB5458 —
support.type.type.flowtype #6689B5 —
support.type.primitive #A469B0 —
meta.property.object #A469B0 —
variable.parameter.function.js #A469B0 —
keyword.other.template.begin #7FB47E —
keyword.other.template.end #7FB47E —
keyword.other.substitution.begin #7FB47E —
keyword.other.substitution.end #7FB47E —
keyword.operator.assignment #679e95 —
keyword.operator.assignment.go #A469B0 —
keyword.operator.arithmetic.go, keyword.operator.address.go #D9B46C —
entity.name.package.go #A469B0 —
support.type.prelude.elm #679e95 —
support.constant.elm #679e95 —
punctuation.quasi.element #D9B46C —
constant.character.entity #A469B0 —
entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class #679e95 —
entity.global.clojure #A469B0 —
meta.symbol.clojure #A469B0 —
constant.keyword.clojure #679e95 —
meta.arguments.coffee, variable.parameter.function.coffee #A469B0 —
meta.scope.prerequisites.makefile #A469B0 —
storage.modifier.import.groovy #A469B0 —
meta.method.groovy #6689B5 —
meta.definition.variable.name.groovy #A469B0 —
meta.definition.class.inherited.classes.groovy #7FB47E —
support.variable.semantic.hlsl #A469B0 —
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 #CB5458 —
text.variable, text.bracketed #A469B0 —
support.type.swift, support.type.vb.asp #A469B0 —
entity.name.function.xi #A469B0 —
entity.name.class.xi #679e95 —
constant.character.character-class.regexp.xi #A469B0 —
constant.regexp.xi #CB5458 —
keyword.control.xi #679e95 —
beginning.punctuation.definition.quote.markdown.xi #7FB47E —
beginning.punctuation.definition.list.markdown.xi #6d6d6d —
constant.character.xi #6689B5 —
constant.other.color.rgb-value.xi #424242 —
punctuation.definition.tag.xi #6d6d6d —
entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition #A469B0 —
entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown #A469B0 —
meta.brace.square #424242 —
comment, punctuation.definition.comment #6d6d6d italic
markup.quote.markdown #6d6d6d —
punctuation.definition.block.sequence.item.yaml #424242 —
constant.language.symbol.elixir, constant.language.symbol.double-quoted.elixir #679e95 —
markup.underline — underline
constant.numeric.decimal.asm.x86_64 #A469B0 —
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
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...
main*
Button.tsx
fetchUser
31
~/my-project
$
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 } !` ;
}