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 #1e1e1e activityBar.activeBorder #dd0000 activityBar.activeFocusBorder #dd0000 activityBar.background #1e1e1e activityBar.dropBorder #ff0000 activityBarBadge.background #929292 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment #7e7c7c italic variable, string constant.other.placeholder #EEFFFF — constant.other.color #ffffff — invalid, invalid.illegal #FF5370 — keyword, storage.type, storage.modifier
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Red Theme by backw1n#888 — made by backw1n
activityBarBadge.foreground #ffffff
badge.background #4e4e4e
button.background #dd0000
button.foreground #f5a1a1
button.hoverBackground #960000
button.secondaryBackground #ff0000
debugConsole.errorForeground #4e4e4e
debugConsole.infoForeground #4e4e4e
debugConsole.warningForeground #4e4e4e
debugIcon.breakpointCurrentStackframeForeground #4e4e4e
debugIcon.breakpointDisabledForeground #4e4e4e
debugIcon.breakpointForeground #4e4e4e
debugIcon.breakpointStackframeForeground #4e4e4e
debugIcon.breakpointUnverifiedForeground #4e4e4e
debugIcon.continueForeground #4e4e4e
debugIcon.disconnectForeground #4e4e4e
debugIcon.pauseForeground #4e4e4e
debugIcon.restartForeground #4e4e4e
debugIcon.startForeground #4e4e4e
debugIcon.stepBackForeground #4e4e4e
debugIcon.stepIntoForeground #4e4e4e
debugIcon.stepOutForeground #4e4e4e
debugIcon.stepOverForeground #4e4e4e
debugIcon.stopForeground #4e4e4e
dropdown.background #1e1e1e
dropdown.listBackground #1e1e1e
editor.background #121212
editor.findMatchBackground #4e4e4e
editor.foreground #ffffff
editor.selectionBackground #4e4e4e
editorGroup.emptyBackground #1e1e1e
editorGroup.focusedEmptyBorder #1e1e1e
editorGroupHeader.tabsBackground #1e1e1e
editorGroupHeader.tabsBorder #1e1e1e
focusBorder #1e1e1e
icon.foreground #dd0000
input.background #1e1e1e
list.activeSelectionBackground #121212
list.activeSelectionForeground #dd0000
list.activeSelectionIconForeground #ff0000
list.dropBackground #960000
list.focusBackground #ff0000
list.inactiveSelectionBackground #1e1e1e
list.inactiveSelectionIconForeground #4e4e4e
minimap.findMatchHighlight #ff0000
progressBar.background #dd0000
sash.hoverBorder #dd0000
scrollbarSlider.activeBackground #dd0000
scrollbarSlider.background #dd0000
scrollbarSlider.hoverBackground #dd0000
selection.background #1e1e1e
sideBar.background #1e1e1e
sideBar.border #1e1e1e
sideBar.dropBackground #dd0000
sideBar.foreground #929292
sideBarSectionHeader.background #1e1e1e
sideBarSectionHeader.foreground #ff0000
sideBarTitle.foreground #dd0000
statusBar.background #1e1e1e
statusBar.border #ff0000
statusBar.foreground #ff0000
statusBar.noFolderBackground #1e1e1e
symbolIcon.arrayForeground #4e4e4e
symbolIcon.booleanForeground #4e4e4e
symbolIcon.classForeground #4e4e4e
symbolIcon.colorForeground #4e4e4e
symbolIcon.constantForeground #4e4e4e
symbolIcon.constructorForeground #4e4e4e
symbolIcon.enumeratorForeground #4e4e4e
symbolIcon.enumeratorMemberForeground #4e4e4e
symbolIcon.eventForeground #4e4e4e
symbolIcon.fieldForeground #4e4e4e
symbolIcon.fileForeground #4e4e4e
symbolIcon.folderForeground #4e4e4e
symbolIcon.functionForeground #4e4e4e
symbolIcon.interfaceForeground #4e4e4e
symbolIcon.keyForeground #4e4e4e
symbolIcon.keywordForeground #4e4e4e
symbolIcon.methodForeground #4e4e4e
symbolIcon.moduleForeground #4e4e4e
symbolIcon.namespaceForeground #4e4e4e
symbolIcon.nullForeground #4e4e4e
symbolIcon.numberForeground #4e4e4e
symbolIcon.objectForeground #4e4e4e
symbolIcon.operatorForeground #4e4e4e
symbolIcon.packageForeground #4e4e4e
symbolIcon.propertyForeground #4e4e4e
symbolIcon.referenceForeground #4e4e4e
symbolIcon.snippetForeground #4e4e4e
symbolIcon.stringForeground #4e4e4e
symbolIcon.structForeground #4e4e4e
symbolIcon.textForeground #4e4e4e
symbolIcon.typeParameterForeground #4e4e4e
symbolIcon.unitForeground #4e4e4e
symbolIcon.variableForeground #4e4e4e
tab.activeBackground #1e1e1e
tab.activeBorder #dd0000
tab.border #1e1e1e
tab.inactiveBackground #1e1e1e
tab.unfocusedActiveBackground #1e1e1e
tab.unfocusedActiveBorder #252525
tab.unfocusedActiveForeground #dd0000
textLink.foreground #dd0000
titleBar.activeBackground #1e1e1e
titleBar.inactiveBackground #1e1e1e
toolbar.hoverBackground #121212 keyword.control, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution #dd0000 —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #8b0303 —
entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method #c97600 —
meta.block variable.other #ffffff —
support.other.variable, string.other.link #6e0006 —
constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other #dead18 —
string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js #ff4d4d —
entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types #706144 —
source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name #a5650b —
entity.name.module.js, variable.import.parameter.js, variable.other.class.js #990606 —
variable.language #ca233f italic
entity.name.method.js #8eaff5 italic
meta.class-method.js entity.name.function.js, variable.function.constructor #82AAFF —
entity.other.attribute-name #ba7512 —
text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name #FFCB6B italic
entity.other.attribute-name.class #FFCB6B —
source.sass keyword.control #ffffff —
constant.character.escape #b49900 —
*url*, *link*, *uri* — underline
tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js #b49900 italic
source.js constant.other.object.key.js string.unquoted.label.js #FF5370 italic
source.json meta.structure.dictionary.json support.type.property-name.json #998200 —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #FFCB6B —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #F78C6C —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #FF5370 —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #C17E70 —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #b49900 —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #f07178 —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #494b00 —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #C3E88D —
text.html.markdown, punctuation.definition.list_item.markdown #EEFFFF —
text.html.markdown markup.inline.raw.markdown #ff0000 —
text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown #ff0000 —
markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown #C3E88D —
markup.italic #49191c italic
markup.bold, markup.bold string #f07178 bold
markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string #f07178 bold
markup.underline #F78C6C underline
markup.quote punctuation.definition.blockquote.markdown #65737E —
string.other.link.title.markdown #b49900 —
string.other.link.description.title.markdown #b49900 —
constant.other.reference.link.markdown #FFCB6B —
markup.raw.block.fenced.markdown #00000050 —
punctuation.definition.fenced.markdown #00000050 —
markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end #EEFFFF —
variable.language.fenced.markdown #65737E —
meta.separator #65737E bold
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*
Red Theme by backw1n#888 | Coding Theme
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 } ! ` ;
}