Turtle Theme Collection
Publisher: Ryly DouThemes in package: 4
A collection of themes by a turtle, for turtles
A collection of themes by a turtle, for turtles
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
| key | HEX | RGB | RGBA |
|---|---|---|---|
activityBar.activeBorder | |||
activityBar.background | |||
activityBar.border | |||
activityBar.foreground | |||
activityBar.inactiveForeground | |||
activityBarBadge.background | |||
activityBarBadge.foreground | |||
activityBarTop.foreground | |||
activityBarTop.inactiveForeground | |||
badge.background | |||
badge.foreground | |||
breadcrumb.activeSelectionForeground | |||
breadcrumb.focusForeground | |||
breadcrumb.foreground | |||
breadcrumbPicker.background | |||
button.background | |||
button.foreground | |||
button.hoverBackground | |||
button.secondaryBackground | |||
button.secondaryForeground | |||
button.secondaryHoverBackground | |||
button.separator | |||
commandCenter.activeBackground | |||
commandCenter.activeBorder | |||
commandCenter.activeForeground | |||
commandCenter.background | |||
commandCenter.border | |||
commandCenter.debuggingBackground | |||
commandCenter.foreground | |||
commandCenter.inactiveBorder | |||
commandCenter.inactiveForeground | |||
commentsView.resolvedIcon | |||
commentsView.unresolvedIcon | |||
debugIcon.breakpointDisabledForeground | |||
debugIcon.breakpointForeground | |||
debugIcon.continueForeground | |||
debugIcon.disconnectForeground | |||
debugIcon.pauseForeground | |||
debugIcon.restartForeground | |||
debugIcon.startForeground | |||
debugIcon.stepBackForeground | |||
debugIcon.stepIntoForeground | |||
debugIcon.stepOutForeground | |||
debugIcon.stepOverForeground | |||
debugIcon.stopForeground | |||
debugToolBar.background | |||
debugToolBar.border | |||
descriptionForeground | |||
diffEditor.diagonalFill | |||
diffEditor.insertedLineBackground | |||
diffEditor.insertedTextBackground | |||
diffEditor.move.border | |||
diffEditor.moveActive.border | |||
diffEditor.removedLineBackground | |||
diffEditor.removedTextBackground | |||
diffEditor.unchangedCodeBackground | |||
diffEditor.unchangedRegionBackground | |||
diffEditor.unchangedRegionForeground | |||
diffEditor.unchangedRegionShadow | |||
diffEditorGutter.insertedLineBackground | |||
diffEditorGutter.removedLineBackground | |||
disabledForeground | |||
dropdown.background | |||
dropdown.border | |||
dropdown.foreground | |||
dropdown.listBackground | |||
editor.background | |||
editor.findMatchBackground | |||
editor.findMatchBorder | |||
editor.findMatchHighlightBackground | |||
editor.findRangeHighlightBackground | |||
editor.foldBackground | |||
editor.foreground | |||
editor.lineHighlightBackground | |||
editor.rangeHighlightBackground | |||
editor.selectionBackground | |||
editorActionList.background | |||
editorActionList.focusBackground | |||
editorActionList.focusForeground | |||
editorActionList.foreground | |||
editorBracketHighlight.foreground1 | |||
editorBracketHighlight.foreground2 | |||
editorBracketHighlight.foreground3 | |||
editorBracketHighlight.foreground4 | |||
editorBracketHighlight.foreground5 | |||
editorBracketHighlight.foreground6 | |||
editorBracketMatch.background | |||
editorBracketMatch.border | |||
editorCursor.background | |||
editorCursor.foreground | |||
editorGroup.border | |||
editorGroup.dropBackground | |||
editorGroup.emptyBackground | |||
editorGroup.focusedEmptyBorder | |||
editorGroupHeader.tabsBackground | |||
editorGroupHeader.tabsBorder | |||
editorGutter.commentGlyphForeground | |||
editorGutter.commentRangeForeground | |||
editorGutter.commentUnresolvedGlyphForeground | |||
editorHoverWidget.background | |||
editorHoverWidget.border | |||
editorHoverWidget.foreground | |||
editorHoverWidget.highlightForeground | |||
editorHoverWidget.statusBarBackground | |||
editorLightBulb.foreground | |||
editorLineNumber.activeForeground | |||
editorLineNumber.foreground | |||
editorLink.activeForeground | |||
editorMultiCursor.secondary.background | |||
editorMultiCursor.secondary.foreground | |||
editorStickyScrollHover.background | |||
editorSuggestWidget.background | |||
editorSuggestWidget.border | |||
editorSuggestWidget.focusHighlightForeground | |||
editorSuggestWidget.foreground | |||
editorSuggestWidget.highlightForeground | |||
editorSuggestWidget.selectedBackground | |||
editorSuggestWidget.selectedForeground | |||
editorSuggestWidget.selectedIconForeground | |||
editorSuggestWidgetStatus.foreground | |||
editorWarning.foreground | |||
editorWhitespace.foreground | |||
editorWidget.background | |||
errorForeground | |||
focusBorder | |||
foreground | |||
gitDecoration.addedResourceForeground | |||
gitDecoration.conflictingResourceForeground | |||
gitDecoration.deletedResourceForeground | |||
gitDecoration.ignoredResourceForeground | |||
gitDecoration.modifiedResourceForeground | |||
gitDecoration.renamedResourceForeground | |||
gitDecoration.stageDeletedResourceForeground | |||
gitDecoration.stageModifiedResourceForeground | |||
gitDecoration.submoduleResourceForeground | |||
gitDecoration.untrackedResourceForeground | |||
icon.foreground | |||
input.background | |||
input.border | |||
input.foreground | |||
input.placeholderForeground | |||
inputOption.activeBackground | |||
inputOption.activeBorder | |||
inputOption.activeForeground | |||
inputOption.hoverBackground | |||
keybindingLabel.background | |||
keybindingLabel.border | |||
keybindingLabel.bottomBorder | |||
keybindingLabel.foreground | |||
list.activeSelectionBackground | |||
list.activeSelectionForeground | |||
list.activeSelectionIconForeground | |||
list.dropBackground | |||
list.highlightForeground | |||
list.hoverBackground | |||
list.inactiveSelectionBackground | |||
list.inactiveSelectionForeground | |||
list.inactiveSelectionIconForeground | |||
menu.background | |||
menu.border | |||
menu.foreground | |||
menu.selectionBackground | |||
menu.selectionForeground | |||
menu.separatorBackground | |||
menubar.selectionBackground | |||
menubar.selectionForeground | |||
merge.commonContentBackground | |||
merge.commonHeaderBackground | |||
merge.currentContentBackground | |||
merge.currentHeaderBackground | |||
merge.incomingContentBackground | |||
merge.incomingHeaderBackground | |||
mergeEditor.change.background | |||
mergeEditor.change.word.background | |||
mergeEditor.conflict.handledFocused.border | |||
mergeEditor.conflict.handledUnfocused.border | |||
mergeEditor.conflict.unhandledFocused.border | |||
mergeEditor.conflict.unhandledUnfocused.border | |||
multiDiffEditor.background | |||
multiDiffEditor.border | |||
multiDiffEditor.headerBackground | |||
notificationCenter.border | |||
notificationCenterHeader.background | |||
notificationCenterHeader.foreground | |||
notifications.background | |||
notifications.border | |||
notifications.foreground | |||
panel.background | |||
panel.border | |||
panelSection.dropBackground | |||
panelSectionHeader.background | |||
panelTitle.activeForeground | |||
panelTitle.inactiveForeground | |||
peekView.border | |||
peekViewEditor.background | |||
peekViewEditor.matchHighlightBackground | |||
peekViewEditor.matchHighlightBorder | |||
peekViewEditorStickyScroll.background | |||
peekViewResult.background | |||
peekViewResult.fileForeground | |||
peekViewResult.lineForeground | |||
peekViewResult.matchHighlightBackground | |||
peekViewTitle.background | |||
peekViewTitleDescription.foreground | |||
peekViewTitleLabel.foreground | |||
pickerGroup.border | |||
pickerGroup.foreground | |||
progressBar.background | |||
quickInput.background | |||
quickInput.foreground | |||
quickInputList.focusBackground | |||
quickInputList.focusForeground | |||
quickInputList.focusIconForeground | |||
quickInputTitle.background | |||
scmGraph.foreground1 | |||
scmGraph.foreground2 | |||
scmGraph.foreground3 | |||
scmGraph.foreground4 | |||
scmGraph.foreground5 | |||
scmGraph.historyItemBaseRefColor | |||
scmGraph.historyItemHoverDefaultLabelBackground | |||
scmGraph.historyItemHoverDefaultLabelForeground | |||
scmGraph.historyItemHoverLabelForeground | |||
scmGraph.historyItemRefColor | |||
scmGraph.historyItemRemoteRefColor | |||
scrollbar.shadow | |||
scrollbarSlider.activeBackground | |||
scrollbarSlider.background | |||
scrollbarSlider.hoverBackground | |||
selectionHighlightBackground | #F47E1B4040 | — | — |
settings.headerForeground | |||
settings.modifiedItemIndicator | |||
sideBar.background | |||
sideBar.border | |||
sideBar.dropBackground | |||
sideBar.foreground | |||
sideBarSectionHeader.background | |||
sideBarSectionHeader.border | |||
statusBar.background | |||
statusBar.border | |||
statusBar.debuggingBackground | |||
statusBar.debuggingForeground | |||
statusBar.foreground | |||
statusBar.noFolderBackground | |||
statusBar.noFolderForeground | |||
statusBarItem.activeBackground | |||
statusBarItem.hoverForeground | |||
statusBarItem.remoteBackground | |||
tab.activeBackground | |||
tab.activeBorder | |||
tab.activeBorderTop | |||
tab.activeForeground | |||
tab.activeModifiedBorder | |||
tab.border | |||
tab.hoverBackground | |||
tab.hoverForeground | |||
tab.inactiveBackground | |||
tab.inactiveForeground | |||
tab.inactiveModifiedBorder | |||
tab.lastPinnedBorder | |||
tab.unfocusedActiveBackground | |||
tab.unfocusedActiveBorder | |||
tab.unfocusedActiveForeground | |||
tab.unfocusedHoverBackground | |||
tab.unfocusedHoverForeground | |||
tab.unfocusedInactiveForeground | |||
terminal.foreground | |||
terminalStickyScrollHover.background | |||
textBlockQuote.background | |||
textBlockQuote.border | |||
textLink.activeForeground | |||
textLink.foreground | |||
titleBar.activeBackground | |||
titleBar.activeForeground | |||
titleBar.border | |||
titleBar.inactiveBackground | |||
titleBar.inactiveForeground | |||
toolbar.activeBackground | |||
toolbar.hoverBackground | |||
widget.border | |||
widget.shadow |
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.
| scope | HEX | RGB | RGBA |
|---|---|---|---|
comment | |||
comment.block | |||
comment.block.documentation | |||
comment.line | |||
constant | |||
constant.character | |||
constant.character.escape | |||
constant.numeric | |||
constant.numeric.integer | |||
constant.numeric.float | |||
constant.numeric.hex | |||
constant.numeric.octal | |||
constant.other | |||
constant.other.placeholder | |||
entity | |||
entity.name | |||
entity.name.class | |||
entity.name.function | |||
entity.name.method | |||
entity.name.namespace | |||
entity.name.section | |||
entity.name.selector | |||
entity.name.tag | |||
entity.name.type | |||
entity.name.type.enum | |||
entity.name.type.interface | |||
entity.name.type.struct | |||
entity.other | |||
entity.other.attribute-name | |||
entity.other.inherited-class | |||
keyword | |||
keyword.control | |||
keyword.control.flow | |||
keyword.operator | |||
keyword.operator.new | |||
keyword.operator.assignment | |||
keyword.operator.arithmetic | |||
keyword.operator.logical | |||
keyword.other | |||
markup | |||
markup.inline.raw | |||
markup.underline | |||
markup.underline.link | |||
meta | |||
meta.function | |||
meta.function-call | |||
meta.selector | |||
meta.tag | |||
punctuation.definition.bracket | |||
punctuation.definition.comment | |||
punctuation.definition.string.begin | |||
punctuation.definition.string.end | |||
punctuation.separator | |||
punctuation.separator.continuation | |||
punctuation.terminator | |||
storage | |||
storage.modifier | |||
storage.type | |||
string | |||
string.interpolated | |||
string.other | |||
string.quoted | |||
string.quoted.double | |||
string.quoted.other | |||
string.quoted.single | |||
string.quoted.triple | |||
string.regexp | |||
string.template | |||
string.unquoted | |||
support | |||
support.class | |||
support.constant | |||
support.function | |||
support.other | |||
support.type | |||
support.type.primitive | |||
support.type.property-name | |||
support.variable | |||
variable | |||
variable.function | |||
variable.language | |||
variable.name | |||
variable.other | |||
variable.other.constant | |||
variable.other.property | |||
variable.other.readwrite | |||
variable.parameter |
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}!`;
}