Skip to main content
vegetation | 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 #1f1f1f activityBar.border #1c1d1c activityBar.foreground #916255 activityBarBadge.background #667c55 editor.background #1f1f1f editor.findMatchBackground #ebc17a33 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle #eeffffff — #1f1f1f — meta.block variable.other, support.other.variable, string.other.link, entity.name.module.js, variable.import.parameter.js #bb90d8 — constant.numeric, support.constant, constant.character, constant.escape, keyword.other.unit, keyword.other, 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, entity.name.tag.reference.scss, support.constant.property-value.css, constant.numeric.css, source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, string.other.link.title.markdown, string.other.link.description.markdown
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
editor.findMatchHighlightBackground
#afdf6333
editor.foreground #916255
editor.selectionBackground #83a06c33
editor.wordHighlightBackground #83a06c33
editorGroupHeader.tabsBackground #1f1f1f
editorLineNumber.foreground #41463d
gitDecoration.conflictingResourceForeground #f07178
gitDecoration.deletedResourceForeground #bb90d8
gitDecoration.ignoredResourceForeground #4e5350
gitDecoration.modifiedResourceForeground #ebc17a
gitDecoration.untrackedResourceForeground #769baa
sideBar.background #1f1f1f
sideBar.foreground #C0C0C0FF
sideBarSectionHeader.background #1f1f1f
sideBarSectionHeader.foreground #667c55
sideBarTitle.foreground #916255
statusBar.background #332425
statusBar.debuggingBackground #332425
statusBar.debuggingForeground #C0C0C0FF
statusBar.foreground #C0C0C0FF
statusBar.noFolderBackground #4c5c3f
tab.activeBackground #1f1f1f
tab.activeBorder #667c55
tab.border #1f1f1f
tab.hoverBackground #473e38
tab.inactiveBackground #1f1f1f
terminal.ansiBlack #1f1f1f
terminal.ansiBlue #ebc17a
terminal.ansiBrightBlack #916255
terminal.ansiBrightBlue #ebc17a
terminal.ansiBrightCyan #83a06c
terminal.ansiBrightGreen #9ac2be
terminal.ansiBrightMagenta #bb90d8
terminal.ansiBrightRed #b06698
terminal.ansiBrightWhite #afcaaf
terminal.ansiBrightYellow #c78547
terminal.ansiCyan #83a06c
terminal.ansiGreen #9ac2be
terminal.ansiMagenta #bb90d8
terminal.ansiRed #b06698
terminal.ansiWhite #afcaaf
terminal.ansiYellow #c78547
terminal.foreground #916255
titleBar.activeBackground #1f1f1f keyword, storage.type, storage.modifier, keyword.control.flow.python, keyword.control.flow.js, keyword.control.loop.js, source.json meta.structure.dictionary.json support.type.property-name.json, support.type.property-name.json, source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, entity.name.tag.block.any.html, entity.name.tag.structure.any.html, entity.name.tag.open.jsx, entity.name.tag.close.jsx, meta.property-name.css, entity.name.tag.inline.any.html, entity.name.tag.html, entity.name.section.markdown #83a06c —
meta.class-method.js entity.name.function.js, variable.function.constructor, entity.name.tag.css, entity.other.attribute-name.pseudo-class.css, variable.language.this.js, variable.language.self.js, meta.function.parameters.js, variable.parameter, markup.fenced_code.block.markdown, variable.other.readwrite.global.special.perl #769baa —
entity.other.attribute-name.class.css, entity.other.attribute-name, variable.other.class.js, entity.name.class, support.class.component, entity.name.type.class.python, meta.class.python, entity.name.type.js, string.other.link.description.title.markdown, variable.other.readwrite.global.perl #b06698 —
support.type, source.sass keyword.control, string.regexp, constant.character.escape, support.class.builtin.js, support.class.builtin, markup.italic.markdown, markup.bold.markdown, fenced_code.block.language #9ac2be —
variable, string constant.other.placeholder, meta.function-call.arguments.python, variable.other.readwrite, variable.other.object, expression.embedded.vue, string.unquoted, JSXNested #e1f3e7 —
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, constant.language.boolean, constant.language.undefined, constant.language.null #c78547 —
entity.other.attribute-name.class, punctuation.definition.tag.jsx, storage.type.function, entity.name.tag.script.html, entity.name.tag.template.html, entity.name.tag.style.html, markup.underline.link.markdown, markup.underline.link.image.markdown #667c55 —
entity.name.function.js, constant.other.color, constant.other.color.rgb-value.hex.css, keyword.control, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, support.type.property-name.css, punctuation.definition.variable.perl #adc586 —
string.quoted.double, string.quoted.single, string.quoted.double.json, string.quoted.module.js #afcaaf —
comment, punctuation.definition.comment, punctuation.definition.heading.markdown, punctuation.definition.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, meta.separator.markdown #4e5350 italic
variable.language.special.self.python #83a06c bold
entity.name.method.js #769baa bold
variable.language, source.js constant.other.object.key.js string.unquoted.label.js #f07178 italic
entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.jsx, variable.other.property.js #ebc17a italic
entity.name.method.js, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js, keyword.other.unit.em.css, keyword.other.unit.px.css, keyword.other.unit.s.css, keyword.other.unit.rem.css, keyword.other.unit.percentage.css, variable.language.prototype.js #769baa italic
variable.other.object.property #b06698 italic
support.function.builtin #9ac2be italic
entity.name.function.python, entity.name.function.method.js #8eac74 italic
variable.scss #9ab49a italic
invalid, invalid.illegal #f7442d italic
*url*, *link*, *uri* — underline
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
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
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 }!` ;
}