Skip to main content
Gurepu | Coding Theme
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 #161226 activityBar.foreground #d4d4d4 activityBarBadge.background #d1b549 activityBarBadge.foreground #161226 debugIcon.breakpointDisabledForeground #e8535396 debugIcon.breakpointForeground #e85353 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle invalid #e85353 — meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python, entity.name.label, meta.template.expression, keyword.operator, storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java #d4d4d4 — emphasis — italic strong — bold comment, punctuation.definition.quote.begin.markdown
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
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}!`;
}
Gurepu — Gurepu
3
Open Editors fetchUser.ts index.ts README.md fetchUser.ts
index.ts
README.md
src main*
0 1
Copilot
Ln 5, Col 12
Spaces: 2
UTF-8
LF
TypeScript
Dark+
editor.background #161226
editor.foreground #d4d4d4
editor.inactiveSelectionBackground #3f267fd9
editor.lineHighlightBorder #161226
editor.selectionBackground #3f267f
editor.selectionHighlightBackground #3f267fd9
editor.wordHighlightBackground #3f267fd9
editor.wordHighlightStrongBackground #3f267fd9
editorGroup.border #201b2d
editorGroupHeader.tabsBackground #201b2d
editorMarkerNavigationWarning.background #e85353
editorOverviewRuler.warningForeground #e8535396
editorSuggestWidget.highlightForeground #f2f0c6
editorWarning.foreground #e85353
editorWidget.background #201b2d
editorWidget.foreground #d4d4d4
focusBorder #f2f0c6
input.background #322d3f
list.activeSelectionBackground #322d3f
list.activeSelectionForeground #f2f0c6
list.errorForeground #f2f0c6
list.focusBackground #322d3f
list.focusForeground #f2f0c6
list.hoverBackground #322d3f
list.inactiveSelectionBackground #322d3f
list.inactiveSelectionForeground #f2f0c6
list.invalidItemForeground #f2f0c6
list.warningForeground #f2f0c6
panel.background #201b2d
panel.border #201b2d
sideBar.background #201b2d
sideBar.foreground #d4d4d4
sideBarSectionHeader.background #161226
sideBarTitle.foreground #d4d4d4
statusBar.background #161226
statusBar.foreground #d4d4d4
tab.inactiveBackground #201b2d
terminal.background #201b2d
titleBar.activeBackground #161226
titleBar.activeForeground #d4d4d4 #7f7891
constant.language, entity.name.tag, markup.changed, meta.preprocessor, entity.name.function.preprocessor, meta.diff.header, storage, storage.type, storage.modifier, keyword.operator.noexcept, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded, keyword, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike, punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, variable.language, keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.directive.using, keyword.other.operator, entity.name.operator, constant.character, constant.other.option #dfe0a6 —
constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent, markup.inserted, meta.preprocessor.numeric, string.regexp, keyword.other.unit, constant.sha.git-rebase, constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp #ccaa8e —
entity.name.tag.css, entity.name.tag.less, meta.property-name.css, meta.property-list.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.parent.less, source.css entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss, punctuation.definition.tag, support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy, meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class, punctuation.separator.namespace.ruby, keyword.operator.quantifier.regexp, constant.character.escape, constant.regexp #afacef —
entity.other.attribute-name, meta.structure.dictionary.key.python, support.type.vendored.property-name, support.type.property-name, source.css variable, source.coffee.embedded, support.function.git-rebase, variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder, variable.other.constant, variable.other.enummember, meta.object-literal.key #e0afc6 —
markup.underline — underline
markup.bold, markup.heading, header #dfe0a6 bold
markup.italic #dfe0a6 italic
markup.strikethrough — strikethrough
markup.deleted, markup.inline.raw, meta.preprocessor.string, string, meta.embedded.assembly, string.tag, string.value, support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color, punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp, punctuation.definition.list.begin.markdown #97c6e5 —
entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal, keyword.operator.or.regexp, keyword.control.anchor.regexp #96d1b0 —
fetchUser.ts Button.tsx Modal.tsx hooks utils index.ts public package.json tsconfig.json README.md Outline 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
31
32
33
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}!`;
}
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 $