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.activeBorder #11609c activityBar.background #252526 activityBar.border #252526 activityBar.foreground #D7D7D7 activityBar.inactiveForeground #868686 activityBarBadge.background #11609c tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle entity.other.attribute-name.js, entity.other.attribute-name.ts, entity.other.attribute-name.jsx, entity.other.attribute-name.tsx, variable.parameter, parameter, comment, punctuation.definition.comment, comment.line.double-slash, comment.block.documentation, markup.italic.markdown — italic meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python #D4D4D4 — emphasis — italic strong — bold header
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Dark Modern Fit — Dark Modern Fit
activityBarBadge.foreground
#FFFFFF
activityBarTop.activeBorder #11609c
commandCenter.debuggingBackground #11609c42
commentsView.unresolvedIcon #11609c
debugConsole.errorForeground #d16969
debugConsole.infoForeground #9cdcfe
debugConsole.warningForeground #ce9178
debugToolBar.background #252526
diffEditor.unchangedRegionShadow #181818
disabledForeground #ffffff66
editorCommentsWidget.rangeActiveBackground #11609c1a
editorCommentsWidget.rangeBackground #11609c1a
editorCommentsWidget.unresolvedBorder #11609c
editorGroup.border #2B2B2B
editorGroup.emptyBackground #252526
editorGutter.addedBackground #2d4f01
editorGutter.deletedBackground #702020
editorGutter.foldingControlForeground #b6bbc2
editorGutter.modifiedBackground #10546c
editorIndentGuide.activeBackground1 #6E768170
editorIndentGuide.background1 #6E768125
editorLineNumber.foreground #6E7681
editorOverviewRuler.border #101010
editorStickyScroll.shadow #181818
editorWidget.resizeBorder #252526
extensionBadge.remoteBackground #11609c
focusBorder #11609c
foreground #ffffffbb
icon.foreground #ffffffbb
inlineChatInput.focusBorder #11609c
input.foreground #ffffff
inputOption.activeBackground #11609c99
inputOption.activeBorder #11609c00
inputOption.activeForeground #ffffffbb
list.focusOutline #11609c
minimapGutter.modifiedBackground #0f4c64
notebook.cellInsertionIndicator #11609c
notebook.focusedCellBorder #11609c
notebook.focusedEditorBorder #11609c
panel.border #2B2B2B
panelStickyScroll.shadow #181818
panelTitle.activeBorder #11609c
panelTitle.activeForeground #ffffffcc
radio.activeBackground #11609c66
sash.hoverBorder #11609c
scrollbar.shadow #111111
settings.focusedRowBorder #11609c
sideBarActivityBarTop.border #252526
sideBarSectionHeader.background #252526
sideBarSectionHeader.border #38383a
sideBarStickyScroll.shadow #181818
sideBarTitle.foreground #ffffff88
sideBySideEditor.horizontalBorder #2B2B2B
sideBySideEditor.verticalBorder #2B2B2B
statusBar.background #252526
statusBar.border #00000000
statusBar.debuggingBackground #11609c
statusBar.debuggingForeground #ffffffaa
statusBar.focusBorder #11609c
statusBar.foreground #ffffff88
statusBar.noFolderBackground #2d2d2f
statusBarItem.activeBackground #ffffff18
statusBarItem.compactHoverBackground #ffffff18
statusBarItem.errorBackground #a32d15
statusBarItem.errorForeground #ffffffaa
statusBarItem.focusBorder #11609c
statusBarItem.hoverBackground #ffffff10
statusBarItem.hoverForeground #ffffff
statusBarItem.offlineForeground #ffffffaa
statusBarItem.remoteBackground #11609c
statusBarItem.remoteForeground #ffffffaa
statusBarItem.warningForeground #ffffffaa
tab.activeBorderTop #11609c
tab.activeForeground #ffffffcc
tab.activeModifiedBorder #11609c
tab.border #252526
tab.hoverBackground #202020
tab.inactiveBackground #252526
terminal.ansiBlue #9CDCFE
terminal.ansiBrightBlue #9CDCFE
terminal.ansiBrightCyan #4FC1FF
terminal.ansiBrightGreen #b5cea8
terminal.ansiBrightMagenta #C586C0
terminal.ansiBrightRed #d16969
terminal.ansiBrightYellow #ce9178
terminal.ansiCyan #4FC1FF
terminal.ansiGreen #b5cea8
terminal.ansiMagenta #C586C0
terminal.ansiRed #d16969
terminal.ansiYellow #ce9178
titleBar.activeBackground #252526
titleBar.activeForeground #ffffffcc
titleBar.inactiveBackground #252526
tree.indentGuidesStroke #424245
widget.border #252526
#000080
constant.language #569cd6 —
constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent #b5cea8 —
entity.name.tag.css, entity.name.tag.less #d7ba7d —
entity.other.attribute-name #9cdcfe —
entity.other.attribute-name.class.css, source.css entity.other.attribute-name.class, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.parent.less, source.css entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss #d7ba7d —
markup.underline — underline
markup.heading #569cd6 bold
markup.strikethrough — strikethrough
punctuation.definition.quote.begin.markdown #6A9955 —
punctuation.definition.list.begin.markdown #6796e6 —
markup.inline.raw #ce9178 —
punctuation.definition.tag #808080 —
meta.preprocessor, entity.name.function.preprocessor #569cd6 —
meta.preprocessor.string #ce9178 —
meta.preprocessor.numeric #b5cea8 —
meta.structure.dictionary.key.python #9cdcfe —
storage.modifier, keyword.operator.noexcept #569cd6 —
string, meta.embedded.assembly #ce9178 —
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, source.css variable, source.coffee.embedded #9cdcfe —
keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike #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, entity.name.operator.custom-literal #DCDCAA —
support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, 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.directive.using, keyword.other.operator, entity.name.operator #C586C0 —
variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder #9CDCFE —
variable.other.constant, variable.other.enummember #4FC1FF —
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, constant.other.option #569cd6 —
constant.character.escape #d7ba7d —
entity.name.label #C8C8C8 —
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...
~/my-project
main*
Button.tsx
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 } !` ;
}
Dark Modern Fit | Coding Theme