Skip to main content
Purple Cloud Theme | 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 #090b10 activityBar.border #000000dd activityBar.dropBorder #2f3b54 activityBar.foreground #f7630c activityBar.inactiveForeground #ffffff activityBarBadge.background #881798 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment #15fd00 italic variable, string constant.other.placeholder #ff00d7 — 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.
Purple Cloud Theme — Purple Cloud Theme Default
activityBarBadge.foreground
#ffffff
badge.background #5e1268
badge.foreground #ffffff
breadcrumb.activeSelectionForeground #ffffff
breadcrumb.background #0f111a
breadcrumb.focusForeground #f7630c
breadcrumb.foreground #e2e3de
breadcrumbPicker.background #0f111a
button.background #881798
button.foreground #ffffff
button.hoverBackground #ad81b4
button.secondaryBackground #3a3d41
button.secondaryForeground #ffffff
button.secondaryHoverBackground #6f6f6f
debugExceptionWidget.background #2f3b54
debugExceptionWidget.border #2f3b54
debugToolBar.background #0f111a
debugToolBar.border #0f111a
descriptionForeground #ffffff
diffEditor.border #2f3b54
diffEditor.insertedTextBackground #bae67e22
diffEditor.insertedTextBorder #bae67e44
diffEditor.removedTextBackground #ef6b7322
diffEditor.removedTextBorder #ef6b7344
dropdown.background #2f3b54
dropdown.border #2f3b54
dropdown.foreground #d7dce2
dropdown.listBackground #171c28
editor.background #0f111a
editor.findMatchBackground #8695b777
editor.findMatchBorder #00000000
editor.findMatchHighlightBackground #881798
editor.findMatchHighlightBorder #881798
editor.findRangeHighlightBackground #8695b777
editor.foreground #ffffff
editor.hoverHighlightBackground #8695b777
editor.inactiveSelectionBackground #8695b777
editor.lineHighlightBackground #2f3b54
editor.lineHighlightBorder #2f3b54
editor.rangeHighlightBackground #2f3b54
editor.selectionBackground #2f3b54
editor.selectionForeground #a2aabc
editor.selectionHighlightBackground #2f3b54
editor.wordHighlightBackground #8695b777
editor.wordHighlightStrongBackground #8695b777
editorBracketMatch.background #8695b755
editorCodeLens.foreground #d7dce2
editorCursor.background #1d2433
editorCursor.foreground #ffffff
editorError.foreground #E60026
editorGroup.border #090b10
editorGroup.dropBackground #2f3b54
editorGroup.emptyBackground #1d2433
editorGroupHeader.noTabsBackground #1d2433
editorGroupHeader.tabsBackground #090b10
editorGroupHeader.tabsBorder #000000dd
editorGutter.addedBackground #bae67e
editorGutter.background #0f111a
editorGutter.deletedBackground #E60026
editorGutter.modifiedBackground #5ccfe6
editorHint.foreground #E60026
editorHoverWidget.background #2f3b54
editorHoverWidget.border #2f3b54
editorIndentGuide.activeBackground #8695b755
editorIndentGuide.background #8695b733
editorInfo.foreground #eb5cff
editorInlayHint.background #171c28
editorInlayHint.foreground #8695b799
editorLineNumber.activeForeground #f7630c
editorLineNumber.foreground #ffffff
editorLink.activeForeground #f7630c
editorMarkerNavigation.background #2f3b54
editorMarkerNavigationError.background #E60026
editorMarkerNavigationInfo.background #5ccfe6
editorMarkerNavigationWarning.background #ff009d
editorOverviewRuler.addedForeground #bae67e
editorOverviewRuler.border #2f3b54
editorOverviewRuler.bracketMatchForeground #f7630c
editorOverviewRuler.commonContentForeground #2f3b54
editorOverviewRuler.currentContentForeground #5ccfe6
editorOverviewRuler.deletedForeground #E60026
editorOverviewRuler.errorForeground #E60026
editorOverviewRuler.findMatchForeground #f7630c
editorOverviewRuler.incomingContentForeground #bae67e
editorOverviewRuler.infoForeground #5ccfe6
editorOverviewRuler.modifiedForeground #5ccfe6
editorOverviewRuler.rangeHighlightForeground #8695b7
editorOverviewRuler.selectionHighlightForeground #8695b7
editorOverviewRuler.warningForeground #f7630c
editorOverviewRuler.wordHighlightForeground #8695b7
editorOverviewRuler.wordHighlightStrongForeground #8695b7
editorPane.background #1d2433
editorRuler.foreground #2f3b54
editorSuggestWidget.background #2f3b54
editorSuggestWidget.border #2f3b54
editorSuggestWidget.foreground #d7dce2
editorSuggestWidget.highlightForeground #eb5cff
editorSuggestWidget.selectedBackground #1d2433
editorWarning.foreground #E60026
editorWhitespace.foreground #8695b777
editorWidget.background #171c28
editorWidget.border #171c28
errorForeground #E60026
extensionButton.prominentBackground #881798
extensionButton.prominentForeground #ffffff
extensionButton.prominentHoverBackground #ad81b4
focusBorder #3A0740
foreground #ffffff
gitDecoration.conflictingResourceForeground #ff0000
gitDecoration.deletedResourceForeground #ff2600
gitDecoration.ignoredResourceForeground #8695b777
gitDecoration.modifiedResourceForeground #00cef7
gitDecoration.untrackedResourceForeground #93ff00
input.background #3c3c3c
input.border #00000000
input.foreground #ffffff
input.placeholderForeground #a6a6a6
inputOption.activeBorder #007acc00
inputOption.activeForeground #ffffff
inputValidation.errorBackground #1d2433
inputValidation.errorBorder #E60026
inputValidation.errorForeground #E60026
inputValidation.infoBackground #1d2433
inputValidation.infoBorder #5ccfe6
inputValidation.infoForeground #5ccfe6
inputValidation.warningBackground #1d2433
inputValidation.warningBorder #ffd580
inputValidation.warningForeground #ffd580
list.activeSelectionBackground #5e1268
list.activeSelectionForeground #ffffff
list.dropBackground #2f3b54
list.errorForeground #be1100
list.focusBackground #29172c
list.focusForeground #cccccc
list.highlightForeground #c239b3
list.hoverBackground #2a2d2e
list.hoverForeground #ffffff
list.inactiveFocusBackground #2f3b54
list.inactiveSelectionBackground #37373d
list.inactiveSelectionForeground #ffffff
list.invalidItemForeground #be1100
list.warningForeground #ffd580
listFilterWidget.background #881798
listFilterWidget.noMatchesOutline #be1100
listFilterWidget.outline #00000000
menu.background #090b10
menu.foreground #ffffff
menu.selectionBackground #5e1268
menu.selectionForeground #ffffff
menu.separatorBackground #bbbbbb
menubar.selectionBackground #881798
menubar.selectionForeground #ffffff
merge.border #8695b7
merge.commonContentBackground #282828
merge.commonHeaderBackground #383838
merge.currentContentBackground #27403b
merge.currentHeaderBackground #367366
merge.incomingContentBackground #28384b
merge.incomingHeaderBackground #395f8f
notificationCenter.border #171c28
notificationCenterHeader.background #171c28
notificationCenterHeader.foreground #d7dce2
notificationLink.foreground #ffffff
notifications.background #171c28
notifications.border #171c28
notifications.foreground #ffffff
notificationToast.border #171c28
panel.background #090b10
panel.border #00000d
panel.dropBorder #2f3b54
panelInput.border #8695b7
panelSection.border #2f3b54
panelSection.dropBackground #2f3b54
panelSectionHeader.background #1d2433
panelSectionHeader.foreground #f7630c
panelTitle.activeBorder #f7630c
panelTitle.activeForeground #d7dce2
panelTitle.inactiveForeground #8695b7
peekView.border #9518a7
peekViewEditor.background #18001b
peekViewEditor.matchHighlightBackground #d17e1130
peekViewEditor.matchHighlightBorder #d17e1130
peekViewEditorGutter.background #18001b
peekViewResult.background #14161b
peekViewResult.fileForeground #ffffff
peekViewResult.lineForeground #ffffff
peekViewResult.matchHighlightBackground #d17e1130
peekViewResult.selectionBackground #3399ff33
peekViewResult.selectionForeground #ffffff
peekViewTitle.background #14161b
peekViewTitleDescription.foreground #ffffff
peekViewTitleLabel.foreground #ffffff
pickerGroup.border #757c8a
pickerGroup.foreground #881798
progressBar.background #f7630c
scrollbar.shadow #000000
scrollbarSlider.activeBackground #bfbfbf66
scrollbarSlider.background #79797966
scrollbarSlider.hoverBackground #646464b3
selection.background #8695b777
settings.checkboxBackground #2f3b54
settings.checkboxBorder #2f3b54
settings.checkboxForeground #ffffff
settings.dropdownBackground #14161b
settings.dropdownBorder #14161b
settings.dropdownForeground #ffffff
settings.dropdownListBorder #2f3b54
settings.headerForeground #ffffff
settings.modifiedItemIndicator #f7630c
settings.numberInputBackground #2f3b54
settings.numberInputBorder #2f3b54
settings.numberInputForeground #ffffff
settings.textInputBackground #2f3b54
settings.textInputBorder #2f3b54
settings.textInputForeground #ffffff
sideBar.background #090b10
sideBar.border #090b10
sideBar.foreground #cccccc
sideBarSectionHeader.background #151921
sideBarSectionHeader.border #000000dd
sideBarSectionHeader.foreground #ffffff
sideBarTitle.foreground #f7630c
statusBar.background #570F61
statusBar.border #171c28
statusBar.debuggingBackground #002E25
statusBar.debuggingForeground #ffffff
statusBar.foreground #ffffff
statusBar.noFolderBackground #881798
statusBar.noFolderForeground #ffffff
statusBarItem.activeBackground #2f3b54
statusBarItem.hoverBackground #ffffff1f
statusBarItem.remoteBackground #f7630c
statusBarItem.remoteForeground #ffffff
tab.activeBackground #0f111a
tab.activeBorder #00000000
tab.activeBorderTop #881798
tab.activeForeground #ffffff
tab.border #000000dd
tab.hoverBackground #2f3b54
tab.inactiveBackground #151921
tab.inactiveForeground #f4f6f8c4
tab.unfocusedActiveBackground #0f111a
tab.unfocusedActiveBorder #00000000
tab.unfocusedActiveBorderTop #00000000
tab.unfocusedActiveForeground #ffffff
tab.unfocusedHoverBackground #0f111a
tab.unfocusedInactiveForeground #d7dce277
terminal.ansiBlack #2f3b54
terminal.ansiBlue #5ccfe6
terminal.ansiBrightBlack #444a5e
terminal.ansiBrightBlue #5ccfe6
terminal.ansiBrightCyan #5ccfe6
terminal.ansiBrightGreen #bae67e
terminal.ansiBrightMagenta #c3a6ff
terminal.ansiBrightRed #ef6b73
terminal.ansiBrightWhite #ffffff
terminal.ansiBrightYellow #ffcc66
terminal.ansiCyan #5ccfe6
terminal.ansiGreen #bae67e
terminal.ansiMagenta #c3a6ff
terminal.ansiRed #ff0000
terminal.ansiWhite #a2aabc
terminal.ansiYellow #ffcc66
terminal.background #090b10
terminal.border #090b10
terminal.foreground #15fd00
terminal.selectionBackground #8695b733
terminalCursor.background #ffffff
terminalCursor.foreground #881798
textBlockQuote.background #2f3b54
textBlockQuote.border #2f3b54
textCodeBlock.background #171c28
textLink.activeForeground #96603e
textLink.foreground #f7630c
textPreformat.foreground #ffffff
textSeparator.foreground #ffffff
titleBar.activeBackground #090b10
titleBar.activeForeground #ffffff
titleBar.border #00000000
titleBar.inactiveBackground #090b10
titleBar.inactiveForeground #ffffff
tree.indentGuidesStroke #585858
walkThrough.embeddedEditorBackground #171c28
welcomePage.buttonBackground #ad81b4
welcomePage.buttonHoverBackground #2f3b5499
widget.shadow #00030F 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 #b5c01c —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #f07178 —
entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method #2499f9 —
meta.block variable.other #f07178 —
support.other.variable, string.other.link #f07178 —
constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other #b700f9 —
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 #00d1aa —
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 #ff8300 —
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 #B2CCD6 —
entity.name.module.js, variable.import.parameter.js, variable.other.class.js #ff5353 —
variable.language #FF5370 italic
entity.name.method.js #82AAFF italic
meta.class-method.js entity.name.function.js, variable.function.constructor #82AAFF —
entity.other.attribute-name #C792EA —
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 #82AAFF —
constant.character.escape #89DDFF —
*url*, *link*, *uri* — underline
tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js #82AAFF 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 #C792EA —
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 #82AAFF —
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 #C792EA —
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 #C792EA —
text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown #65737E —
markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown #C3E88D —
markup.italic #f07178 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 #82AAFF —
string.other.link.description.title.markdown #C792EA —
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*
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 } ! ` ;
}