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 #21262D activityBarBadge.background #235c2b activityBarBadge.foreground #ffffff badge.background #235c2b badge.foreground #ffffff button.background #235c2b tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment #546E7A italic variable, string constant.other.placeholder #1aa7a7 — variable, entity.name.tag.html #20c7c7 — variable, entity.name.tag.template.html #41B883 — variable, entity.name.tag.block.any.html, source.vue
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
button.foreground
#ffffff
debugToolBar.background #0c1a25
dropdown.background #0e1e2b
editor.background #0a0d13
editor.foreground #FFFFFF
editor.lineHighlightBorder #FFFFFF1a
editor.rangeHighlightBackground #FFFFFF0d
editorCursor.foreground #ffc400cc
editorGroup.dropBackground #235c2b80
editorGroup.focusedEmptyBorder #235c2b
editorGroupHeader.tabsBackground #09131b
editorHoverWidget.background #235c2b
editorLineNumber.activeForeground #235c2b
editorLineNumber.foreground #FFFFFF4d
editorMarkerNavigation.background #235c2b
editorWidget.background #0b2133
focusBorder #006b7e
foreground #FFFFFF
input.background #0e1e2b
inputOption.activeBorder #235c2b
list.activeSelectionBackground #235c2b80
list.activeSelectionForeground #FFFFFF
list.dropBackground #235c2b80
list.focusBackground #235c2b80
list.focusForeground #FFFFFF
list.highlightForeground #235c2b
list.hoverBackground #1a6633a9
list.inactiveSelectionBackground #1c9926b4
panel.background #161B22
panel.border #904bb846
panelTitle.activeBorder #FFFFFF80
panelTitle.inactiveForeground #FFFFFF80
peekView.border #235c2b
peekViewEditor.background #070f15
peekViewResult.background #0a1620
peekViewTitle.background #09131b
pickerGroup.border #FFFFFF1a
selection.background #235c2b
sideBar.background #161B22
sideBarSectionHeader.background #1f26316b
statusBar.background #070f15
statusBar.debuggingBackground #235c2b
statusBar.debuggingForeground #ffffff
statusBar.noFolderBackground #070f15
statusBarItem.activeBackground #235c2b80
statusBarItem.hoverBackground #FFFFFF1a
statusBarItem.remoteBackground #235c2b
statusBarItem.remoteForeground #ffffff
tab.activeBorder #235c2b
tab.activeModifiedBorder #235c2b
tab.border #00000033
tab.inactiveBackground #0c1a25
tab.inactiveModifiedBorder #993c1c
tab.lastPinnedBorder #235c2b
tab.unfocusedActiveModifiedBorder #cc5025
tab.unfocusedInactiveModifiedBorder #993c1c
titleBar.activeBackground #070f15 meta.object-literal.key.js, source.vue #b440d1 —
entity.name.tag.script.html, source.vue #40c7d1 —
string.quoted, source.vue #91dde2 —
entity.name.tag.style.html, source.vue #b440d1 —
constant.other.color #ffffff —
invalid, invalid.illegal #f1092f —
keyword, storage.type, storage.modifier #C792EA —
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 #1eade6 —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #b96064 —
meta.embedded.block.shellscript #10df90 —
meta.paragraph.markdown #10d1df —
entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method #82AAFF —
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 #C57136 —
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 #C3E88D —
entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types #3FB950 —
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 #e72f4e —
storage.type.function #C57136 —
storage.type.class #6E40C9 —
storage.modifier.async #378AFC —
variable.parameter #58A6FF —
variable.language.this #238636 —
variable.other.property #58A6FF —
variable.other.readwrite #89E051 —
variable.other.object.property #8b1fd3 —
entity.name.function #58A6FF —
variable.other.constant #ec770a —
variable.language #b8233c —
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 —
entity.other.attribute-name.class #3FB950 —
source.sass keyword.control #82AAFF —
support.type.property-name.css #8a58ec —
meta.property-value.css #3FB950 —
entity.other.attribute-name.class.css #67c1d8 —
entity.other.attribute-name.pseudo-class.css #67d86d —
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 #57209e —
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 #d85359 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 #b84c51 bold
markup.underline #e07251 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...
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 } ! ` ;
}
Perty | Coding Theme