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 #002f8c activityBar.activeBorder #CAA4F9 activityBar.background #07121f activityBar.foreground #e8d6ff activityBarBadge.background #CAA4F9 activityBarBadge.foreground #002f8c tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment #A77979 italic variable, string constant.other.placeholder #e68cff — constant.other.color #000000 — invalid, invalid.illegal #FF5370 — keyword, storage.type, storage.modifier
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Electro Parrot — Electro Parrot
badge.background #002f8c
breadcrumb.background #060f1a
button.background #002f8c
button.foreground #fff
button.hoverBackground #ccaaf6
commandCenter.activeBackground #003F8C
commandCenter.activeBorder #CAA4F9
commandCenter.background #003F8C
commandCenter.border #003F8C
commandCenter.foreground #90c2ff
dropdown.background #17202a
dropdown.foreground #e8d6ff
dropdown.listBackground #101f30
editor.background #07121f
editor.findMatchBackground #071e39
editor.findMatchHighlightBackground #043b7e
editor.findMatchHighlightBorder #caa4f955
editor.foreground #abc5d9
editorCursor.foreground #CAA4F9
editorGroup.emptyBackground #07121f
editorGroupHeader.tabsBackground #07121f
editorSuggestWidget.background #0d1620
editorSuggestWidget.border #caa4f949
editorWidget.background #101f30
editorWidget.border #e8d6ff7b
editorWidget.resizeBorder #CAA4F9
focusBorder #caa4f9b2
input.background #17202a
input.border #17202a
input.foreground #e8d6ff
input.placeholderForeground #e8d6ff7b
inputOption.activeBackground #043b7e
inputOption.activeBorder #043b7e
inputValidation.errorBackground #ff5370
inputValidation.errorBorder #ff5370
inputValidation.infoBackground #90c2ff
inputValidation.infoBorder #90c2ff
inputValidation.warningBackground #f78c6c
inputValidation.warningBorder #f78c6c
list.activeSelectionBackground #caa4f975
list.hoverBackground #caa4f985
list.inactiveSelectionBackground #caa4f965
scrollbar.shadow #043b7e
scrollbarSlider.activeBackground #caa4f955
scrollbarSlider.background #caa4f955
scrollbarSlider.hoverBackground #caa4f9a5
selection.background #003F8C
settings.checkboxBackground #002f8c
settings.checkboxBorder #CAA4F9
settings.dropdownBackground #17202a
settings.dropdownBorder #17202a
settings.dropdownListBorder #CAA4F9
settings.focusedRowBackground #0e1a30
settings.headerBorder #17202a
settings.headerForeground #CAA4F9
settings.numberInputBackground #17202a
settings.numberInputBorder #17202a
settings.textInputBackground #17202a
settings.textInputBorder #17202a
sideBar.background #060f1a
sideBar.border #CAA4F9
sideBarSectionHeader.background #0c1e35
sideBarSectionHeader.border #09121e
sideBarSectionHeader.foreground #3992ff
sideBarTitle.foreground #CAA4F9
statusBar.background #003F8C
tab.activeBackground #caa4f955
tab.activeBorder #CAA4F9
tab.inactiveBackground #101f30
tab.inactiveForeground #e8d6ff7b
terminal.background #07121f
terminal.foreground #CAA4F9
titleBar.activeBackground #060f1a
titleBar.activeForeground #e8d6ff
titleBar.inactiveBackground #07121f
toolbar.activeBackground #002f8c
window.activeBorder #060f1a entity.name.variable.field #00a6ff —
source.go punctuation #65737E —
source.go keyword.control, source.go constant.other.color, source.go meta.tag, source.go punctuation.definition.tag, source.go punctuation.separator.inheritance.php, source.go punctuation.definition.tag.html, source.go punctuation.definition.tag.begin.html, source.go punctuation.definition.tag.end.html, source.go punctuation.section.embedded, source.go keyword.other.template, source.go keyword.other.substitution #e68cff —
source.go entity.name.type, source.go entity.name.struct, source.go entity.name.interface, source.go entity.name.method, source.go entity.name.type.class, source.go entity.name.type.interface, source.go entity.name.type.struct, source.go entity.name.type.enum, source.go entity.name.type.union, source.go entity.name.type.typedef, source.go entity.name.type.module, source.go entity.name.type.instance, source.go entity.name.type.package, source.go entity.name.type.builtin, source.go entity.name.type #f62e38 —
source.js meta.tag #2cd4ba —
source.js keyword.control #f4c909 —
source.js constant.other.color, source.js punctuation #65737E —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #00a6ff —
entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method #f4c909 —
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 #6ae292d6 —
source.go string, source.go constant.other.symbol, source.go constant.other.key, source.go entity.other.inherited-class, source.go markup.heading, source.go markup.inserted.git_gutter, source.go meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js #6ae292d6 —
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 #a481fe —
support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types #CA82FF —
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 #FF5370 —
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 #FFCB6B —
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 }!` ;
}
Electro Parrot | Coding Theme