Sentra Theme is a minimalist, high-contrast VS Code theme designed for professional clarity. It offers a sophisticated balance between a warm linen light mode and a deep navy dark mode, ensuring a comfortable coding environment regardless of your lighting.
Full workbench mockup using this variant's colors and tokenColors.
Loading...
colors
Workbench UI color keys from the theme JSON colors map.
key
HEX
RGB
RGBA
activityBar.activeBackground
activityBar.activeBorder
activityBar.background
activityBar.foreground
activityBar.inactiveForeground
activityBarBadge.background
activityBarBadge.foreground
badge.background
badge.foreground
breadcrumb.activeSelectionForeground
breadcrumb.background
breadcrumb.focusForeground
breadcrumb.foreground
button.background
button.foreground
button.hoverBackground
button.secondaryBackground
button.secondaryForeground
button.secondaryHoverBackground
charts.blue
charts.foreground
charts.green
charts.lines
charts.orange
charts.purple
charts.red
charts.yellow
chat.avatarBackground
chat.avatarForeground
chat.requestBackground
chat.requestBorder
chat.requestBubbleBackground
chat.requestBubbleHoverBackground
chat.requestCodeBorder
chat.slashCommandBackground
chat.slashCommandForeground
debugIcon.breakpointForeground
debugIcon.startForeground
debugIcon.stopForeground
debugToolBar.background
descriptionForeground
diffEditor.diagonalFill
diffEditor.insertedTextBackground
diffEditor.removedTextBackground
disabledForeground
dropdown.background
dropdown.border
dropdown.foreground
editor.background
editor.findMatchBackground
editor.findMatchHighlightBackground
editor.findRangeHighlightBackground
editor.foreground
editor.hoverHighlightBackground
editor.inactiveSelectionBackground
editor.lineHighlightBackground
editor.rangeHighlightBackground
editor.selectionBackground
editor.selectionHighlightBackground
editor.wordHighlightBackground
editor.wordHighlightStrongBackground
editorBracketMatch.background
editorBracketMatch.border
editorCursor.foreground
editorError.foreground
editorGroup.border
editorGroupHeader.noTabsBackground
editorGroupHeader.tabsBackground
editorGroupHeader.tabsBorder
editorGutter.addedBackground
editorGutter.deletedBackground
editorGutter.modifiedBackground
editorHint.foreground
editorHoverWidget.background
editorHoverWidget.border
editorIndentGuide.activeBackground1
editorIndentGuide.background1
editorInfo.foreground
editorLineNumber.activeForeground
editorLineNumber.foreground
editorOverviewRuler.addedForeground
editorOverviewRuler.bracketMatchForeground
editorOverviewRuler.deletedForeground
editorOverviewRuler.errorForeground
editorOverviewRuler.infoForeground
editorOverviewRuler.modifiedForeground
editorOverviewRuler.warningForeground
editorOverviewRuler.wordHighlightForeground
editorRuler.foreground
editorSuggestWidget.background
editorSuggestWidget.border
editorSuggestWidget.focusHighlightForeground
editorSuggestWidget.foreground
editorSuggestWidget.highlightForeground
editorSuggestWidget.selectedBackground
editorWarning.foreground
editorWhitespace.foreground
editorWidget.background
editorWidget.border
errorForeground
focusBorder
foreground
gitDecoration.addedResourceForeground
gitDecoration.conflictingResourceForeground
gitDecoration.deletedResourceForeground
gitDecoration.ignoredResourceForeground
gitDecoration.modifiedResourceForeground
gitDecoration.submoduleResourceForeground
gitDecoration.untrackedResourceForeground
icon.foreground
inlineChat.background
inlineChat.border
inlineChatInput.background
inlineChatInput.border
inlineChatInput.focusBorder
inlineChatInput.placeholderForeground
input.background
input.border
input.foreground
input.placeholderForeground
inputOption.activeBackground
inputOption.activeBorder
inputOption.hoverBackground
inputValidation.errorBackground
inputValidation.errorBorder
inputValidation.infoBackground
inputValidation.infoBorder
inputValidation.warningBackground
inputValidation.warningBorder
keybindingLabel.background
keybindingLabel.border
keybindingLabel.bottomBorder
keybindingLabel.foreground
list.activeSelectionBackground
list.activeSelectionForeground
list.errorForeground
list.focusBackground
list.focusForeground
list.highlightForeground
list.hoverBackground
list.hoverForeground
list.inactiveSelectionBackground
list.inactiveSelectionForeground
list.warningForeground
menubar.selectionBackground
menubar.selectionBorder
menubar.selectionForeground
minimap.background
minimap.errorHighlight
minimap.findMatchHighlight
minimap.selectionHighlight
minimap.warningHighlight
notificationCenterHeader.background
notificationCenterHeader.foreground
notifications.background
notifications.border
notifications.foreground
notificationsErrorIcon.foreground
notificationsInfoIcon.foreground
notificationsWarningIcon.foreground
notificationToast.border
panel.background
panel.border
panelInput.border
panelSectionHeader.background
panelSectionHeader.border
panelSectionHeader.foreground
panelTitle.activeBorder
panelTitle.activeForeground
panelTitle.inactiveForeground
peekView.border
peekViewEditor.background
peekViewEditor.matchHighlightBackground
peekViewResult.background
peekViewResult.matchHighlightBackground
peekViewResult.selectionBackground
peekViewTitle.background
peekViewTitleDescription.foreground
peekViewTitleLabel.foreground
pickerGroup.border
pickerGroup.foreground
problemsErrorIcon.foreground
problemsInfoIcon.foreground
problemsWarningIcon.foreground
progressBar.background
quickInput.background
quickInput.foreground
quickInputList.focusBackground
sash.hoverBorder
scrollbarSlider.activeBackground
scrollbarSlider.background
scrollbarSlider.hoverBackground
settings.headerForeground
settings.modifiedItemIndicator
sideBar.background
sideBar.border
sideBar.foreground
sideBarSectionHeader.background
sideBarSectionHeader.border
sideBarSectionHeader.foreground
sideBarTitle.foreground
statusBar.background
statusBar.border
statusBar.debuggingBackground
statusBar.debuggingForeground
statusBar.foreground
statusBar.noFolderBackground
statusBar.noFolderForeground
statusBarItem.activeBackground
statusBarItem.hoverBackground
statusBarItem.prominentBackground
statusBarItem.prominentHoverBackground
symbolIcon.classForeground
symbolIcon.functionForeground
symbolIcon.interfaceForeground
symbolIcon.keywordForeground
symbolIcon.methodForeground
symbolIcon.namespaceForeground
symbolIcon.numberForeground
symbolIcon.stringForeground
symbolIcon.variableForeground
tab.activeBackground
tab.activeBorder
tab.activeBorderTop
tab.activeForeground
tab.border
tab.hoverBackground
tab.hoverForeground
tab.inactiveBackground
tab.inactiveForeground
tab.inactiveModifiedBorder
tab.lastPinnedBorder
tab.modifiedBorder
terminal.ansiBlack
terminal.ansiBlue
terminal.ansiBrightBlack
terminal.ansiBrightBlue
terminal.ansiBrightCyan
terminal.ansiBrightGreen
terminal.ansiBrightMagenta
terminal.ansiBrightRed
terminal.ansiBrightWhite
terminal.ansiBrightYellow
terminal.ansiCyan
terminal.ansiGreen
terminal.ansiMagenta
terminal.ansiRed
terminal.ansiWhite
terminal.ansiYellow
terminal.background
terminal.border
terminal.foreground
terminal.inactiveSelectionBackground
terminal.selectionBackground
terminalCursor.background
terminalCursor.foreground
testing.iconErrored
testing.iconFailed
testing.iconPassed
testing.iconQueued
testing.iconUnset
testing.runAction
textCodeBlock.background
textLink.activeForeground
textLink.foreground
textPreformat.foreground
titleBar.activeBackground
titleBar.activeForeground
titleBar.border
titleBar.inactiveBackground
titleBar.inactiveForeground
tree.indentGuidesStroke
tree.tableColumnsBorder
tree.tableOddRowsBackground
welcomePage.background
welcomePage.progress.background
welcomePage.progress.foreground
window.activeBorder
window.inactiveBorder
tokenColors
Foregrounds this theme assigns to the token scope catalog. A rule with only a font style is skipped, and a longer matching scope wins. Italic and bold rules are not listed — the preview above shows them in the code.
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}!`;}