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 #F2FBFF activityBar.border #F2FBFF60 activityBar.foreground #FFCFD2 activityBarBadge.background #30BCED activityBarBadge.foreground #F2FBFF badge.background #F2FBFF30 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle variable, string constant.other.placeholder, invalid.deprecated, keyword, storage.type, storage.modifier #F48498 — variable, string constant.other.placeholder, entity.name.function, punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss — italic punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss #9C89B8 — constant.other.php #F48498 —
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
agenomicsphd-light — agenomicsphd-light
badge.foreground
#CFBAF0
breadcrumb.activeSelectionForeground #CFBAF0
breadcrumb.background #F2FBFF
breadcrumb.focusForeground #FFCFD2
breadcrumb.foreground #000000
breadcrumbPicker.background #F2FBFF
button.background #CFBAF050
contrastBorder #CFBAF040
debugToolBar.background #F2FBFF
diffEditor.insertedTextBackground #9C89B815
diffEditor.removedTextBackground #FFC4D620
dropdown.background #F2FBFF
dropdown.border #FBF8CC10
editor.background #F2FBFF
editor.findMatchBackground #F2FBFF
editor.findMatchBorder #CFBAF0
editor.findMatchHighlightBackground #CFBAF093
editor.findMatchHighlightBorder #FBF8CC30
editor.foreground #FFCFD2
editor.lineHighlightBackground #F2FBFF50
editor.selectionBackground #30BCED30
editor.selectionHighlightBackground #CFBAF06b
editor.selectionHighlightBorder #30BCEDf0
editorBracketMatch.background #F2FBFF
editorBracketMatch.border #F484987f
editorCursor.foreground #F48498
editorError.foreground #FFC4D670
editorGroup.border #F2FBFF30
editorGroupHeader.tabsBackground #F2FBFF
editorGutter.addedBackground #9C89B860
editorGutter.deletedBackground #FFC4D660
editorGutter.modifiedBackground #30BCED60
editorHoverWidget.background #F2FBFF
editorHoverWidget.border #FBF8CC10
editorIndentGuide.activeBackground #F2FBFF
editorIndentGuide.background #F2FBFF70
editorInfo.foreground #30BCED70
editorLineNumber.activeForeground #30BCED
editorLineNumber.foreground #CFBAF0c0
editorLink.activeForeground #FFCFD2
editorMarkerNavigation.background #FFCFD205
editorOverviewRuler.border #F2FBFF
editorOverviewRuler.errorForeground #FFC4D640
editorOverviewRuler.findMatchForeground #CFBAF0
editorOverviewRuler.infoForeground #30BCED40
editorOverviewRuler.warningForeground #F4849870
editorRuler.foreground #F2FBFF
editorSuggestWidget.background #F2FBFF
editorSuggestWidget.border #FBF8CC10
editorSuggestWidget.foreground #FFCFD2
editorSuggestWidget.highlightForeground #F48498
editorSuggestWidget.selectedBackground #CFBAF020
editorWarning.foreground #9C89B8
editorWhitespace.foreground #FFCFD240
editorWidget.background #F2FBFF
editorWidget.border #F48498
editorWidget.resizeBorder #CFBAF0
extensionButton.prominentBackground #9C89B890
extensionButton.prominentHoverBackground #FFC4D6
focusBorder #FBF8CC00
gitDecoration.conflictingResourceForeground #F48498
gitDecoration.deletedResourceForeground #FFC4D6
gitDecoration.ignoredResourceForeground #CFBAF0
gitDecoration.modifiedResourceForeground #000000
gitDecoration.untrackedResourceForeground #30BCED
input.background #F2FBFF
input.border #FBF8CC10
input.foreground #FFCFD2
input.placeholderForeground #FFCFD260
inputOption.activeBackground #FFCFD230
inputOption.activeBorder #FFCFD230
inputValidation.errorBorder #FFC4D650
inputValidation.infoBorder #30BCED50
inputValidation.warningBorder #F4849850
list.activeSelectionBackground #F2FBFF
list.activeSelectionForeground #CFBAF0
list.focusBackground #F2FBFF
list.focusForeground #30BCED
list.highlightForeground #CFBAF0
list.hoverBackground #F2FBFF
list.hoverForeground #FBF8CC
list.inactiveSelectionBackground #F2FBFF30
list.inactiveSelectionForeground #CFBAF0
list.warningForeground #F48498
listFilterWidget.background #F2FBFF30
listFilterWidget.noMatchesOutline #F2FBFF30
listFilterWidget.outline #F2FBFF30
menu.background #F2FBFFf8
menu.border #CFBAF050
menu.foreground #FFCFD2
menu.selectionBackground #F2FBFF
menu.selectionBorder #F2FBFF30
menu.selectionForeground #FFCFD2
menu.separatorBackground #FFCFD2
menubar.selectionBackground #F2FBFF
menubar.selectionBorder #CFBAF050
menubar.selectionForeground #FFCFD2
minimap.background #F2FBFF
minimapGutter.addedBackground #FFC4D6
minimapGutter.deletedBackground #F48498
minimapGutter.modifiedBackground #9C89B8
minimapSlider.activeBackground #9C89B8b0
minimapSlider.background #9C89B880
minimapSlider.hoverBackground #9C89B8a0
notificationLink.foreground #CFBAF0
notifications.background #F2FBFF
notifications.foreground #FFCFD2
panel.background #F2FBFF
panel.border #F2FBFF60
panelTitle.activeBorder #CFBAF0
panelTitle.activeForeground #FBF8CC
panelTitle.inactiveForeground #FFCFD2
peekView.border #F2FBFF30
peekViewEditor.background #FFCFD205
peekViewEditor.matchHighlightBackground #CFBAF050
peekViewEditorGutter.background #FFCFD205
peekViewResult.background #FFCFD205
peekViewResult.matchHighlightBackground #CFBAF050
peekViewResult.selectionBackground #CFBAF070
peekViewTitle.background #FFCFD205
peekViewTitleDescription.foreground #FFCFD260
pickerGroup.foreground #CFBAF0
progressBar.background #CFBAF0
scrollbar.shadow #F2FBFF00
scrollbarSlider.activeBackground #CFBAF0cc
scrollbarSlider.background #CFBAF0bb
scrollbarSlider.hoverBackground #CFBAF0ee
selection.background #CFBAF0
settings.checkboxBackground #F2FBFF
settings.checkboxForeground #FFCFD2
settings.dropdownBackground #F2FBFF
settings.dropdownForeground #FFCFD2
settings.headerForeground #CFBAF0
settings.modifiedItemIndicator #CFBAF0
settings.numberInputBackground #F2FBFF
settings.numberInputForeground #FFCFD2
settings.textInputBackground #F2FBFF
settings.textInputForeground #FFCFD2
sideBar.background #F2FBFF
sideBar.border #CFBAF050
sideBar.foreground #30BCED
sideBarSectionHeader.background #F2FBFF
sideBarSectionHeader.border #F2FBFF60
sideBarSectionHeader.foreground #30BCED
sideBarTitle.foreground #FFCFD2
statusBar.background #FFACC5
statusBar.border #F2FBFF60
statusBar.debuggingBackground #F48498
statusBar.debuggingForeground #FBF8CC
statusBar.foreground #000000
statusBar.noFolderBackground #F2FBFF
statusBarItem.hoverBackground #CFBAF020
statusBarItem.remoteBackground #CFBAF0
statusBarItem.remoteForeground #F2FBFF
tab.activeBackground #CFBAF050
tab.activeBorder #CFBAF0
tab.activeForeground #FBF8CC
tab.activeModifiedBorder #CFBAF0
tab.border #F2FBFF
tab.inactiveBackground #CFBAF020
tab.inactiveForeground #FFCFD2af
tab.unfocusedActiveBackground #CFBAF040
tab.unfocusedActiveBorder #CFBAF0
tab.unfocusedActiveForeground #FFCFD2
tab.unfocusedInactiveBackground #CFBAF010
tab.unfocusedInactiveForeground #FFCFD27f
terminal.ansiBlack #F2FBFF
terminal.ansiBlue #30BCED
terminal.ansiBrightBlack #CFBAF0
terminal.ansiBrightBlue #30BCED
terminal.ansiBrightCyan #8EECF5
terminal.ansiBrightGreen #9C89B8
terminal.ansiBrightMagenta #F48498
terminal.ansiBrightRed #FFC4D6
terminal.ansiBrightWhite #FBF8CC
terminal.ansiBrightYellow #F48498
terminal.ansiCyan #8EECF5
terminal.ansiGreen #9C89B8
terminal.ansiMagenta #F48498
terminal.ansiRed #FFC4D6
terminal.ansiWhite #FBF8CC
terminal.ansiYellow #F48498
terminalCursor.background #F2FBFF
terminalCursor.foreground #F48498
textLink.activeForeground #FFCFD2
textLink.foreground #CFBAF0
titleBar.activeBackground #F2FBFF
titleBar.activeForeground #FFCFD2
titleBar.border #F2FBFF60
titleBar.inactiveBackground #F2FBFF
titleBar.inactiveForeground #CFBAF0
tree.indentGuidesStroke #F2FBFF
widget.shadow #F2FBFF30 invalid, invalid.illegal #FFC4D6 —
keyword.control, constant.other.color, punctuation.definition.tag, punctuation, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, entity.name.tag.reference.scss #A7A8AF —
punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.name.type.module.js #000000 —
keyword.control.at-rule, punctuation.terminator.rule.css, keyword.control.operator, punctuation.definition.entity.css, keyword.operator.assignment.js, punctuation.separator.comma.js, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, punctuation.definition.binding-pattern.object.js #FFCFD2 —
punctuation.definition, string.quoted.single.scss #A7A8AF —
comment.line.scss, comment.line.double-slash.js, punctuation.definition.comment.scss, punctuation.definition.comment.js, punctuation.definition.comment.html, comment.block.html #6D6F7C —
text.html.derivative #A7A8AF —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #FFCFD2 —
entity.name.tag.html — bold
variable.parameter.js, variable.parameter.keyframe-list.css #F48498 —
variable.other.object.js, storage.type.js, string.other.link.title.markdown, variable.other.readwrite.js, variable.other.property.js #000000
string, string.quoted.double.html, variable.other.constant.js, variable.other.object.property.js, string.quoted.double.json, markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, variable.function, keyword.other.special-method, entity.name.function, markup.bold, markup.bold.markdown, markup.italic.markdown, meta.class-method.js entity.name.function.js, variable.function.constructor, entity.name.tag.other.html, entity.name.tag.block.any.html, source.sass keyword.control #30BCED —
punctuation.definition.string.begin.html, punctuation.definition.string.end.html #8EECF5 —
support.other.variable, string.other.link, markup.table #FFCFD2 —
constant.numeric, constant.language, constant.character, constant.escape, keyword.other.unit, keyword.other, punctuation.separator.key-value.html #F48498 —
variable.parameter.function.language.special, variable.parameter #FFC4D6 —
constant.other.symbol, constant.other.key, entity.other.inherited-class, keyword.other.unit, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly, constant.other.object.key.js, string.unquoted.label.js #9C89B8
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, entity.other.attribute-name.html #F48498 —
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 #000000 —
entity.name.module.js, variable.import.parameter.js, variable.other.class.js #FFC4D6 —
entity.name.method.js, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js #30BCED italic
entity.other.attribute-name, support.function #F48498 —
entity.other.attribute-name.id, entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.name.tag.css, keyword.control.conditional.js, support.constant, entity.other.attribute-name.html, string.quoted.single.js, storage.type.function.js, meta.object-literal.key #FFCFD2 —
source.scss keyword.control #F48498 —
constant.character.escape #8EECF5 —
*url*, *link*, *uri* — underline
source.js constant.other.object.key.js string.unquoted.label.js #FFCFD2 italic
support.type.property-name.json #FFCFD2 —
text.html.markdown, punctuation.definition.list_item.markdown #FFCFD2 —
text.html.markdown markup.inline.raw.markdown #F48498 —
text.html.markdown markup.inline.raw.markdown, punctuation.definition.raw.markdown #CFBAF050 —
text.html.markdown meta.dummy.line-break — —
markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, entity.name.section.markdown #000000 bold
markup.underline #30BCED underline
markup.quote punctuation.definition.blockquote.markdown #CFBAF050 —
string.other.link.description.title.markdown #F48498 —
constant.other.reference.link.markdown #F48498 —
punctuation.definition.raw.markdown, punctuation.definition.markdown #8EECF5 —
variable.language.fenced.markdown #CFBAF0 —
meta.separator #A7A8AF bold
token.error-token #FF293B —
token.debug-token #8EECF5 —
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
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
fetchUser
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 } ! ` ;
}
agenomicsphd-light | Coding Theme