Skip to main content
Home Theme VS Code tema-azul-2.0 Um tema que utiliza uma gama de variações utilizando a cor azul.
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 #04395e80 activityBar.background #00072d activityBar.border #0087ff activityBar.foreground #0087ff activityBar.inactiveForeground #00b7ff66 activityBarBadge.background #3076cf9d 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 #0466c8 — variable.other.generic-type.haskell #55dde0 — storage.type.haskell #b2f7ef — support.variable.magic.python
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
tema-azul-2.0 — Tema Azul 2.0
activityBarBadge.foreground #00f5f5
badge.background #15a7ff66
badge.foreground #00dbff
breadcrumb.activeSelectionForeground #00cfff
breadcrumb.background #02364f28
breadcrumb.focusForeground #00cfff
breadcrumb.foreground #00dbffcc
button.background #0e639cc5
button.foreground #00ffff
button.hoverBackground #1177bb
button.secondaryBackground #0d305ecf
button.secondaryForeground #2a77ba
button.secondaryHoverBackground #082b56
checkbox.background #0841737a
checkbox.border #009dfb
checkbox.foreground #12bfdb
debugExceptionWidget.background #02132a
debugExceptionWidget.border #0286c78d
debugToolBar.background #02132a
debugToolBar.border #0286c78d
diffEditor.border #ff0000
diffEditor.insertedTextBackground #5581b966
diffEditor.insertedTextBorder #168dbc
diffEditor.removedTextBackground #9b121233
diffEditor.removedTextBorder #7b3232
dropdown.background #0841737a
dropdown.border #009dfb
dropdown.foreground #12bfdb
editor.background #000d1f
editor.findMatchBackground #00345995
editor.findMatchBorder #a9def9ab
editor.findMatchHighlightBackground #4f65757a
editor.findMatchHighlightBorder #20a4f3
editor.findRangeHighlightBackground #004e983c
editor.findRangeHighlightBorder #20a4f32e
editor.foldBackground #264f7815
editor.foreground #80b3ff
editor.hoverHighlightBackground #00a7e136
editor.inactiveSelectionBackground #00345958
editor.lineHighlightBackground #00a2e21a
editor.lineHighlightBorder #004e98
editor.rangeHighlightBackground #3a6ea540
editor.rangeHighlightBorder #ff743d
editor.selectionBackground #04366850
editor.selectionHighlightBackground #386fa470
editor.selectionHighlightBorder #91e5f66c
editor.wordHighlightBackground #164968b8
editor.wordHighlightBorder #0293ea
editor.wordHighlightStrongBackground #004972b8
editor.wordHighlightStrongBorder #2c74d1
editorBracketMatch.background #00072d
editorBracketMatch.border #0e6ba8
editorCodeLens.foreground #008bf8
editorCursor.background #011627
editorCursor.foreground #00b7ff
editorError.background #0b5b736e
editorError.border #00cfffa7
editorError.foreground #098dc0
editorGroup.border #0087ff
editorGroup.emptyBackground #000d1f
editorGroupHeader.border #1353cd
editorGroupHeader.tabsBackground #0c0822
editorGroupHeader.tabsBorder #0070ff
editorGutter.addedBackground #98d713
editorGutter.background #061236a1
editorGutter.commentRangeForeground #0087ff
editorGutter.deletedBackground #ff0000
editorGutter.foldingControlForeground #0087ff
editorGutter.modifiedBackground #1db1db
editorHoverWidget.background #0d1d2c
editorHoverWidget.border #1eafc7
editorHoverWidget.foreground #3584a3
editorIndentGuide.activeBackground #00fffb
editorIndentGuide.background #1c78c9
editorInfo.background #4490bf38
editorInfo.border #007cd760
editorInfo.foreground #75beff
editorLineNumber.activeForeground #48abff
editorLineNumber.foreground #006dff
editorLink.activeForeground #f94144
editorMarkerNavigation.background #0d2038
editorMarkerNavigationError.background #046dab
editorMarkerNavigationInfo.background #0087ff
editorMarkerNavigationWarning.background #0076cc
editorOverviewRuler.background #00072d9d
editorOverviewRuler.border #008bf8
editorRuler.foreground #f9c74f
editorSuggestWidget.background #002f60
editorSuggestWidget.border #2383c9
editorSuggestWidget.foreground #00bbf9
editorSuggestWidget.highlightForeground #00f5f5
editorSuggestWidget.selectedBackground #041f30
editorWarning.background #4064a900
editorWarning.border #0093ff50
editorWarning.foreground #045794
editorWhitespace.foreground #20a4f3ad
editorWidget.background #060641ed
editorWidget.foreground #0087ff
editorWidget.resizeBorder #0091e8
focusBorder #1568c9
foreground #0087ff
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 #0087ff
input.background #0841737a
input.border #009dfb
input.foreground #12bfdb
input.placeholderForeground #007cff
inputOption.activeBackground #007fd466
inputOption.activeBorder #0099ffcf
inputOption.activeForeground #00e7ff
list.activeSelectionBackground #094771
list.activeSelectionForeground #009fff
list.dropBackground #18374b7c
list.focusBackground #003b62
list.focusForeground #9cf6f6
list.highlightForeground #2298bc
list.hoverBackground #125382
list.hoverForeground #00c3ff
list.inactiveSelectionBackground #9cf6f626
list.inactiveSelectionForeground #2ebaff
listFilterWidget.background #00030d
listFilterWidget.noMatchesOutline #386fa4
listFilterWidget.outline #59a5d8
menu.background #030e1d
menu.border #1773d585
menu.foreground #1870be
menu.selectionBackground #093c5ed9
menu.selectionBorder #007cffa1
menu.selectionForeground #008ee4
menu.separatorBackground #0087ff
menubar.selectionBackground #133b5e54
menubar.selectionBorder #0070ff
menubar.selectionForeground #0093ff
merge.commonContentBackground #1f67c4
merge.commonHeaderBackground #0b2943
merge.currentContentBackground #273140
merge.currentHeaderBackground #42728e
merge.incomingContentBackground #101d2c
merge.incomingHeaderBackground #265ea5
minimap.background #000d1f
minimap.errorHighlight #098dc0
minimap.findMatchHighlight #00345995
minimap.selectionHighlight #04366850
minimap.warningHighlight #045794
minimapGutter.addedBackground #98d713
minimapGutter.deletedBackground #ff0000
minimapGutter.modifiedBackground #1db1db
notificationCenter.border #00c3ff52
notificationCenterHeader.background #010824
notificationCenterHeader.foreground #0040ff
notifications.background #031730
notifications.border #006ecf85
notifications.foreground #009fff
notificationsErrorIcon.foreground #ff2b00
notificationsInfoIcon.foreground #0070ff
notificationsWarningIcon.foreground #cca700
notificationToast.border #0c76d3
panel.background #000a28
panel.border #0064ff
panelSection.border #0085fb59
panelTitle.activeBorder #0093ff
panelTitle.activeForeground #54e2f0
panelTitle.inactiveForeground #0fcade99
peekView.border #007acc
peekViewEditor.background #001f33
peekViewEditor.matchHighlightBackground #0093ff66
peekViewEditor.matchHighlightBorder #1eb3ee
peekViewEditorGutter.background #001f33
peekViewResult.background #002d4d
peekViewResult.fileForeground #00cfff
peekViewResult.lineForeground #00ffcf
peekViewResult.matchHighlightBackground #00eadf4d
peekViewResult.selectionBackground #3399ff33
peekViewResult.selectionForeground #b2dfff
peekViewTitle.background #112838
peekViewTitleDescription.foreground #0af4ffb3
peekViewTitleLabel.foreground #0194ff
pickerGroup.border #00c3ff9f
pickerGroup.foreground #3794ff
progressBar.background #00b7ff
scrollbar.shadow #03162a
scrollbarSlider.activeBackground #0093ff
scrollbarSlider.background #004cff66
scrollbarSlider.hoverBackground #1d68c9b3
selection.background #09365e
settings.focusedRowBackground #ffffff07
settings.headerForeground #0087ff
sideBar.background #000a1d
sideBar.border #0e6ba8
sideBar.dropBackground #18374b7c
sideBar.foreground #a6e1fa
sideBarSectionHeader.background #0b1b34
sideBarSectionHeader.border #26a7f533
sideBarSectionHeader.foreground #239ce4
sideBarTitle.foreground #1f93d9
statusBar.background #011c38
statusBar.border #0e6ba8
statusBar.debuggingBackground #011426
statusBar.debuggingBorder #007cff
statusBar.debuggingForeground #3cbad7
statusBar.foreground #9cf6f6
statusBar.noFolderBackground #21447a
statusBar.noFolderBorder #0087ff
statusBar.noFolderForeground #0ad1ff
statusBarItem.activeBackground #FFFFFF25
statusBarItem.hoverBackground #050c11
statusBarItem.remoteBackground #031d44
statusBarItem.remoteForeground #00fff3
tab.activeBackground #0c1b47
tab.activeBorder #268bbc
tab.activeBorderTop #268bbc
tab.activeForeground #268bbc
tab.border #268bbc
tab.hoverBackground #075fabd7
tab.hoverBorder #0093ff
tab.hoverForeground #00abff
tab.inactiveBackground #061d36
tab.inactiveForeground #309bea80
terminal.ansiBlack #0087ff
terminal.ansiBlue #2472c8
terminal.ansiBrightBlack #217799
terminal.ansiBrightBlue #3b8eea
terminal.ansiBrightCyan #29b8db
terminal.ansiBrightGreen #2398d1
terminal.ansiBrightMagenta #3b91ff
terminal.ansiBrightRed #4c8cf1
terminal.ansiBrightWhite #00ffc3
terminal.ansiBrightYellow #43f5aa
terminal.ansiCyan #11a8cd
terminal.ansiGreen #1596b4
terminal.ansiMagenta #007cff
terminal.ansiRed #004cff
terminal.ansiWhite #00c3ff
terminal.ansiYellow #5fa1c9
terminal.border #0085fb59
terminal.foreground #0093ff
terminal.selectionBackground #074d7722
terminalCursor.background #0070ff4c
terminalCursor.foreground #00d5e0
textLink.foreground #0077ff
titleBar.activeBackground #023552
titleBar.activeForeground #76b8ff
titleBar.border #0087ff
titleBar.inactiveBackground #00174d
titleBar.inactiveForeground #176dab
tree.indentGuidesStroke #00b7ff
walkThrough.embeddedEditorBackground #00000050
widget.shadow #0093ff5c #0466c8
punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python #ffb600 —
variable.parameter.function.language.special.self.python #59a5d8 —
storage.modifier.lifetime.rust #ffb600 —
support.function.std.rust #386fa4 —
entity.name.lifetime.rust #59a5d8 —
variable.language.rust #0466c8 —
support.constant.edge #55dde0 —
constant.other.character-class.regexp #0466c8 —
keyword.operator.quantifier.regexp #b2f7ef —
punctuation.definition.string.begin,punctuation.definition.string.end #a6e1fa —
variable.parameter.function #ffb600 —
comment markup.link #284b63 —
markup.changed.diff #59a5d8 —
meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff #386fa4 —
markup.inserted.diff #a6e1fa —
markup.deleted.diff #0466c8 —
meta.function.c,meta.function.cpp #0466c8 —
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 #ffb600 —
punctuation.separator.key-value #ffb600 —
keyword.operator.expression.import #386fa4 —
support.constant.math #59a5d8 —
support.constant.property.math #b2f7ef —
variable.other.constant #59a5d8 —
storage.type.annotation.java, storage.type.object.array.java #59a5d8 —
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 #ffb600 —
storage.modifier.import.java,storage.type.java,storage.type.generic.java #59a5d8 —
keyword.operator.instanceof.java #55dde0 —
meta.definition.variable.name.java #0466c8 —
keyword.operator.logical #ffff3f —
keyword.operator.bitwise #ffff3f —
keyword.operator.channel #ffff3f —
support.constant.property-value.scss,support.constant.property-value.css #b2f7ef —
keyword.operator.css,keyword.operator.scss,keyword.operator.less #ffff3f —
support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss #b2f7ef —
punctuation.separator.list.comma.css #ffb600 —
support.constant.color.w3c-standard-color-name.css #b2f7ef —
support.type.vendored.property-name.css #ffff3f —
support.module.node,support.type.object.module,support.module.node #59a5d8 —
entity.name.type.module #59a5d8 —
variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node #0466c8 —
support.constant.json #b2f7ef —
keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof #55dde0 —
support.type.object.console #0466c8 —
support.variable.property.process #b2f7ef —
entity.name.function,support.function.console #386fa4 —
keyword.operator.misc.rust #ffb600 —
keyword.operator.sigil.rust #55dde0 —
keyword.operator.delete #55dde0 —
support.type.object.dom #ffff3f —
support.variable.dom,support.variable.property.dom #0466c8 —
keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational #ffff3f —
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 #55dde0 —
punctuation.separator.delimiter #ffb600 —
punctuation.separator.c,punctuation.separator.cpp #55dde0 —
support.type.posix-reserved.c,support.type.posix-reserved.cpp #ffff3f —
keyword.operator.sizeof.c,keyword.operator.sizeof.cpp #55dde0 —
variable.parameter.function.language.python #b2f7ef —
support.type.python #ffff3f —
keyword.operator.logical.python #55dde0 —
variable.parameter.function.python #b2f7ef —
punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python #ffb600 —
meta.function-call.generic.python #386fa4 —
constant.character.format.placeholder.other.python #b2f7ef —
keyword.operator.assignment.compound #55dde0 —
keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts #ffff3f —
entity.name.namespace #59a5d8 —
variable.language #59a5d8 —
token.variable.parameter.java #ffb600 —
import.storage.java #59a5d8 —
token.package.keyword #55dde0 —
entity.name.function, meta.require, support.function.any-method, variable.function #386fa4 —
entity.name.type.namespace #59a5d8 —
support.class, entity.name.type.class #59a5d8 —
entity.name.class.identifier.namespace.type #59a5d8 —
entity.name.class, variable.other.class.js, variable.other.class.ts #59a5d8 —
variable.other.class.php #0466c8 —
control.elements, keyword.operator.less #b2f7ef —
keyword.other.special-method #386fa4 —
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 #55dde0 —
token.storage.type.java #59a5d8 —
support.type.property-name #80b3ff —
support.constant.property-value #ffb600 —
support.constant.font-name #b2f7ef —
entity.other.inherited-class #59a5d8 —
constant.other.symbol #ffff3f —
punctuation.definition.constant #b2f7ef —
entity.other.attribute-name #b2f7ef —
entity.other.attribute-name.id #386fa4 bold
entity.other.attribute-name.class.css #b2f7ef bold
markup.heading punctuation.definition.heading, entity.name.section #386fa4 —
keyword.other.unit #0466c8 —
markup.bold,todo.bold #b2f7ef —
punctuation.definition.bold #59a5d8 —
markup.italic, punctuation.definition.italic,todo.emphasis #55dde0 —
entity.name.section.markdown #0466c8 —
punctuation.definition.heading.markdown #0466c8 —
punctuation.definition.list.begin.markdown #0466c8 —
markup.heading.setext #ffb600 —
punctuation.definition.bold.markdown #b2f7ef —
markup.inline.raw.markdown #a6e1fa —
markup.inline.raw.string.markdown #a6e1fa —
punctuation.definition.list.markdown #0466c8 —
punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown #0466c8 —
beginning.punctuation.definition.list.markdown #0466c8 —
punctuation.definition.metadata.markdown #0466c8 —
markup.underline.link.markdown,markup.underline.link.image.markdown #55dde0 —
string.other.link.title.markdown,string.other.link.description.markdown #386fa4 —
constant.character.escape #ffff3f —
punctuation.section.embedded, variable.interpolation #0466c8 —
punctuation.section.embedded.begin,punctuation.section.embedded.end #55dde0 —
invalid.illegal.bad-ampersand.html #ffb600 —
invalid.deprecated #ffffff —
invalid.unimplemented #ffffff —
source.json meta.structure.dictionary.json > string.quoted.json #0466c8 —
source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string #0466c8 —
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 #a6e1fa —
source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json #ffff3f —
support.type.property-name.json #0466c8 —
support.type.property-name.json punctuation #0466c8 —
text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade #55dde0 —
text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade #55dde0 —
support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php #59a5d8 —
keyword.operator.error-control.php #55dde0 —
keyword.operator.type.php #55dde0 —
punctuation.section.array.begin.php #ffb600 —
punctuation.section.array.end.php #ffb600 —
invalid.illegal.non-null-typehinted.php #f44747 —
storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php #59a5d8 —
meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php #386fa4 —
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 #ffb600 —
support.constant.core.rust #b2f7ef —
support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php #b2f7ef —
entity.name.goto-label.php,support.other.php #386fa4 —
keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php #ffff3f —
keyword.operator.regexp.php #55dde0 —
keyword.operator.comparison.php #ffff3f —
keyword.operator.heredoc.php,keyword.operator.nowdoc.php #55dde0 —
meta.function.decorator.python #386fa4 —
support.token.decorator.python,meta.function.decorator.identifier.python #ffff3f —
function.parameter #ffb600 —
function.parameter.ruby, function.parameter.cs #ffb600 —
constant.language.symbol.ruby #ffff3f —
inline-color-decoration rgb-value #b2f7ef —
support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx #59a5d8 —
block.scope.end,block.scope.begin #ffb600 —
entity.name.variable.local.cs #0466c8 —
token.error-token #f44747 —
token.debug-token #55dde0 —
punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded #55dde0 —
meta.template.expression #ffb600 —
keyword.operator.module #55dde0 —
support.type.type.flowtype #386fa4 —
support.type.primitive #59a5d8 —
meta.property.object #0466c8 —
variable.parameter.function.js #0466c8 —
keyword.other.template.begin #a6e1fa —
keyword.other.template.end #a6e1fa —
keyword.other.substitution.begin #a6e1fa —
keyword.other.substitution.end #a6e1fa —
keyword.operator.assignment #ffff3f —
keyword.operator.assignment.go #59a5d8 —
keyword.operator.arithmetic.go, keyword.operator.address.go #55dde0 —
entity.name.package.go #59a5d8 —
support.type.prelude.elm #ffff3f —
support.constant.elm #b2f7ef —
punctuation.quasi.element #55dde0 —
constant.character.entity #0466c8 —
entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class #ffff3f —
entity.global.clojure #59a5d8 —
meta.symbol.clojure #0466c8 —
constant.keyword.clojure #ffff3f —
meta.arguments.coffee, variable.parameter.function.coffee #0466c8 —
meta.scope.prerequisites.makefile #0466c8 —
storage.modifier.import.groovy #59a5d8 —
meta.method.groovy #386fa4 —
meta.definition.variable.name.groovy #0466c8 —
meta.definition.class.inherited.classes.groovy #a6e1fa —
support.variable.semantic.hlsl #59a5d8 —
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 #55dde0 —
text.variable, text.bracketed #0466c8 —
support.type.swift, support.type.vb.asp #59a5d8 —
entity.name.function.xi #59a5d8 —
entity.name.class.xi #ffff3f —
constant.character.character-class.regexp.xi #0466c8 —
constant.regexp.xi #55dde0 —
keyword.control.xi #ffff3f —
beginning.punctuation.definition.quote.markdown.xi #a6e1fa —
beginning.punctuation.definition.list.markdown.xi #284b63 —
constant.character.xi #386fa4 —
constant.other.color.rgb-value.xi #ffffff —
punctuation.definition.tag.xi #284b63 —
entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition #59a5d8 —
entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown #0466c8 —
meta.brace.square #ffb600 —
comment, punctuation.definition.comment #284b63 italic
markup.quote.markdown #284b63 —
punctuation.definition.block.sequence.item.yaml #ffb600 —
constant.language.symbol.elixir #ffff3f —
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 } !` ;
}
tema-azul-2.0 | Coding Theme