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 #232a3a8d activityBar.background #181d28 activityBar.border #232a3a8d activityBar.foreground #ffffff activityBar.inactiveForeground #81a1c1 activityBarBadge.background #81a1c1 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 #ffffff — variable.other.generic-type.haskell #81a1c1 — storage.type.haskell #b48ead — support.variable.magic.python
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
DeepSeek Theme — deepseek theme
activityBarBadge.foreground #000000
badge.background #81a1c1
badge.foreground #ffffff
breadcrumb.activeSelectionForeground #ffffff
breadcrumb.background #181d28
breadcrumb.focusForeground #ffffff
breadcrumb.foreground #81a1c1
button.background #232a3a8d
button.foreground #ffffff
button.hoverBackground #81a1c1
button.secondaryBackground #232a3a8d
button.secondaryForeground #ffffff
button.secondaryHoverBackground #81a1c1
checkbox.background #232a3a8d
checkbox.border #ffffff00
checkbox.foreground #ffffff
debugExceptionWidget.background #232a3a8d
debugExceptionWidget.border #47474700
debugToolBar.background #232a3a8d
debugToolBar.border #47474700
diffEditor.border #444444
diffEditor.insertedTextBackground #9bb95533
diffEditor.removedTextBackground #ff000033
dropdown.background #232a3a8d
dropdown.border #ffffff00
dropdown.foreground #ffffff
editor.background #181d28
editor.findMatchBackground #81a1c1
editor.findMatchBorder #232a3a8d
editor.findMatchHighlightBackground #ebcb8b
editor.findMatchHighlightBorder #ffffff00
editor.findRangeHighlightBackground #232a3a8d
editor.findRangeHighlightBorder #ffffff00
editor.foldBackground #232a3a8d
editor.foreground #81a1c1
editor.hoverHighlightBackground #264f7840
editor.inactiveSelectionBackground #232a3a8d
editor.lineHighlightBackground #232a3a8d
editor.lineHighlightBorder #28282800
editor.rangeHighlightBackground #ffffff0b
editor.rangeHighlightBorder #ffffff00
editor.selectionBackground #232a3a
editor.selectionHighlightBackground #182b5800
editor.selectionHighlightBorder #81a1c1
editor.wordHighlightBackground #81a1c148
editor.wordHighlightBorder #81a1c100
editor.wordHighlightStrongBackground #81a1c12c
editor.wordHighlightStrongBorder #81a1c100
editorBracketMatch.background #00640000
editorBracketMatch.border #ff060600
editorCodeLens.foreground #999999
editorCursor.background #ffffff
editorCursor.foreground #81a1c1
editorError.background #b73a3400
editorError.border #ffffff00
editorError.foreground #ebcb8b
editorGroup.border #232a3a8d
editorGroup.emptyBackground #181d28
editorGroupHeader.border #ff000000
editorGroupHeader.tabsBackground #181d28
editorGroupHeader.tabsBorder #ffffff00
editorGutter.addedBackground #487125
editorGutter.background #181d28
editorGutter.commentRangeForeground #81a1c1
editorGutter.deletedBackground #94151b00
editorGutter.foldingControlForeground #81a1c1
editorGutter.modifiedBackground #0c7d9d00
editorHoverWidget.background #232a3a
editorHoverWidget.border #45454500
editorHoverWidget.foreground #ffffff
editorIndentGuide.activeBackground #81a1c1
editorIndentGuide.background #81a1c1
editorInfo.background #4490BF00
editorInfo.border #4490BF00
editorInfo.foreground #81a1c1
editorLineNumber.activeForeground #81a1c1
editorLineNumber.foreground #ffffff
editorLink.activeForeground #88c0d0
editorMarkerNavigation.background #181d28
editorMarkerNavigationError.background #e61e1e
editorMarkerNavigationInfo.background #81a1c1
editorMarkerNavigationWarning.background #cca700
editorOverviewRuler.background #a3111100
editorOverviewRuler.border #ff0b0b00
editorRuler.foreground #ffffff00
editorSuggestWidget.background #181d28
editorSuggestWidget.border #81a1c17c
editorSuggestWidget.foreground #ffffff
editorSuggestWidget.highlightForeground #0080ff
editorSuggestWidget.selectedBackground #232a3a
editorWarning.background #A9904000
editorWarning.border #ffffff00
editorWarning.foreground #ebcb8b
editorWhitespace.foreground #81a1c1
editorWidget.background #181d28
editorWidget.foreground #ffffff
editorWidget.resizeBorder #81a1c1
focusBorder #004eff00
foreground #ffffff
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 #ffffff
input.background #232a3a8d
input.border #ffffff00
input.foreground #ffffff
input.placeholderForeground #ffffff
inputOption.activeBackground #232a3a8d
inputOption.activeBorder #ff000000
inputOption.activeForeground #ffffff
list.activeSelectionBackground #094771
list.activeSelectionForeground #ffffff
list.dropBackground #ffffff00
list.focusBackground #232a3a8d
list.focusForeground #ffffff
list.highlightForeground #88c0d0
list.hoverBackground #232a3a8d
list.hoverForeground #ffffff
list.inactiveSelectionBackground #232a3a8d
list.inactiveSelectionForeground #ffffff
listFilterWidget.background #232a3a8d
listFilterWidget.noMatchesOutline #232a3a8d
listFilterWidget.outline #232a3a8d
menu.background #252526
menu.border #00000085
menu.foreground #ffffff
menu.selectionBackground #094771
menu.selectionBorder #00000000
menu.selectionForeground #ffffff
menu.separatorBackground #bbbbbb
menubar.selectionBackground #232a3a8d
menubar.selectionBorder #ff000000
menubar.selectionForeground #ffffff
merge.commonContentBackground #282828
merge.commonHeaderBackground #383838
merge.currentContentBackground #27403B
merge.currentHeaderBackground #367366
merge.incomingContentBackground #28384B
merge.incomingHeaderBackground #395F8F
minimap.background #181d28
minimap.errorHighlight #ebcb8b
minimap.findMatchHighlight #81a1c1
minimap.selectionHighlight #232a3a
minimap.warningHighlight #ebcb8b
minimapGutter.addedBackground #487125
minimapGutter.deletedBackground #94151b00
minimapGutter.modifiedBackground #0c7d9d00
notificationCenter.border #232a3a8d
notificationCenterHeader.background #181d28
notificationCenterHeader.foreground #ffffff
notifications.background #181d28
notifications.border #232a3a8d
notifications.foreground #ffffff
notificationsErrorIcon.foreground #ff2d02
notificationsInfoIcon.foreground #3c98ea
notificationsWarningIcon.foreground #ffd101
notificationToast.border #232a3a8d
panel.background #181d28
panel.border #ffffff00
panelSection.border #232a3a8d
panelTitle.activeBorder #81a1c1
panelTitle.activeForeground #ffffff
panelTitle.inactiveForeground #ffffff99
peekView.border #007acc00
peekViewEditor.background #232a3a
peekViewEditor.matchHighlightBackground #ffaa0040
peekViewEditor.matchHighlightBorder #ee931e00
peekViewEditorGutter.background #001f3300
peekViewResult.background #252526
peekViewResult.fileForeground #ffffff
peekViewResult.lineForeground #bbbbbb
peekViewResult.matchHighlightBackground #ea5c004d
peekViewResult.selectionBackground #3399ff33
peekViewResult.selectionForeground #ffffff
peekViewTitle.background #1e1e1e
peekViewTitleDescription.foreground #ccccccb3
peekViewTitleLabel.foreground #ffffff
pickerGroup.border #81a1c1
pickerGroup.foreground #81a1c1
progressBar.background #88c0d0
scrollbar.shadow #ffffff00
scrollbarSlider.activeBackground #ffffff00
scrollbarSlider.background #79797900
scrollbarSlider.hoverBackground #ffffff00
selection.background #ff0000
settings.focusedRowBackground #ffffff07
settings.headerForeground #ffffff
sideBar.background #181d28
sideBar.border #232a3a8d
sideBar.dropBackground #ffffff00
sideBar.foreground #ffffff
sideBarSectionHeader.background #232a3a00
sideBarSectionHeader.border #232a3a8d
sideBarSectionHeader.foreground #cccccc
sideBarTitle.foreground #ffffff
statusBar.background #181d28
statusBar.border #ff000000
statusBar.debuggingBackground #181d28
statusBar.debuggingBorder #232a3a00
statusBar.debuggingForeground #81a1c1
statusBar.foreground #81a1c1
statusBar.noFolderBackground #181d28
statusBar.noFolderBorder #81a1c100
statusBar.noFolderForeground #81a1c1
statusBarItem.activeBackground #FFFFFF25
statusBarItem.hoverBackground #232a3a8d
statusBarItem.remoteBackground #181d28
statusBarItem.remoteForeground #81a1c1
tab.activeBackground #232a3a8d
tab.activeBorder #232a3a00
tab.activeBorderTop #ff000000
tab.activeForeground #f1f8ff
tab.border #232a3a00
tab.hoverBackground #232a3a8d
tab.hoverBorder #81a1c1
tab.hoverForeground #ffffff
tab.inactiveBackground #181d28
tab.inactiveForeground #ffffff80
terminal.ansiBlack #000000
terminal.ansiBlue #2472c8
terminal.ansiBrightBlack #666666
terminal.ansiBrightBlue #3b8eea
terminal.ansiBrightCyan #29b8db
terminal.ansiBrightGreen #23d18b
terminal.ansiBrightMagenta #d670d6
terminal.ansiBrightRed #f14c4c
terminal.ansiBrightWhite #e5e5e5
terminal.ansiBrightYellow #f5f543
terminal.ansiCyan #11a8cd
terminal.ansiGreen #0dbc79
terminal.ansiMagenta #bc3fbc
terminal.ansiRed #cd3131
terminal.ansiWhite #ffffff
terminal.ansiYellow #e5e510
terminal.border #232a3a8d
terminal.foreground #ffffff
terminal.selectionBackground #181d28
terminalCursor.background #81a1c1
terminalCursor.foreground #ffffff
textLink.foreground #81a1c1
titleBar.activeBackground #181d28
titleBar.activeForeground #81a1c1
titleBar.border #ffffff00
titleBar.inactiveBackground #181d28
titleBar.inactiveForeground #ffffff99
tree.indentGuidesStroke #232a3a8d
walkThrough.embeddedEditorBackground #00000050
widget.shadow #ffffff00 #ffffff
punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python #81a1c1 —
variable.parameter.function.language.special.self.python #ffffff —
storage.modifier.lifetime.rust #81a1c1 —
support.function.std.rust #88c0d0 —
entity.name.lifetime.rust #ffffff —
variable.language.rust #ffffff —
support.constant.edge #81a1c1 —
constant.other.character-class.regexp #ffffff —
keyword.operator.quantifier.regexp #b48ead —
punctuation.definition.string.begin,punctuation.definition.string.end #a3be8c —
variable.parameter.function #81a1c1 —
comment markup.link #636f88 —
markup.changed.diff #ffffff —
meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff #88c0d0 —
markup.inserted.diff #a3be8c —
markup.deleted.diff #ffffff —
meta.function.c,meta.function.cpp #ffffff —
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 #81a1c1 —
punctuation.separator.key-value #81a1c1 —
keyword.operator.expression.import #88c0d0 —
support.constant.math #ffffff —
support.constant.property.math #b48ead —
variable.other.constant #ffffff —
storage.type.annotation.java, storage.type.object.array.java #ffffff —
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 #81a1c1 —
storage.modifier.import.java,storage.type.java,storage.type.generic.java #ffffff —
keyword.operator.instanceof.java #81a1c1 —
meta.definition.variable.name.java #ffffff —
keyword.operator.logical #81a1c1 —
keyword.operator.bitwise #81a1c1 —
keyword.operator.channel #81a1c1 —
support.constant.property-value.scss,support.constant.property-value.css #b48ead —
keyword.operator.css,keyword.operator.scss,keyword.operator.less #81a1c1 —
support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss #b48ead —
punctuation.separator.list.comma.css #81a1c1 —
support.constant.color.w3c-standard-color-name.css #b48ead —
support.type.vendored.property-name.css #81a1c1 —
support.module.node,support.type.object.module,support.module.node #ffffff —
entity.name.type.module #ffffff —
variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node #ffffff —
support.constant.json #b48ead —
keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof #81a1c1 —
support.type.object.console #ffffff —
support.variable.property.process #b48ead —
entity.name.function,support.function.console #88c0d0 —
keyword.operator.misc.rust #81a1c1 —
keyword.operator.sigil.rust #81a1c1 —
keyword.operator.delete #81a1c1 —
support.type.object.dom #81a1c1 —
support.variable.dom,support.variable.property.dom #ffffff —
keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational #81a1c1 —
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 #81a1c1 —
punctuation.separator.delimiter #81a1c1 —
punctuation.separator.c,punctuation.separator.cpp #81a1c1 —
support.type.posix-reserved.c,support.type.posix-reserved.cpp #81a1c1 —
keyword.operator.sizeof.c,keyword.operator.sizeof.cpp #81a1c1 —
variable.parameter.function.language.python #b48ead —
support.type.python #81a1c1 —
keyword.operator.logical.python #81a1c1 —
variable.parameter.function.python #b48ead —
punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python #81a1c1 —
meta.function-call.generic.python #88c0d0 —
constant.character.format.placeholder.other.python #b48ead —
keyword.operator.assignment.compound #81a1c1 —
keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts #81a1c1 —
entity.name.namespace #ffffff —
variable.language #ffffff —
token.variable.parameter.java #81a1c1 —
import.storage.java #ffffff —
token.package.keyword #81a1c1 —
entity.name.function, meta.require, support.function.any-method, variable.function #88c0d0 —
entity.name.type.namespace #ffffff —
support.class, entity.name.type.class #ffffff —
entity.name.class.identifier.namespace.type #ffffff —
entity.name.class, variable.other.class.js, variable.other.class.ts #ffffff —
variable.other.class.php #ffffff —
control.elements, keyword.operator.less #b48ead —
keyword.other.special-method #88c0d0 —
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 #81a1c1 —
token.storage.type.java #ffffff —
support.type.property-name #81a1c1 —
support.constant.property-value #81a1c1 —
support.constant.font-name #b48ead —
entity.other.inherited-class #ffffff —
constant.other.symbol #81a1c1 —
punctuation.definition.constant #b48ead —
entity.other.attribute-name #b48ead —
entity.other.attribute-name.id #88c0d0 normal
entity.other.attribute-name.class.css #b48ead normal
markup.heading punctuation.definition.heading, entity.name.section #88c0d0 —
keyword.other.unit #ffffff —
markup.bold,todo.bold #b48ead —
punctuation.definition.bold #ffffff —
markup.italic, punctuation.definition.italic,todo.emphasis #81a1c1 —
entity.name.section.markdown #ffffff —
punctuation.definition.heading.markdown #ffffff —
punctuation.definition.list.begin.markdown #ffffff —
markup.heading.setext #81a1c1 —
punctuation.definition.bold.markdown #b48ead —
markup.inline.raw.markdown #a3be8c —
markup.inline.raw.string.markdown #a3be8c —
punctuation.definition.list.markdown #ffffff —
punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown #ffffff —
beginning.punctuation.definition.list.markdown #ffffff —
punctuation.definition.metadata.markdown #ffffff —
markup.underline.link.markdown,markup.underline.link.image.markdown #81a1c1 —
string.other.link.title.markdown,string.other.link.description.markdown #88c0d0 —
constant.character.escape #81a1c1 —
punctuation.section.embedded, variable.interpolation #ffffff —
punctuation.section.embedded.begin,punctuation.section.embedded.end #81a1c1 —
invalid.illegal.bad-ampersand.html #81a1c1 —
invalid.deprecated #ffffff —
invalid.unimplemented #ffffff —
source.json meta.structure.dictionary.json > string.quoted.json #ffffff —
source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string #ffffff —
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 #a3be8c —
source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json #81a1c1 —
support.type.property-name.json #ffffff —
support.type.property-name.json punctuation #ffffff —
text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade #81a1c1 —
text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade #81a1c1 —
support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php #ffffff —
keyword.operator.error-control.php #81a1c1 —
keyword.operator.type.php #81a1c1 —
punctuation.section.array.begin.php #81a1c1 —
punctuation.section.array.end.php #81a1c1 —
invalid.illegal.non-null-typehinted.php #f44747 —
storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php #ffffff —
meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php #88c0d0 —
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 #81a1c1 —
support.constant.core.rust #b48ead —
support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php #b48ead —
entity.name.goto-label.php,support.other.php #88c0d0 —
keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php #81a1c1 —
keyword.operator.regexp.php #81a1c1 —
keyword.operator.comparison.php #81a1c1 —
keyword.operator.heredoc.php,keyword.operator.nowdoc.php #81a1c1 —
meta.function.decorator.python #88c0d0 —
support.token.decorator.python,meta.function.decorator.identifier.python #81a1c1 —
function.parameter #81a1c1 —
function.parameter.ruby, function.parameter.cs #81a1c1 —
constant.language.symbol.ruby #81a1c1 —
inline-color-decoration rgb-value #b48ead —
support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx #ffffff —
block.scope.end,block.scope.begin #81a1c1 —
entity.name.variable.local.cs #ffffff —
token.error-token #f44747 —
token.debug-token #81a1c1 —
punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded #81a1c1 —
meta.template.expression #81a1c1 —
keyword.operator.module #81a1c1 —
support.type.type.flowtype #88c0d0 —
support.type.primitive #ffffff —
meta.property.object #ffffff —
variable.parameter.function.js #ffffff —
keyword.other.template.begin #a3be8c —
keyword.other.template.end #a3be8c —
keyword.other.substitution.begin #a3be8c —
keyword.other.substitution.end #a3be8c —
keyword.operator.assignment #81a1c1 —
keyword.operator.assignment.go #ffffff —
keyword.operator.arithmetic.go, keyword.operator.address.go #81a1c1 —
entity.name.package.go #ffffff —
support.type.prelude.elm #81a1c1 —
support.constant.elm #b48ead —
punctuation.quasi.element #81a1c1 —
constant.character.entity #ffffff —
entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class #81a1c1 —
entity.global.clojure #ffffff —
meta.symbol.clojure #ffffff —
constant.keyword.clojure #81a1c1 —
meta.arguments.coffee, variable.parameter.function.coffee #ffffff —
meta.scope.prerequisites.makefile #ffffff —
storage.modifier.import.groovy #ffffff —
meta.method.groovy #88c0d0 —
meta.definition.variable.name.groovy #ffffff —
meta.definition.class.inherited.classes.groovy #a3be8c —
support.variable.semantic.hlsl #ffffff —
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 #81a1c1 —
text.variable, text.bracketed #ffffff —
support.type.swift, support.type.vb.asp #ffffff —
entity.name.function.xi #ffffff —
entity.name.class.xi #81a1c1 —
constant.character.character-class.regexp.xi #ffffff —
constant.regexp.xi #81a1c1 —
keyword.control.xi #81a1c1 —
beginning.punctuation.definition.quote.markdown.xi #a3be8c —
beginning.punctuation.definition.list.markdown.xi #636f88 —
constant.character.xi #88c0d0 —
constant.other.color.rgb-value.xi #ffffff —
punctuation.definition.tag.xi #636f88 —
entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition #ffffff —
entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown #ffffff —
meta.brace.square #81a1c1 —
comment, punctuation.definition.comment #636f88 italic
markup.quote.markdown #636f88 —
punctuation.definition.block.sequence.item.yaml #81a1c1 —
constant.language.symbol.elixir #81a1c1 —
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 } !` ;
}
DeepSeek Theme | Coding Theme