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.background #121212 activityBar.border #00000000 activityBar.foreground #F0544C activityBar.inactiveForeground #5e5e5e activityBarBadge.background #F0544C activityBarBadge.foreground #000000 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle variable.language #05ad97 — variable.other.member #05ad97 — variable.parameter.function #A6B2C0 — comment, punctuation.definition.comment #5c6370 — meta.function.c
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Raven | Coding Theme
badge.background
#F0544C
badge.foreground #1e2c37
breadcrumb.activeSelectionForeground #e0e0e0
breadcrumb.background #1e1e1e
breadcrumb.focusForeground #e0e0e0
breadcrumb.foreground #cccccccc
breadcrumbPicker.background #252526
button.background #F0544c
button.foreground #ffffff
button.hoverBackground #F0544caa
debugExceptionWidget.background #420b0d
debugExceptionWidget.border #a31515
debugToolBar.background #333333
descriptionForeground #ccccccb3
diffEditor.insertedTextBackground #9bb95533
diffEditor.removedTextBackground #ff000033
dropdown.background #181818
dropdown.border #181818
dropdown.foreground #f0f0f0
dropdown.listBackground #181818
editor.background #121212
editor.findMatchBackground #515c6a
editor.findMatchHighlightBackground #ea5c0055
editor.findRangeHighlightBackground #3a3d4166
editor.focusedStackFrameHighlightBackground #7abd7a4d
editor.foreground #929292
editor.hoverHighlightBackground #264f7840
editor.lineHighlightBackground #00000030
editor.rangeHighlightBackground #ffffff0b
editor.selectionBackground #F0544C66
editor.snippetFinalTabstopHighlightBorder #525252
editor.snippetTabstopHighlightBackground #7c7c7c4d
editor.stackFrameHighlightBackground #ffff0033
editor.wordHighlightBackground #575757b8
editor.wordHighlightStrongBackground #004972b8
editorBracketMatch.background #0064001a
editorBracketMatch.border #888888
editorCodeLens.foreground #999999
editorCursor.foreground #ffffff
editorError.foreground #ea4646
editorGroup.border #444444
editorGroupHeader.noTabsBackground #1e1e1e
editorGroupHeader.tabsBackground #1e1e1e
editorGroupHeader.tabsBorder #00000000
editorGutter.addedBackground #F0544C
editorGutter.background #121212
editorGutter.deletedBackground #d3131d
editorGutter.modifiedBackground #0b86be
editorHint.foreground #eeeeeeb3
editorHoverWidget.background #252526
editorHoverWidget.border #454545
editorIndentGuide.activeBackground #7e7e7e50
editorIndentGuide.background #181818
editorInfo.foreground #008000
editorLineNumber.activeForeground #9c9c9c
editorLineNumber.foreground #585858
editorLink.activeForeground #4e94ce
editorMarkerNavigation.background #2d2d30
editorMarkerNavigationError.background #ea4646
editorMarkerNavigationInfo.background #008000
editorMarkerNavigationWarning.background #4d9e4d
editorOverviewRuler.addedForeground #007acc99
editorOverviewRuler.border #00000000
editorOverviewRuler.bracketMatchForeground #a0a0a0
editorOverviewRuler.commonContentForeground #60606066
editorOverviewRuler.currentContentForeground #40c8ae80
editorOverviewRuler.deletedForeground #007acc99
editorOverviewRuler.errorForeground #ff1212b3
editorOverviewRuler.findMatchForeground #f6b94db3
editorOverviewRuler.incomingContentForeground #40a6ff80
editorOverviewRuler.infoForeground #121288b3
editorOverviewRuler.modifiedForeground #007acc99
editorOverviewRuler.rangeHighlightForeground #007acc99
editorOverviewRuler.selectionHighlightForeground #a0a0a0cc
editorOverviewRuler.warningForeground #128812b3
editorOverviewRuler.wordHighlightForeground #a0a0a0cc
editorRuler.foreground #222222
editorSuggestWidget.background #252526
editorSuggestWidget.border #454545
editorSuggestWidget.foreground #929292
editorSuggestWidget.highlightForeground #F0544C
editorSuggestWidget.selectedBackground #202020c2
editorUnnecessaryCode.opacity #000000aa
editorWarning.foreground #4d9e4d
editorWhitespace.foreground #bfbfbf
editorWidget.background #121212
editorWidget.border #f0544c
errorForeground #f48771
extensionButton.prominentBackground #327e36
extensionButton.prominentForeground #ffffff
extensionButton.prominentHoverBackground #28632b
focusBorder #00000000
foreground #cccccc
gitDecoration.addedResourceForeground #50FA7B90
gitDecoration.conflictingResourceForeground #6272A490
gitDecoration.deletedResourceForeground #FF555590
gitDecoration.ignoredResourceForeground #6c6c6c90
gitDecoration.modifiedResourceForeground #e2c08d90
gitDecoration.submoduleResourceForeground #8db9e290
gitDecoration.untrackedResourceForeground #50FA7B90
input.background #1e1e1e
input.foreground #cccccc
input.placeholderForeground #cccccc80
inputOption.activeBorder #007acc
inputValidation.errorBackground #5a1d1d
inputValidation.errorBorder #be1100
inputValidation.infoBackground #063b49
inputValidation.infoBorder #007acc
inputValidation.warningBackground #352a05
inputValidation.warningBorder #b89500
list.activeSelectionBackground #121212
list.activeSelectionForeground #f0544c
list.errorForeground #f88070
list.focusBackground #121212
list.focusForeground #7e7e7e
list.hoverBackground #121212
list.hoverForeground #7e7e7e
list.inactiveFocusBackground #121212
list.inactiveSelectionBackground #121212
list.inactiveSelectionForeground #7e7e7e
list.invalidItemForeground #b89500
list.warningForeground #4d9e4d
listFilterWidget.background #653723
listFilterWidget.noMatchesOutline #be1100
listFilterWidget.outline #00000000
menu.background #3c3c3c
menu.foreground #f0f0f0
menu.selectionBackground #212121
menu.selectionForeground #80cbc4
menu.separatorBackground #bbbbbb
menubar.selectionBackground #ffffff1a
menubar.selectionForeground #cccccc
merge.commonContentBackground #60606029
merge.commonHeaderBackground #60606066
merge.currentContentBackground #40c8ae33
merge.currentHeaderBackground #40c8ae80
merge.incomingContentBackground #40a6ff33
merge.incomingHeaderBackground #40a6ff80
notificationCenterHeader.background #303031
notificationLink.foreground #3794ff
notifications.background #252526
notifications.border #303031
panel.background #1e1e1e
panel.border #1e1e1e
panel.dropBackground #ffffff1f
panelTitle.activeForeground #f0544c
panelTitle.inactiveForeground #e7e7e799
peekView.border #007acc
peekViewEditor.background #001f33
peekViewEditor.matchHighlightBackground #ff8f0099
peekViewEditorGutter.background #001f33
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 #3f3f46
pickerGroup.foreground #3794ff
progressBar.background #F0544C
scrollbar.shadow #000000aa
scrollbarSlider.activeBackground #F0544Caa
scrollbarSlider.background #00000030
scrollbarSlider.hoverBackground #F0544C66
settings.checkboxBackground #3c3c3c
settings.checkboxBorder #3c3c3c
settings.checkboxForeground #f0f0f0
settings.dropdownBackground #3c3c3c
settings.dropdownBorder #3c3c3c
settings.dropdownForeground #f0f0f0
settings.dropdownListBorder #454545
settings.headerForeground #e7e7e7
settings.modifiedItemIndicator #0c7d9d
settings.numberInputBackground #252525
settings.numberInputForeground #cccccc
settings.textInputBackground #252525
settings.textInputForeground #cccccc
sideBar.background #181818
sideBar.border #121212
sideBar.foreground #6c6c6c
sideBarSectionHeader.background #212121
sideBarSectionHeader.border #21212160
sideBarTitle.foreground #eeffff
statusBar.background #121212
statusBar.border #121212
statusBar.debuggingBackground #1e1e1e
statusBar.debuggingBorder #181818
statusBar.debuggingForeground #f0544c
statusBar.foreground #7e7e7e
statusBar.noFolderBackground #191919
statusBar.noFolderBorder #181818
statusBar.noFolderForeground #7e7e7e
statusBarItem.activeBackground #ffffff2e
statusBarItem.hoverBackground #151515
statusBarItem.prominentBackground #388a34
statusBarItem.prominentHoverBackground #369432
tab.activeBackground #121212
tab.activeBorderTop #F0544C
tab.activeForeground #ffffff
tab.border #181818
tab.inactiveBackground #1e1e1e
tab.inactiveForeground #ffffff80
tab.unfocusedActiveForeground #ffffff80
tab.unfocusedInactiveForeground #ffffff40
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 #e5e5e5
terminal.ansiYellow #e5e510
terminal.background #1e1e1e
terminal.border #80808059
terminal.foreground #cccccc
terminal.selectionBackground #ffffff40
textBlockQuote.background #7f7f7f1a
textBlockQuote.border #007acc80
textCodeBlock.background #0a0a0a66
textLink.activeForeground #3794ff
textLink.foreground #3794ff
textPreformat.foreground #d7ba7d
textSeparator.foreground #ffffff2e
titleBar.activeBackground #272727
titleBar.activeForeground #cccccc
titleBar.inactiveBackground #181818
titleBar.inactiveForeground #cccccc99
widget.shadow #00000030 #e06c75ff
keyword.control.cpp #e5c07bff —
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 #abb2bfff —
variable.other.constant.js #e5c07bff —
support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss #d19a66ff —
support.constant.color.w3c-standard-color-name.css,entity.other.attribute-name.class.css #d19a66ff —
support.type.vendored.property-name.css #56b6c2ff —
punctuation.definition.template-expression.begin.js,punctuation.definition.template-expression.end.js #e06c75ff —
support.module.node.js,support.type.object.module.js,support.module.node.js #e5c07bff —
variable.other.readwrite.js,meta.object-literal.key.js,support.variable.property.js,support.variable.object.process.js #05ad97 —
support.constant.json.js #d19a66ff —
punctuation.definition.comment #5C6370 —
variable.other.readwrite #d0d0d0 —
token.package.keyword #a15ebb —
entity.name.function,variable.function,meta.function-call.generic.python,support.function.any-method #3193c6 —
entity.name.type.namespace #e5c07b —
support.class, entity.name.type.class #e5c07b —
entity.name.class.identifier.namespace.type #e5c07b —
entity.name.class #61afef —
keyword.control #e06c75ff —
control.elements, keyword.operator.less #d19a66 —
support.type.property-name #abb2bf —
support.constant.property-value #abb2bf —
support.constant.font-name #d19a66 —
string, entity.other.inherited-class #05ad97 —
constant.other.symbol #05ad97 —
punctuation.definition.constant #d19a66 —
entity.other.attribute-name #d19a66 —
entity.other.attribute-name.id #61afefff —
keyword.other.unit #d19a66 —
constant.character.escape #57B6C2 —
invalid.deprecated #FFFFFF —
invalid.unimplemented #FFFFFF —
function.parameter #d19a66 —
inline-color-decoration rgb-value #d19a66 —
var.this.js,var.this.ts,variable.language.this.js #e5c07bff —
token.error-token #f44747 —
token.debug-token #b267e6 —
comment.block.documentation #5c6370 —
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 }!` ;
}