Skip to main content
Plurpel! | 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 #725ac130 activityBar.activeBorder #8d86c9 activityBar.activeFocusBorder #8d86c9 activityBar.background #1d1929 activityBar.border #725ac120 activityBar.foreground #f7ece1 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison #e06c75 — variable.other.generic-type.haskell #c678dd — storage.type.haskell #d19a66 — support.variable.magic.python
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
activityBar.inactiveForeground
#cac4ce80
activityBarBadge.background #725ac1
activityBarBadge.foreground #f7ece1
badge.background #725ac1
badge.foreground #f7ece1
breadcrumb.activeSelectionForeground #8d86c9
breadcrumb.background #1d1929
breadcrumb.focusForeground #f7ece1
breadcrumb.foreground #cac4ce
breadcrumbPicker.background #1d1929
button.background #725ac1
button.foreground #f7ece1
button.hoverBackground #8d86c9
button.secondaryBackground #f7ece1
button.secondaryForeground #725ac1
button.secondaryHoverBackground #cac4ce
charts.blue #61afef
charts.foreground #f7ece1
charts.green #98c379
charts.lines #cac4ce80
charts.orange #d19a66
charts.purple #c678dd
charts.red #e06c75
charts.yellow #e5c07b
checkbox.background #242038
checkbox.border #00000000
checkbox.foreground #f7ece1
debugConsole.errorForeground #f48771
debugConsole.infoForeground #61afef
debugConsole.sourceForeground #cac4ce
debugConsole.warningForeground #cca700
debugConsoleInputIcon.foreground #f7ece1
debugExceptionWidget.background #242038
debugExceptionWidget.border #725ac1
debugIcon.breakpointCurrentStackframeForeground #e5c07b
debugIcon.breakpointDisabledForeground #e06c7580
debugIcon.breakpointForeground #e06c75
debugIcon.breakpointStackframeForeground #98c379
debugIcon.breakpointUnverifiedForeground #cac4ce
debugIcon.continueForeground #98c379
debugIcon.disconnectForeground #e06c75
debugIcon.pauseForeground #61afef
debugIcon.restartForeground #98c379
debugIcon.startForeground #98c379
debugIcon.stepBackForeground #61afef
debugIcon.stepIntoForeground #61afef
debugIcon.stepOutForeground #61afef
debugIcon.stepOverForeground #61afef
debugIcon.stopForeground #e06c75
debugTokenExpression.boolean #c678dd
debugTokenExpression.error #f48771
debugTokenExpression.name #e06c75
debugTokenExpression.number #d19a66
debugTokenExpression.string #98c379
debugTokenExpression.value #98c379
debugToolBar.background #242038
debugToolBar.border #725ac1
debugView.exceptionLabelBackground #f4877180
debugView.exceptionLabelForeground #f7ece1
debugView.stateLabelBackground #725ac180
debugView.stateLabelForeground #f7ece1
debugView.valueChangedHighlight #8d86c9
descriptionForeground #cac4ce
diffEditor.border #725ac1
diffEditor.insertedTextBackground #9bb95533
diffEditor.insertedTextBorder #ddddee00
diffEditor.removedTextBackground #ff000033
dropdown.background #242038
dropdown.border #00000000
dropdown.foreground #f7ece1
editor.background #242038
editor.findMatchBackground #8d86c9
editor.findMatchBorder #725ac1
editor.findMatchHighlightBackground #f7ece140
editor.findMatchHighlightBorder #ffffff00
editor.findRangeHighlightBackground #cac4ce26
editor.findRangeHighlightBorder #8d86c938
editor.foldBackground #264f784d
editor.foreground #f7ece1
editor.hoverHighlightBackground #725ac140
editor.inactiveSelectionBackground #cac4ce20
editor.lineHighlightBackground #ffffff0A
editor.lineHighlightBorder #282828
editor.rangeHighlightBackground #8d86c95a
editor.rangeHighlightBorder #00000000
editor.selectionBackground #cac4ce50
editor.selectionHighlightBackground #725ac15e
editor.selectionHighlightBorder #725ac1
editor.wordHighlightBackground #e29595b8
editor.wordHighlightStrongBackground #725ac150
editor.wordHighlightStrongBorder #8d86c9
editorBracketMatch.background #0064001a
editorBracketMatch.border #888888
editorCodeLens.foreground #f7ece1
editorCursor.background #725ac1
editorCursor.foreground #f7ece1
editorError.background #f4877100
editorError.border #ffffff00
editorError.foreground #f48771
editorGroup.border #725ac1
editorGroup.emptyBackground #242038
editorGroupHeader.border #725ac120
editorGroupHeader.noTabsBackground #242038
editorGroupHeader.tabsBackground #1d1929
editorGroupHeader.tabsBorder #00000000
editorGutter.addedBackground #587c0c
editorGutter.background #242038
editorGutter.commentRangeForeground #cac4ce80
editorGutter.deletedBackground #94151b
editorGutter.foldingControlForeground #f7ece1
editorGutter.modifiedBackground #0c7d9d
editorHint.border #56b6c200
editorHint.foreground #56b6c2
editorHoverWidget.background #242038
editorHoverWidget.border #725ac1
editorHoverWidget.foreground #f7ece1
editorIndentGuide.activeBackground1 #707070
editorIndentGuide.background1 #404040
editorInfo.background #61afef00
editorInfo.border #61afef00
editorInfo.foreground #61afef
editorLineNumber.activeForeground #cac4ce
editorLineNumber.foreground #f7ece1
editorLink.activeForeground #4e94ce
editorMarkerNavigation.background #242038
editorMarkerNavigationError.background #f48771
editorMarkerNavigationInfo.background #75beff
editorMarkerNavigationWarning.background #cca700
editorOverviewRuler.addedForeground #98c379
editorOverviewRuler.background #1d1929
editorOverviewRuler.border #725ac120
editorOverviewRuler.deletedForeground #e06c75
editorOverviewRuler.errorForeground #f48771
editorOverviewRuler.findMatchForeground #8d86c980
editorOverviewRuler.infoForeground #61afef
editorOverviewRuler.modifiedForeground #0c7d9d
editorOverviewRuler.rangeHighlightForeground #8d86c950
editorOverviewRuler.selectionHighlightForeground #725ac180
editorOverviewRuler.warningForeground #cca700
editorOverviewRuler.wordHighlightForeground #725ac180
editorOverviewRuler.wordHighlightStrongForeground #725ac1c0
editorRuler.foreground #5a5a5a
editorSuggestWidget.background #242038
editorSuggestWidget.border #725ac1
editorSuggestWidget.foreground #ffffff
editorSuggestWidget.highlightForeground #f7ece1
editorSuggestWidget.selectedBackground #8d86c9
editorWarning.background #cca70000
editorWarning.border #ffffff00
editorWarning.foreground #cca700
editorWhitespace.foreground #f7ece166
editorWidget.background #1d1929
editorWidget.border #725ac1
editorWidget.foreground #f7ece1
editorWidget.resizeBorder #8d86c9
errorForeground #f48771
extensionBadge.remoteBackground #725ac1
extensionBadge.remoteForeground #f7ece1
extensionButton.prominentBackground #725ac1
extensionButton.prominentForeground #f7ece1
extensionButton.prominentHoverBackground #8d86c9
extensionIcon.preReleaseForeground #cca700
extensionIcon.starForeground #e5c07b
extensionIcon.verifiedForeground #98c379
focusBorder #8d86c9
foreground #f7ece1
gitDecoration.addedResourceForeground #81b88b
gitDecoration.conflictingResourceForeground #6c6cc4
gitDecoration.deletedResourceForeground #c74e39
gitDecoration.ignoredResourceForeground #8c8c8c
gitDecoration.modifiedResourceForeground #e2c08d
gitDecoration.stageDeletedResourceForeground #c74e39
gitDecoration.stageModifiedResourceForeground #e2c08d
gitDecoration.submoduleResourceForeground #8db9e2
gitDecoration.untrackedResourceForeground #73c991
icon.foreground #725ac1
input.background #1d1929
input.border #725ac140
input.foreground #f7ece1
input.placeholderForeground #cac4ce80
inputOption.activeBackground #725ac180
inputOption.activeBorder #8d86c9
inputOption.activeForeground #f7ece1
inputOption.hoverBackground #725ac140
inputValidation.errorBackground #f4877120
inputValidation.errorBorder #f48771
inputValidation.infoBackground #61afef20
inputValidation.infoBorder #61afef
inputValidation.warningBackground #cca70020
inputValidation.warningBorder #cca700
list.activeSelectionBackground #725ac1
list.activeSelectionForeground #f7ece1
list.dropBackground #8d86c950
list.focusBackground #725ac1
list.focusForeground #f7ece1
list.focusOutline #8d86c9
list.highlightForeground #8d86c9
list.hoverBackground #725ac125
list.hoverForeground #f7ece1
list.inactiveFocusBackground #725ac140
list.inactiveFocusOutline #725ac180
list.inactiveSelectionBackground #725ac140
list.inactiveSelectionForeground #f7ece1
listFilterWidget.background #725ac1
listFilterWidget.noMatchesOutline #ff1700
listFilterWidget.outline #00000000
menu.background #242038
menu.border #725ac1
menu.foreground #f7ece1
menu.selectionBackground #725ac1
menu.selectionBorder #00000000
menu.selectionForeground #f7ece1
menu.separatorBackground #725ac1
menubar.selectionBackground #f7ece1
menubar.selectionBorder #f7ece1
menubar.selectionForeground #725ac1
merge.commonContentBackground #28282860
merge.commonHeaderBackground #38383880
merge.currentContentBackground #27403B60
merge.currentHeaderBackground #36736680
merge.incomingContentBackground #28384B60
merge.incomingHeaderBackground #395F8F80
minimap.background #242038
minimap.errorHighlight #f48771
minimap.findMatchHighlight #8d86c980
minimap.selectionHighlight #cac4ce50
minimap.warningHighlight #cca700
minimapGutter.addedBackground #587c0c
minimapGutter.deletedBackground #94151b
minimapGutter.modifiedBackground #0c7d9d
notificationCenter.border #725ac1
notificationCenterHeader.background #242038
notificationCenterHeader.foreground #f7ece1
notifications.background #242038
notifications.border #725ac1
notifications.foreground #f7ece1
notificationsErrorIcon.foreground #f48771
notificationsInfoIcon.foreground #75beff
notificationsWarningIcon.foreground #cca700
notificationToast.border #725ac1
panel.background #242038
panel.border #80808059
panelSection.border #80808059
panelTitle.activeBorder #f7ece1
panelTitle.activeForeground #f7ece1
panelTitle.inactiveForeground #f7ece197
peekView.border #725ac1
peekViewEditor.background #242038
peekViewEditor.matchHighlightBackground #f7ece138
peekViewEditor.matchHighlightBorder #725ac1
peekViewEditorGutter.background #242038
peekViewResult.background #242038
peekViewResult.fileForeground #f7ece1
peekViewResult.lineForeground #f7ece1
peekViewResult.matchHighlightBackground #725ac1
peekViewResult.selectionBackground #f7ece1
peekViewResult.selectionForeground #725ac1
peekViewTitle.background #242038
peekViewTitleDescription.foreground #f7ece1
peekViewTitleLabel.foreground #f7ece1
pickerGroup.border #725ac150
pickerGroup.foreground #8d86c9
progressBar.background #f7ece1
quickInput.background #1d1929
quickInput.foreground #f7ece1
quickInputList.focusBackground #725ac1
quickInputList.focusForeground #f7ece1
quickInputList.focusIconForeground #f7ece1
scrollbar.shadow #00000050
scrollbarSlider.activeBackground #725ac1b3
scrollbarSlider.background #725ac183
scrollbarSlider.hoverBackground #725ac1db
selection.background #725ac180
settings.checkboxBackground #1d1929
settings.checkboxBorder #725ac140
settings.checkboxForeground #f7ece1
settings.dropdownBackground #1d1929
settings.dropdownBorder #725ac140
settings.dropdownForeground #f7ece1
settings.focusedRowBackground #725ac120
settings.headerBorder #725ac120
settings.headerForeground #725ac1
settings.modifiedItemIndicator #725ac1
settings.numberInputBackground #1d1929
settings.numberInputBorder #725ac140
settings.numberInputForeground #f7ece1
settings.sashBorder #725ac120
settings.textInputBackground #1d1929
settings.textInputBorder #725ac140
settings.textInputForeground #f7ece1
sideBar.background #1d1929
sideBar.border #725ac120
sideBar.dropBackground #8d86c9
sideBar.foreground #f7ece1
sideBarSectionHeader.background #242038
sideBarSectionHeader.border #725ac120
sideBarSectionHeader.foreground #f7ece1
sideBarTitle.foreground #8d86c9
statusBar.background #1d1929
statusBar.border #725ac120
statusBar.debuggingBackground #725ac1
statusBar.debuggingBorder #8d86c9
statusBar.debuggingForeground #f7ece1
statusBar.foreground #cac4ce
statusBar.noFolderBackground #1d1929
statusBar.noFolderBorder #725ac120
statusBar.noFolderForeground #cac4ce
statusBarItem.activeBackground #FFFFFF25
statusBarItem.errorBackground #f4877180
statusBarItem.errorForeground #f7ece1
statusBarItem.hoverBackground #725ac140
statusBarItem.prominentBackground #725ac1
statusBarItem.prominentForeground #f7ece1
statusBarItem.prominentHoverBackground #8d86c9
statusBarItem.remoteBackground #725ac1
statusBarItem.remoteForeground #f7ece1
statusBarItem.warningBackground #cca70080
statusBarItem.warningForeground #f7ece1
symbolIcon.arrayForeground #d19a66
symbolIcon.booleanForeground #c678dd
symbolIcon.classForeground #e5c07b
symbolIcon.colorForeground #56b6c2
symbolIcon.constantForeground #d19a66
symbolIcon.constructorForeground #e5c07b
symbolIcon.enumeratorForeground #e5c07b
symbolIcon.enumeratorMemberForeground #56b6c2
symbolIcon.eventForeground #e06c75
symbolIcon.fieldForeground #e06c75
symbolIcon.fileForeground #f7ece1
symbolIcon.folderForeground #f7ece1
symbolIcon.functionForeground #61afef
symbolIcon.interfaceForeground #56b6c2
symbolIcon.keyForeground #e06c75
symbolIcon.keywordForeground #c678dd
symbolIcon.methodForeground #61afef
symbolIcon.moduleForeground #e5c07b
symbolIcon.namespaceForeground #e5c07b
symbolIcon.nullForeground #c678dd
symbolIcon.numberForeground #d19a66
symbolIcon.objectForeground #e5c07b
symbolIcon.operatorForeground #56b6c2
symbolIcon.packageForeground #e5c07b
symbolIcon.propertyForeground #e06c75
symbolIcon.referenceForeground #e06c75
symbolIcon.snippetForeground #98c379
symbolIcon.stringForeground #98c379
symbolIcon.structForeground #e5c07b
symbolIcon.textForeground #f7ece1
symbolIcon.typeParameterForeground #d19a66
symbolIcon.unitForeground #d19a66
symbolIcon.variableForeground #e06c75
tab.activeBackground #242038
tab.activeBorder #00000000
tab.activeBorderTop #8d86c9
tab.activeForeground #f7ece1
tab.activeModifiedBorder #725ac1
tab.border #00000000
tab.hoverBackground #725ac130
tab.hoverBorder #8d86c9
tab.hoverForeground #f7ece1
tab.inactiveBackground #1d1929
tab.inactiveForeground #cac4ce
tab.inactiveModifiedBorder #725ac180
tab.unfocusedActiveBackground #242038
tab.unfocusedActiveBorderTop #725ac180
tab.unfocusedActiveForeground #cac4ce
tab.unfocusedHoverBackground #725ac120
tab.unfocusedInactiveForeground #cac4ce80
terminal.ansiBlack #242038
terminal.ansiBlue #61afef
terminal.ansiBrightBlack #cac4ce
terminal.ansiBrightBlue #61afef
terminal.ansiBrightCyan #56b6c2
terminal.ansiBrightGreen #98c379
terminal.ansiBrightMagenta #c678dd
terminal.ansiBrightRed #e06c75
terminal.ansiBrightWhite #f7ece1
terminal.ansiBrightYellow #e5c07b
terminal.ansiCyan #56b6c2
terminal.ansiGreen #98c379
terminal.ansiMagenta #c678dd
terminal.ansiRed #e06c75
terminal.ansiWhite #f7ece1
terminal.ansiYellow #d19a66
terminal.background #242038
terminal.border #725ac120
terminal.foreground #f7ece1
terminal.selectionBackground #725ac150
terminal.tab.activeBorder #8d86c9
terminalCommandDecoration.defaultBackground #cac4ce80
terminalCommandDecoration.errorBackground #e06c75
terminalCommandDecoration.successBackground #98c379
terminalCursor.background #242038
terminalCursor.foreground #8d86c9
textLink.foreground #8d86c9
titleBar.activeBackground #1d1929
titleBar.activeForeground #f7ece1
titleBar.border #725ac120
titleBar.inactiveBackground #1d1929
titleBar.inactiveForeground #cac4ce80
tree.indentGuidesStroke #725ac150
tree.tableOddRowsBackground #ffffff05
walkThrough.embeddedEditorBackground #1d1929
walkthrough.stepTitle.foreground #f7ece1
welcomePage.background #242038
welcomePage.progress.background #1d1929
welcomePage.progress.foreground #725ac1
welcomePage.tileBackground #1d1929
welcomePage.tileBorder #725ac140
welcomePage.tileHoverBackground #725ac120
widget.shadow #0000005c #e06c75
punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python #f7ece1 —
variable.parameter.function.language.special.self.python #e5c07b —
storage.modifier.lifetime.rust #f7ece1 —
support.function.std.rust #61afef —
entity.name.lifetime.rust #e5c07b —
variable.language.rust #e06c75 —
support.constant.edge #c678dd —
constant.other.character-class.regexp #e06c75 —
keyword.operator.quantifier.regexp #d19a66 —
punctuation.definition.string.begin,punctuation.definition.string.end #98c379 —
variable.parameter.function #f7ece1 —
comment markup.link #cac4ce —
markup.changed.diff #e5c07b —
meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff #61afef —
markup.inserted.diff #98c379 —
markup.deleted.diff #e06c75 —
meta.function.c,meta.function.cpp #e06c75 —
punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c #f7ece1 —
punctuation.separator.key-value #f7ece1 —
keyword.operator.expression.import #61afef —
support.constant.math #e5c07b —
support.constant.property.math #d19a66 —
variable.other.constant #e5c07b —
storage.type.annotation.java, storage.type.object.array.java #e5c07b —
punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java #f7ece1 —
storage.modifier.import.java,storage.type.java,storage.type.generic.java #e5c07b —
keyword.operator.instanceof.java #c678dd —
meta.definition.variable.name.java #e06c75 —
keyword.operator.logical #56b6c2 —
keyword.operator.bitwise #56b6c2 —
keyword.operator.channel #56b6c2 —
support.constant.property-value.scss,support.constant.property-value.css #d19a66 —
keyword.operator.css,keyword.operator.scss,keyword.operator.less #56b6c2 —
support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss #d19a66 —
punctuation.separator.list.comma.css #f7ece1 —
support.constant.color.w3c-standard-color-name.css #d19a66 —
support.type.vendored.property-name.css #56b6c2 —
support.module.node,support.type.object.module,support.module.node #e5c07b —
entity.name.type.module #e5c07b —
variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node #e06c75 —
support.constant.json #d19a66 —
keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof #c678dd —
support.type.object.console #e06c75 —
support.variable.property.process #d19a66 —
entity.name.function,support.function.console #61afef —
keyword.operator.misc.rust #f7ece1 —
keyword.operator.sigil.rust #c678dd —
keyword.operator.delete #c678dd —
support.type.object.dom #56b6c2 —
support.variable.dom,support.variable.property.dom #e06c75 —
keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational #56b6c2 —
keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp #c678dd —
punctuation.separator.delimiter #f7ece1 —
punctuation.separator.c,punctuation.separator.cpp #c678dd —
support.type.posix-reserved.c,support.type.posix-reserved.cpp #56b6c2 —
keyword.operator.sizeof.c,keyword.operator.sizeof.cpp #c678dd —
variable.parameter.function.language.python #d19a66 —
support.type.python #56b6c2 —
keyword.operator.logical.python #c678dd —
variable.parameter.function.python #d19a66 —
punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python #f7ece1 —
meta.function-call.generic.python #61afef —
constant.character.format.placeholder.other.python #d19a66 —
keyword.operator.assignment.compound #c678dd —
keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts #56b6c2 —
entity.name.namespace #e5c07b —
variable.language #e5c07b —
token.variable.parameter.java #f7ece1 —
import.storage.java #e5c07b —
token.package.keyword #c678dd —
entity.name.function, meta.require, support.function.any-method, variable.function #61afef —
entity.name.type.namespace #e5c07b —
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 #e06c75 —
control.elements, keyword.operator.less #d19a66 —
keyword.other.special-method #61afef —
keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void #c678dd —
token.storage.type.java #e5c07b —
support.type.property-name #f7ece1 —
support.constant.property-value #f7ece1 —
support.constant.font-name #d19a66 —
entity.other.inherited-class #e5c07b —
constant.other.symbol #56b6c2 —
punctuation.definition.constant #d19a66 —
entity.other.attribute-name #d19a66 —
entity.other.attribute-name.id #61afef —
entity.other.attribute-name.class.css #d19a66 —
markup.heading punctuation.definition.heading, entity.name.section #61afef —
keyword.other.unit #e06c75 —
markup.bold,todo.bold #d19a66 —
punctuation.definition.bold #e5c07b —
markup.italic, punctuation.definition.italic,todo.emphasis #c678dd —
entity.name.section.markdown #e06c75 —
punctuation.definition.heading.markdown #e06c75 —
punctuation.definition.list.begin.markdown #e06c75 —
markup.heading.setext #f7ece1 —
punctuation.definition.bold.markdown #d19a66 —
markup.inline.raw.markdown #98c379 —
markup.inline.raw.string.markdown #98c379 —
punctuation.definition.list.markdown #e06c75 —
punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown #e06c75 —
beginning.punctuation.definition.list.markdown #e06c75 —
punctuation.definition.metadata.markdown #e06c75 —
markup.underline.link.markdown,markup.underline.link.image.markdown #c678dd —
string.other.link.title.markdown,string.other.link.description.markdown #61afef —
constant.character.escape #56b6c2 —
punctuation.section.embedded, variable.interpolation #e06c75 —
punctuation.section.embedded.begin,punctuation.section.embedded.end #c678dd —
invalid.illegal.bad-ampersand.html #f7ece1 —
invalid.deprecated #ffffff —
invalid.unimplemented #ffffff —
source.json meta.structure.dictionary.json > string.quoted.json #e06c75 —
source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string #e06c75 —
source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation #98c379 —
source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json #56b6c2 —
support.type.property-name.json #e06c75 —
support.type.property-name.json punctuation #e06c75 —
text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade #c678dd —
text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade #c678dd —
support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php #e5c07b —
keyword.operator.error-control.php #c678dd —
keyword.operator.type.php #c678dd —
punctuation.section.array.begin.php #f7ece1 —
punctuation.section.array.end.php #f7ece1 —
invalid.illegal.non-null-typehinted.php #f44747 —
storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php #e5c07b —
meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php #61afef —
punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php #f7ece1 —
support.constant.core.rust #d19a66 —
support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php #d19a66 —
entity.name.goto-label.php,support.other.php #61afef —
keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php #56b6c2 —
keyword.operator.regexp.php #c678dd —
keyword.operator.comparison.php #56b6c2 —
keyword.operator.heredoc.php,keyword.operator.nowdoc.php #c678dd —
meta.function.decorator.python #61afef —
support.token.decorator.python,meta.function.decorator.identifier.python #56b6c2 —
function.parameter #f7ece1 —
function.parameter.ruby, function.parameter.cs #f7ece1 —
constant.language.symbol.ruby #56b6c2 —
inline-color-decoration rgb-value #d19a66 —
support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx #e5c07b —
block.scope.end,block.scope.begin #f7ece1 —
entity.name.variable.local.cs #e06c75 —
token.error-token #f44747 —
token.debug-token #c678dd —
punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded #c678dd —
meta.template.expression #f7ece1 —
keyword.operator.module #c678dd —
support.type.type.flowtype #61afef —
support.type.primitive #e5c07b —
meta.property.object #e06c75 —
variable.parameter.function.js #e06c75 —
keyword.other.template.begin #98c379 —
keyword.other.template.end #98c379 —
keyword.other.substitution.begin #98c379 —
keyword.other.substitution.end #98c379 —
keyword.operator.assignment #56b6c2 —
keyword.operator.assignment.go #e5c07b —
keyword.operator.arithmetic.go, keyword.operator.address.go #c678dd —
entity.name.package.go #e5c07b —
support.type.prelude.elm #56b6c2 —
support.constant.elm #d19a66 —
punctuation.quasi.element #c678dd —
constant.character.entity #e06c75 —
entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class #56b6c2 —
entity.global.clojure #e5c07b —
meta.symbol.clojure #e06c75 —
constant.keyword.clojure #56b6c2 —
meta.arguments.coffee, variable.parameter.function.coffee #e06c75 —
meta.scope.prerequisites.makefile #e06c75 —
storage.modifier.import.groovy #e5c07b —
meta.method.groovy #61afef —
meta.definition.variable.name.groovy #e06c75 —
meta.definition.class.inherited.classes.groovy #98c379 —
support.variable.semantic.hlsl #e5c07b —
support.type.texture.hlsl, support.type.sampler.hlsl, support.type.object.hlsl, support.type.object.rw.hlsl, support.type.fx.hlsl, support.type.object.hlsl #c678dd —
text.variable, text.bracketed #e06c75 —
support.type.swift, support.type.vb.asp #e5c07b —
entity.name.function.xi #e5c07b —
entity.name.class.xi #56b6c2 —
constant.character.character-class.regexp.xi #e06c75 —
constant.regexp.xi #c678dd —
keyword.control.xi #56b6c2 —
beginning.punctuation.definition.quote.markdown.xi #98c379 —
beginning.punctuation.definition.list.markdown.xi #cac4ce —
constant.character.xi #61afef —
constant.other.color.rgb-value.xi #ffffff —
punctuation.definition.tag.xi #cac4ce —
entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition #e5c07b —
entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown #e06c75 —
meta.brace.square #f7ece1 —
comment, punctuation.definition.comment #cac4ce italic
markup.quote.markdown #cac4ce —
punctuation.definition.block.sequence.item.yaml #f7ece1 —
constant.language.symbol.elixir #56b6c2 —
keyword.control.import, keyword.control.export, keyword.control.from #c678dd italic
variable.language.this #e06c75 italic
entity.name.type.ts, entity.name.type.tsx, support.type.builtin.ts, support.type.builtin.tsx #e5c07b —
support.class.component.tsx, support.class.component.jsx #e5c07b —
meta.function-call.tsx entity.name.function, meta.function-call.jsx entity.name.function #61afef —
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...
main*
Button.tsx
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 } !` ;
}