Skip to main contentVS 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#1a1212
- activityBar.foreground#A87D7D
- activityBarBadge.background#A7E4F2
- activityBarBadge.foreground#3d5358
- badge.background#A7E4F2
- badge.foreground#3d5358
tokenColors
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|
| comment, punctuation.definition.comment | #cccccc44 | bold |
| comment.block.preprocessor | #8FA8BF | |
| comment.documentation, comment.block.documentation | #448C27 | — |
| invalid.illegal | #FF1946 | bold |
| keyword.operator |
Shiki preview
TypeScript sample highlighted with this variant's colors and tokenColors.
Dark Chocolate Ice Cream Theme — Drak Chocolate Ice Cream
breadcrumb.background
#1b1414
dropdown.background#2c2020editor.background#1b1414editor.foreground#A87D7Deditor.lineHighlightBackground#332525editor.selectionBackground#443232editor.selectionHighlightBackground#443232editorGroupHeader.tabsBackground#332525editorLineNumber.activeForeground#A87D7DeditorLineNumber.foreground#A87D7D77editorSuggestWidget.background#382929editorSuggestWidget.highlightForeground#FFA9F5editorSuggestWidget.selectedBackground#323140input.background#382929list.hoverBackground#4d3436notifications.background#382929panel.background#382929sideBar.background#241a1astatusBar.background#332525statusBar.noFolderBackground#332525tab.activeBackground#1b1414tab.inactiveBackground#332525terminal.background#1a1212textLink.foreground#00B5FFwelcomePage.background#4d343622| keyword, storage | #A87D7Db7 | — |
| storage.type, support.type | #A87D7Db7 | — |
| constant.language, support.constant, variable.language | #9F9F95 | — |
| variable, support.variable | #A87D7D | — |
| entity.name.function, support.function | #A87D7D | underline |
| entity.name.type, entity.other.inherited-class, support.class | #A87D7D | underline |
| entity.name.exception | #FF1946 | — |
| constant.numeric, constant.character, constant | #A87D7D | — |
| constant.character.escape | #99999977 | — |
| constant.other.symbol | #775f49 | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html | #B3B5AF | — |
| meta.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #91B3E0 | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #91B3E0 | italic |
| constant.character.entity, punctuation.definition.entity | #C2FF8E | — |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css | #cb9fe4 | — |
| meta.property-name, support.type.property-name | #A87D7D | italic |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #A87D7D77 | italic |
| markup.output, markup.raw | #777777 | — |
| markup.underline | — | underline |
| markup.bold, markup.italic | #448C27 | — |
| meta.diff.range, meta.diff.index, meta.separator | #434343 | — |
| meta.diff.header.from-file | #434343 | — |
| meta.diff.header.to-file | #434343 | — |
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}!`;
}
srccomponentsfetchUser.tsfetchUser 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}!`;
}
Dark Chocolate Ice Cream Theme | Coding Theme