Skip to main content
MaterialDarkPlus | 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.background #1E1E1E activityBar.border #1E1E1E60 activityBar.foreground #eeffff activityBarBadge.background #007ACC activityBarBadge.foreground #E4F1FA badge.background #00000030 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle meta.embedded, source.groovy.embedded #D4D4D4 — emphasis — italic strong — bold header #000080 — comment #6A9955 —
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
MaterialDarkPlus — materialdarkplus
badge.foreground
#545454
breadcrumb.activeSelectionForeground #007ACC
breadcrumb.background #1E1E1E
breadcrumb.focusForeground #eeffff
breadcrumb.foreground #616161
breadcrumbPicker.background #1E1E1E
button.background #61616150
debugToolBar.background #1E1E1E
diffEditor.insertedTextBackground #c3e88d15
diffEditor.removedTextBackground #ff537020
dropdown.background #1E1E1E
dropdown.border #ffffff10
editor.background #1E1E1E
editor.findMatchBackground #000000
editor.findMatchBorder #007ACC
editor.findMatchHighlightBackground #00000050
editor.findMatchHighlightBorder #ffffff30
editor.foreground #eeffff
editor.lineHighlightBackground #00000050
editor.selectionBackground #61616150
editor.selectionHighlightBackground #ffcc0020
editorBracketMatch.background #1E1E1E
editorBracketMatch.border #ffcc0050
editorCursor.foreground #ffcc00
editorError.foreground #ff537070
editorGroup.border #00000030
editorGroupHeader.tabsBackground #1E1E1E
editorGutter.addedBackground #c3e88d60
editorGutter.deletedBackground #ff537060
editorGutter.modifiedBackground #82aaff60
editorHoverWidget.background #1E1E1E
editorHoverWidget.border #ffffff10
editorIndentGuide.activeBackground #424242
editorIndentGuide.background #42424270
editorInfo.foreground #82aaff70
editorLineNumber.activeForeground #616161
editorLineNumber.foreground #424242
editorLink.activeForeground #eeffff
editorMarkerNavigation.background #eeffff05
editorOverviewRuler.border #1E1E1E
editorOverviewRuler.errorForeground #ff537040
editorOverviewRuler.findMatchForeground #007ACC
editorOverviewRuler.infoForeground #82aaff40
editorOverviewRuler.warningForeground #ffcb6b40
editorRuler.foreground #424242
editorSuggestWidget.background #1E1E1E
editorSuggestWidget.border #ffffff10
editorSuggestWidget.foreground #eeffff
editorSuggestWidget.highlightForeground #007ACC
editorSuggestWidget.selectedBackground #00000050
editorWarning.foreground #ffcb6b70
editorWhitespace.foreground #eeffff40
editorWidget.background #1E1E1E
editorWidget.border #ff0000
editorWidget.resizeBorder #007ACC
extensionButton.prominentBackground #c3e88d90
extensionButton.prominentHoverBackground #c3e88d
focusBorder #ffffff00
gitDecoration.conflictingResourceForeground #ffcb6b90
gitDecoration.deletedResourceForeground #ff537090
gitDecoration.ignoredResourceForeground #61616190
gitDecoration.modifiedResourceForeground #82aaff90
gitDecoration.untrackedResourceForeground #c3e88d90
input.background #2b2b2b
input.border #ffffff10
input.foreground #eeffff
input.placeholderForeground #eeffff60
inputOption.activeBackground #eeffff30
inputOption.activeBorder #eeffff30
inputValidation.errorBorder #ff537050
inputValidation.infoBorder #82aaff50
inputValidation.warningBorder #ffcb6b50
list.activeSelectionBackground #1E1E1E
list.activeSelectionForeground #007ACC
list.focusBackground #eeffff20
list.focusForeground #eeffff
list.highlightForeground #007ACC
list.hoverBackground #1E1E1E
list.hoverForeground #ffffff
list.inactiveSelectionBackground #00000030
list.inactiveSelectionForeground #007ACC
listFilterWidget.background #00000030
listFilterWidget.noMatchesOutline #00000030
listFilterWidget.outline #00000030
menu.background #1E1E1E
menu.foreground #eeffff
menu.selectionBackground #00000050
menu.selectionBorder #00000030
menu.selectionForeground #007ACC
menu.separatorBackground #eeffff
menubar.selectionBackground #00000030
menubar.selectionBorder #00000030
menubar.selectionForeground #007ACC
notificationLink.foreground #007ACC
notifications.background #1E1E1E
notifications.foreground #eeffff
panel.background #1E1E1E
panel.border #1E1E1E60
panel.dropBackground #eeffff
panelTitle.activeBorder #007ACC
panelTitle.activeForeground #ffffff
panelTitle.inactiveForeground #eeffff
peekView.border #00000030
peekViewEditor.background #eeffff05
peekViewEditor.matchHighlightBackground #61616150
peekViewEditorGutter.background #eeffff05
peekViewResult.background #eeffff05
peekViewResult.matchHighlightBackground #61616150
peekViewResult.selectionBackground #61616170
peekViewTitle.background #eeffff05
peekViewTitleDescription.foreground #eeffff60
pickerGroup.foreground #007ACC
progressBar.background #007ACC
scrollbar.shadow #1E1E1E00
scrollbarSlider.activeBackground #007ACC
scrollbarSlider.background #eeffff20
scrollbarSlider.hoverBackground #eeffff10
selection.background #007ACC
settings.checkboxBackground #1E1E1E
settings.checkboxForeground #eeffff
settings.dropdownBackground #1E1E1E
settings.dropdownForeground #eeffff
settings.headerForeground #007ACC
settings.modifiedItemIndicator #007ACC
settings.numberInputBackground #1E1E1E
settings.numberInputForeground #eeffff
settings.textInputBackground #1E1E1E
settings.textInputForeground #eeffff
sideBar.background #1E1E1E
sideBar.border #1E1E1E60
sideBar.foreground #616161
sideBarSectionHeader.background #1E1E1E
sideBarSectionHeader.border #1E1E1E60
sideBarTitle.foreground #eeffff
statusBar.background #1E1E1E
statusBar.border #1E1E1E60
statusBar.debuggingBackground #e85d2f
statusBar.debuggingForeground #ffffff
statusBar.foreground #616161
statusBar.noFolderBackground #1E1E1E
statusBarItem.hoverBackground #54545420
statusBarItem.remoteBackground #007ACC
statusBarItem.remoteForeground #000000
tab.activeBorder #007ACC
tab.activeForeground #ffffff
tab.activeModifiedBorder #616161
tab.border #1E1E1E
tab.inactiveBackground #1E1E1E
tab.inactiveForeground #616161
tab.unfocusedActiveBorder #545454
tab.unfocusedActiveForeground #eeffff
terminal.ansiBlack #000000
terminal.ansiBlue #82aaff
terminal.ansiBrightBlack #545454
terminal.ansiBrightBlue #82aaff
terminal.ansiBrightCyan #89ddff
terminal.ansiBrightGreen #c3e88d
terminal.ansiBrightMagenta #c792ea
terminal.ansiBrightRed #ff5370
terminal.ansiBrightWhite #ffffff
terminal.ansiBrightYellow #ffcb6b
terminal.ansiCyan #89ddff
terminal.ansiGreen #c3e88d
terminal.ansiMagenta #c792ea
terminal.ansiRed #ff5370
terminal.ansiWhite #ffffff
terminal.ansiYellow #ffcb6b
terminalCursor.background #000000
terminalCursor.foreground #ffcb6b
textLink.activeForeground #eeffff
textLink.foreground #007ACC
titleBar.activeBackground #1E1E1E
titleBar.activeForeground #eeffff
titleBar.border #1E1E1E60
titleBar.inactiveBackground #1E1E1E
titleBar.inactiveForeground #616161
tree.indentGuidesStroke #424242
widget.shadow #00000030 constant.language #569cd6 —
entity.name.tag.css #d7ba7d —
entity.other.attribute-name #9cdcfe —
entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss #d7ba7d —
markup.underline — underline
markup.heading #569cd6 bold
punctuation.definition.quote.begin.markdown #6A9955 —
punctuation.definition.list.begin.markdown #6796e6 —
markup.inline.raw #ce9178 —
punctuation.definition.tag #808080 —
meta.preprocessor #569cd6 —
meta.preprocessor.string #ce9178 —
meta.preprocessor.numeric #b5cea8 —
meta.structure.dictionary.key.python #9cdcfe —
punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded #569cd6 —
meta.template.expression #d4d4d4 —
support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded #9cdcfe —
keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python #569cd6 —
keyword.other.unit #b5cea8 —
punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php #569cd6 —
support.function.git-rebase #9cdcfe —
constant.sha.git-rebase #b5cea8 —
storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java #d4d4d4 —
variable.language #569cd6 —
entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member #DCDCAA —
meta.return-type, support.class, support.type, entity.name.type, entity.name.namespace, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy #4EC9B0 —
meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class #4EC9B0 —
keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator #569CD6 —
variable, meta.definition.variable.name, support.variable, entity.name.variable #9CDCFE —
meta.object-literal.key #9CDCFE —
support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color #CE9178 —
punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp #CE9178 —
constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp #d16969 —
keyword.operator.or.regexp, keyword.control.anchor.regexp #DCDCAA —
keyword.operator.quantifier.regexp #d7ba7d —
constant.character #569cd6 —
constant.character.escape #d7ba7d —
keyword.control, keyword.other.using #569CD6 —
token.error-token #f44747 —
token.debug-token #b267e6 —
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 } !` ;
}