Skip to main content
VS Code preview Full workbench mockup using this variant's colors and tokenColors.
colors Workbench UI color keys from the theme JSON colors map.
activityBar.activeBackground #b0daff activityBar.background #fcfdff activityBar.border #ff000000 activityBar.foreground #6c5ee6 activityBar.inactiveForeground #b0daff activityBarBadge.background #6c5ee6 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 #212123 — variable.other.generic-type.haskell #5eafe7 — storage.type.haskell #212123 — support.variable.magic.python
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Fluid Light Theme — Fluid Theme
activityBarBadge.foreground
#ffffff
badge.background #6c5ee6
badge.foreground #fcfdff
breadcrumb.activeSelectionForeground #4e4e4e
breadcrumb.background #f3f6ff
breadcrumb.focusForeground #4e4e4e
breadcrumb.foreground #616161cc
button.background #5eafe7
button.foreground #ffffff
button.hoverBackground #b8dfff
button.secondaryBackground #6c5ee6
button.secondaryForeground #ffffff
button.secondaryHoverBackground #d5e5fb
checkbox.background #fcfdff
checkbox.border #d5e5fb
checkbox.foreground #a39898
debugExceptionWidget.background #ffffff
debugExceptionWidget.border #6c5ee6
debugToolBar.background #ffffff
debugToolBar.border #6c5ee6
diffEditor.border #5eafe700
diffEditor.insertedTextBackground #556eb90c
diffEditor.removedTextBackground #0093ff08
dropdown.background #fcfdff
dropdown.border #d5e5fb
dropdown.foreground #a39898
editor.background #f3f6ff
editor.findMatchBackground #a8ac9400
editor.findMatchBorder #d5e5fb
editor.findMatchHighlightBackground #ea5c0000
editor.findMatchHighlightBorder #d5e5fb
editor.findRangeHighlightBackground #d5e5fb54
editor.findRangeHighlightBorder #ffffff00
editor.foldBackground #d5e5fb
editor.foreground #b8dfff
editor.hoverHighlightBackground #add6ff26
editor.inactiveSelectionBackground #d5e5fb
editor.lineHighlightBackground #ffffff00
editor.lineHighlightBorder #d5e5fb
editor.rangeHighlightBackground #fdff0000
editor.rangeHighlightBorder #ffffff00
editor.selectionBackground #d5e5fb
editor.selectionHighlightBackground #add6ff00
editor.selectionHighlightBorder #d5e5fb
editor.wordHighlightBackground #57575700
editor.wordHighlightBorder #d5e5fb
editor.wordHighlightStrongBackground #0e639c00
editor.wordHighlightStrongBorder #d5e5fb
editorBracketMatch.background #00640000
editorBracketMatch.border #d5e5fb
editorCodeLens.foreground #424242
editorCursor.background #ffffff
editorCursor.foreground #000000
editorError.background #B73A3400
editorError.border #ffffff00
editorError.foreground #e51400
editorGroup.border #e7e7e700
editorGroup.emptyBackground #f3f6ff
editorGroupHeader.tabsBackground #f3f6ff
editorGutter.addedBackground #a5e6b1
editorGutter.background #f3f6ff
editorGutter.commentRangeForeground #424242
editorGutter.deletedBackground #d5e5fb
editorGutter.foldingControlForeground #424242
editorGutter.modifiedBackground #d5e5fb
editorHoverWidget.background #f7f7f7
editorHoverWidget.border #d5e5fb
editorHoverWidget.foreground #616161
editorIndentGuide.activeBackground #cfe3ff
editorIndentGuide.background #dbdbdb9b
editorInfo.background #4490BF00
editorInfo.border #4490BF00
editorInfo.foreground #75beff
editorLineNumber.activeForeground #797979
editorLineNumber.foreground #bababa
editorLink.activeForeground #acacec
editorMarkerNavigation.background #ffffff
editorMarkerNavigationError.background #e51400
editorMarkerNavigationInfo.background #75beff
editorMarkerNavigationWarning.background #e9a700
editorOverviewRuler.background #25252500
editorOverviewRuler.border #7f7f7f4d
editorRuler.foreground #d3d3d3
editorSuggestWidget.background #f3f3f3
editorSuggestWidget.border #c8c8c8
editorSuggestWidget.foreground #000000
editorSuggestWidget.highlightForeground #0066bf
editorSuggestWidget.selectedBackground #d6ebff
editorWarning.background #A9904000
editorWarning.border #ffffff00
editorWarning.foreground #e9a700
editorWhitespace.foreground #9b9b9bd1
editorWidget.background #f3f3f3
editorWidget.foreground #616161
editorWidget.resizeBorder #d5e5fb
focusBorder #b8dfff
foreground #5eafe7
gitDecoration.addedResourceForeground #587c0c
gitDecoration.conflictingResourceForeground #6c6cc4
gitDecoration.deletedResourceForeground #ad0707
gitDecoration.ignoredResourceForeground #8e8e90
gitDecoration.modifiedResourceForeground #895503
gitDecoration.stageDeletedResourceForeground #ad0707
gitDecoration.stageModifiedResourceForeground #895503
gitDecoration.submoduleResourceForeground #1258a7
gitDecoration.untrackedResourceForeground #007100
icon.foreground #5eafe7
input.background #fcfdff
input.border #d5e5fb
input.foreground #a39898
input.placeholderForeground #a5c9f9
inputOption.activeBackground #0090f133
inputOption.activeBorder #007acc00
inputOption.activeForeground #99a4b4
list.activeSelectionBackground #d5e5fb
list.activeSelectionForeground #8c8c8c
list.dropBackground #d6ebff
list.focusBackground #d6ebff
list.focusForeground #616161
list.highlightForeground #0066bf
list.hoverBackground #b8dfff
list.hoverForeground #616161
list.inactiveSelectionBackground #d5e5fb
list.inactiveSelectionForeground #616161
listFilterWidget.background #d5e5fb
listFilterWidget.noMatchesOutline #d5e5fb
listFilterWidget.outline #00000000
menu.background #ffffff
menu.border #00000000
menu.foreground #616161
menu.selectionBackground #5eafe7
menu.selectionBorder #00000000
menu.selectionForeground #ffffff
menu.separatorBackground #f9f5f5
menubar.selectionBackground #0000001a
menubar.selectionForeground #333333
merge.commonContentBackground #E5E5E5
merge.commonHeaderBackground #BFBFBF
merge.currentContentBackground #DBF4EF
merge.currentHeaderBackground #A4E3D6
merge.incomingContentBackground #DBECFF
merge.incomingHeaderBackground #A6CFFF
minimap.background #f3f6ff
minimap.errorHighlight #e51400
minimap.findMatchHighlight #a8ac9400
minimap.selectionHighlight #d5e5fb
minimap.warningHighlight #e9a700
minimapGutter.addedBackground #a5e6b1
minimapGutter.deletedBackground #d5e5fb
minimapGutter.modifiedBackground #d5e5fb
notificationCenter.border #d5d5d5
notificationCenterHeader.background #f3f6ff
notificationCenterHeader.foreground #616161
notifications.background #fcfdff
notifications.border #e7e7e7
notifications.foreground #616161
notificationsErrorIcon.foreground #e51400
notificationsInfoIcon.foreground #75beff
notificationsWarningIcon.foreground #e9a700
notificationToast.border #d5d5d5
panel.background #f3f6ff
panel.border #6c5ee61e
panelSection.border #d5e5fb
panelTitle.activeBorder #6c5ee6
panelTitle.activeForeground #424242
panelTitle.inactiveForeground #424242bf
peekView.border #007acc
peekViewEditor.background #f2f8fc
peekViewEditor.matchHighlightBackground #f5d80200
peekViewEditor.matchHighlightBorder #d5e5fb
peekViewEditorGutter.background #f2f8fc
peekViewResult.background #ffffff
peekViewResult.fileForeground #1e1e1e
peekViewResult.lineForeground #646465
peekViewResult.matchHighlightBackground #d5e5fb
peekViewResult.selectionBackground #d5e5fb
peekViewResult.selectionForeground #414141
peekViewTitle.background #ffffff
peekViewTitleDescription.foreground #616161e6
peekViewTitleLabel.foreground #333333
pickerGroup.border #cccedb
pickerGroup.foreground #6c5ee6
progressBar.background #b8dfff
scrollbar.shadow #dddddd02
scrollbarSlider.activeBackground #d5e5fb
scrollbarSlider.background #d5e5fb
scrollbarSlider.hoverBackground #e6f1ff
selection.background #b0daff
settings.focusedRowBackground #ffffff07
settings.headerForeground #5eafe7
sideBar.background #fcfdff
sideBar.border #ff000000
sideBar.dropBackground #d6ebff
sideBar.foreground #616161
sideBarSectionHeader.background #00000000
sideBarSectionHeader.border #61616100
sideBarSectionHeader.foreground #616161
sideBarTitle.foreground #6f6f6f
statusBar.background #d5e5fb
statusBar.debuggingBackground #8033cc
statusBar.debuggingForeground #ffffff
statusBar.foreground #4b4b4b
statusBar.noFolderBackground #68217a
statusBar.noFolderForeground #ffffff
statusBarItem.activeBackground #FFFFFF25
statusBarItem.hoverBackground #ffffff1f
statusBarItem.remoteBackground #6c5ee6
statusBarItem.remoteForeground #ffffff
tab.activeBackground #5eafe7
tab.activeBorder #6c5ee600
tab.activeBorderTop #6c5ee600
tab.activeForeground #fcfdff
tab.border #f3f3f300
tab.inactiveBackground #6c5ee6
tab.inactiveForeground #fcfdff
terminal.ansiBlack #000000
terminal.ansiBlue #0451a5
terminal.ansiBrightBlack #666666
terminal.ansiBrightBlue #0451a5
terminal.ansiBrightCyan #0598bc
terminal.ansiBrightGreen #14ce14
terminal.ansiBrightMagenta #bc05bc
terminal.ansiBrightRed #cd3131
terminal.ansiBrightWhite #a5a5a5
terminal.ansiBrightYellow #b5ba00
terminal.ansiCyan #0598bc
terminal.ansiGreen #00bc00
terminal.ansiMagenta #bc05bc
terminal.ansiRed #cd3131
terminal.ansiWhite #555555
terminal.ansiYellow #949800
terminal.border #d5e5fb
terminal.foreground #333333
terminal.selectionBackground #00000040
terminalCursor.background #ffffff
terminalCursor.foreground #d5e5fb
textLink.foreground #006ab1
titleBar.activeBackground #f3f6ff
titleBar.activeForeground #333333
titleBar.border #00000000
titleBar.inactiveBackground #f3f6ff
titleBar.inactiveForeground #33333399
tree.indentGuidesStroke #d5e5fb
walkThrough.embeddedEditorBackground #00000050
widget.shadow #00000029 #212123
punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python #b8dfff —
variable.parameter.function.language.special.self.python #6c5ee6 —
storage.modifier.lifetime.rust #b8dfff —
support.function.std.rust #61afef —
entity.name.lifetime.rust #6c5ee6 —
variable.language.rust #212123 —
support.constant.edge #5eafe7 —
constant.other.character-class.regexp #212123 —
keyword.operator.quantifier.regexp #212123 —
punctuation.definition.string.begin,punctuation.definition.string.end #c5a5ff —
variable.parameter.function #b8dfff —
comment markup.link #b0b0b0 —
markup.changed.diff #6c5ee6 —
meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff #61afef —
markup.inserted.diff #c5a5ff —
markup.deleted.diff #212123 —
meta.function.c,meta.function.cpp #212123 —
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 #b8dfff —
punctuation.separator.key-value #b8dfff —
keyword.operator.expression.import #61afef —
support.constant.math #6c5ee6 —
support.constant.property.math #212123 —
variable.other.constant #6c5ee6 —
storage.type.annotation.java, storage.type.object.array.java #6c5ee6 —
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 #b8dfff —
storage.modifier.import.java,storage.type.java,storage.type.generic.java #6c5ee6 —
keyword.operator.instanceof.java #5eafe7 —
meta.definition.variable.name.java #212123 —
keyword.operator.logical #b8dfff —
keyword.operator.bitwise #b8dfff —
keyword.operator.channel #b8dfff —
support.constant.property-value.scss,support.constant.property-value.css #212123 —
keyword.operator.css,keyword.operator.scss,keyword.operator.less #b8dfff —
support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss #212123 —
punctuation.separator.list.comma.css #b8dfff —
support.constant.color.w3c-standard-color-name.css #212123 —
support.type.vendored.property-name.css #b8dfff —
support.module.node,support.type.object.module,support.module.node #6c5ee6 —
entity.name.type.module #6c5ee6 —
variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node #212123 —
support.constant.json #212123 —
keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof #5eafe7 —
support.type.object.console #212123 —
support.variable.property.process #212123 —
entity.name.function,support.function.console #61afef —
keyword.operator.misc.rust #b8dfff —
keyword.operator.sigil.rust #5eafe7 —
keyword.operator.delete #5eafe7 —
support.type.object.dom #b8dfff —
support.variable.dom,support.variable.property.dom #212123 —
keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational #b8dfff —
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 #5eafe7 —
punctuation.separator.delimiter #b8dfff —
punctuation.separator.c,punctuation.separator.cpp #5eafe7 —
support.type.posix-reserved.c,support.type.posix-reserved.cpp #b8dfff —
keyword.operator.sizeof.c,keyword.operator.sizeof.cpp #5eafe7 —
variable.parameter.function.language.python #212123 —
support.type.python #b8dfff —
keyword.operator.logical.python #5eafe7 —
variable.parameter.function.python #212123 —
punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python #b8dfff —
meta.function-call.generic.python #61afef —
constant.character.format.placeholder.other.python #212123 —
keyword.operator.assignment.compound #5eafe7 —
keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts #b8dfff —
entity.name.namespace #6c5ee6 —
variable.language #6c5ee6 —
token.variable.parameter.java #b8dfff —
import.storage.java #6c5ee6 —
token.package.keyword #5eafe7 —
entity.name.function, meta.require, support.function.any-method, variable.function #61afef —
entity.name.type.namespace #6c5ee6 —
support.class, entity.name.type.class #6c5ee6 —
entity.name.class.identifier.namespace.type #6c5ee6 —
entity.name.class, variable.other.class.js, variable.other.class.ts #6c5ee6 —
variable.other.class.php #212123 —
control.elements, keyword.operator.less #212123 —
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 #5eafe7 —
token.storage.type.java #6c5ee6 —
support.type.property-name #b8dfff —
support.constant.property-value #b8dfff —
support.constant.font-name #212123 —
entity.other.inherited-class #6c5ee6 —
constant.other.symbol #b8dfff —
punctuation.definition.constant #212123 —
entity.other.attribute-name #212123 —
entity.other.attribute-name.id #61afef bold
entity.other.attribute-name.class.css #212123 bold
markup.heading punctuation.definition.heading, entity.name.section #61afef —
keyword.other.unit #212123 —
markup.bold,todo.bold #212123 —
punctuation.definition.bold #6c5ee6 —
markup.italic, punctuation.definition.italic,todo.emphasis #5eafe7 —
entity.name.section.markdown #212123 —
punctuation.definition.heading.markdown #212123 —
punctuation.definition.list.begin.markdown #212123 —
markup.heading.setext #b8dfff —
punctuation.definition.bold.markdown #212123 —
markup.inline.raw.markdown #c5a5ff —
markup.inline.raw.string.markdown #c5a5ff —
punctuation.definition.list.markdown #212123 —
punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown #212123 —
beginning.punctuation.definition.list.markdown #212123 —
punctuation.definition.metadata.markdown #212123 —
markup.underline.link.markdown,markup.underline.link.image.markdown #5eafe7 —
string.other.link.title.markdown,string.other.link.description.markdown #61afef —
constant.character.escape #b8dfff —
punctuation.section.embedded, variable.interpolation #212123 —
punctuation.section.embedded.begin,punctuation.section.embedded.end #5eafe7 —
invalid.illegal.bad-ampersand.html #b8dfff —
invalid.deprecated #ffffff —
invalid.unimplemented #ffffff —
source.json meta.structure.dictionary.json > string.quoted.json #212123 —
source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string #212123 —
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 #c5a5ff —
source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json #b8dfff —
support.type.property-name.json #212123 —
support.type.property-name.json punctuation #212123 —
text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade #5eafe7 —
text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade #5eafe7 —
support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php #6c5ee6 —
keyword.operator.error-control.php #5eafe7 —
keyword.operator.type.php #5eafe7 —
punctuation.section.array.begin.php #b8dfff —
punctuation.section.array.end.php #b8dfff —
invalid.illegal.non-null-typehinted.php #f44747 —
storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php #6c5ee6 —
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 #b8dfff —
support.constant.core.rust #212123 —
support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php #212123 —
entity.name.goto-label.php,support.other.php #61afef —
keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php #b8dfff —
keyword.operator.regexp.php #5eafe7 —
keyword.operator.comparison.php #b8dfff —
keyword.operator.heredoc.php,keyword.operator.nowdoc.php #5eafe7 —
meta.function.decorator.python #61afef —
support.token.decorator.python,meta.function.decorator.identifier.python #b8dfff —
function.parameter #b8dfff —
function.parameter.ruby, function.parameter.cs #b8dfff —
constant.language.symbol.ruby #b8dfff —
inline-color-decoration rgb-value #212123 —
support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx #6c5ee6 —
block.scope.end,block.scope.begin #b8dfff —
entity.name.variable.local.cs #212123 —
token.error-token #f44747 —
token.debug-token #5eafe7 —
punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded #5eafe7 —
meta.template.expression #b8dfff —
keyword.operator.module #5eafe7 —
support.type.type.flowtype #61afef —
support.type.primitive #6c5ee6 —
meta.property.object #212123 —
variable.parameter.function.js #212123 —
keyword.other.template.begin #c5a5ff —
keyword.other.template.end #c5a5ff —
keyword.other.substitution.begin #c5a5ff —
keyword.other.substitution.end #c5a5ff —
keyword.operator.assignment #b8dfff —
keyword.operator.assignment.go #6c5ee6 —
keyword.operator.arithmetic.go, keyword.operator.address.go #5eafe7 —
entity.name.package.go #6c5ee6 —
support.type.prelude.elm #b8dfff —
support.constant.elm #212123 —
punctuation.quasi.element #5eafe7 —
constant.character.entity #212123 —
entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class #b8dfff —
entity.global.clojure #6c5ee6 —
meta.symbol.clojure #212123 —
constant.keyword.clojure #b8dfff —
meta.arguments.coffee, variable.parameter.function.coffee #212123 —
meta.scope.prerequisites.makefile #212123 —
storage.modifier.import.groovy #6c5ee6 —
meta.method.groovy #61afef —
meta.definition.variable.name.groovy #212123 —
meta.definition.class.inherited.classes.groovy #c5a5ff —
support.variable.semantic.hlsl #6c5ee6 —
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 #5eafe7 —
text.variable, text.bracketed #212123 —
support.type.swift, support.type.vb.asp #6c5ee6 —
entity.name.function.xi #6c5ee6 —
entity.name.class.xi #b8dfff —
constant.character.character-class.regexp.xi #212123 —
constant.regexp.xi #5eafe7 —
keyword.control.xi #b8dfff —
beginning.punctuation.definition.quote.markdown.xi #c5a5ff —
beginning.punctuation.definition.list.markdown.xi #b0b0b0 —
constant.character.xi #61afef —
constant.other.color.rgb-value.xi #ffffff —
punctuation.definition.tag.xi #b0b0b0 —
entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition #6c5ee6 —
entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown #212123 —
meta.brace.square #b8dfff —
comment, punctuation.definition.comment #b0b0b0 italic
markup.quote.markdown #b0b0b0 —
punctuation.definition.block.sequence.item.yaml #b8dfff —
constant.language.symbol.elixir #b8dfff —
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
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 } !` ;
}
Fluid Light Theme | Coding Theme