Skip to main content
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.activeBackground #1c1c26 activityBar.background #0c0c10 activityBar.foreground #3ece8f activityBarBadge.background #4a6271 editor.background #1a1d22 editor.foreground #d1e4ec tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment #648a9b italic variable, string constant.other.placeholder #d1e4ec — constant.other.color #d1e4ec — invalid, invalid.illegal #55261f — keyword, storage.type, storage.modifier
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Just Right Dark Theme — Just Right Dark Theme
editorBracketHighlight.unexpectedBracket.foreground
#bf1919
editorBracketMatch.background #39404c
editorBracketMatch.border #39404c
editorCursor.foreground #c67f77
gitDecoration.addedResourceForeground #98a3a3
gitDecoration.deletedResourceForeground #c67f77
gitDecoration.modifiedResourceForeground #98a3a3
gitDecoration.untrackedResourceForeground #98a3a3
sideBar.background #17171c
sideBar.foreground #98a3a3
sideBarSectionHeader.background #25252d
sideBarSectionHeader.foreground #98a3a3
sideBarTitle.foreground #98a3a3
statusBar.background #0c0c10
statusBar.foreground #98a3a3
tab.activeBackground #494954
tab.activeForeground #98a3a3
tab.inactiveBackground #28282d
terminal.background #1a1d22
titleBar.activeBackground #0c0c10
titleBar.inactiveBackground #0c0c10 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 #56d2ad —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #d1e4ec —
entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method #d1e4ec —
meta.block variable.other #d1e4ec —
support.other.variable, string.other.link #d1e4ec —
constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other #ec8484 —
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 #75acac —
entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types #d1e4ec —
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 #bdd5df —
entity.name.module.js, variable.import.parameter.js, variable.other.class.js #d1e4ec —
variable.language #d1e4ec italic
entity.name.method.js #d1e4ec italic
meta.class-method.js entity.name.function.js, variable.function.constructor #d1e4ec —
entity.other.attribute-name #d1e4ec —
text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name #d1e4ec italic
entity.other.attribute-name.class #76c3b1 —
source.sass keyword.control #cce4ee —
constant.character.escape #d1e4ec —
*url*, *link*, *uri* — underline
tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js #d1e4ec italic
source.js constant.other.object.key.js string.unquoted.label.js #d1e4ec italic
source.json meta.structure.dictionary.json support.type.property-name.json #d1e4ec —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #d1e4ec —
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 #d1e4ec —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.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 #d1e4ec —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 #d1e4ec —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 #d1e4ec —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 #d1e4ec —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 #d1e4ec —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 #d1e4ec —
text.html.markdown, punctuation.definition.list_item.markdown #d1e4ec —
text.html.markdown markup.inline.raw.markdown #d1e4ec —
text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown #d1e4ec —
markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown #d1e4ec —
markup.italic #d1e4ec italic
markup.bold, markup.bold string #d1e4ec bold
markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string #d1e4ec bold
markup.underline #d1e4ec underline
markup.quote punctuation.definition.blockquote.markdown #d1e4ec —
string.other.link.title.markdown #d1e4ec —
string.other.link.description.title.markdown #d1e4ec —
constant.other.reference.link.markdown #d1e4ec —
markup.raw.block.fenced.markdown #00000050 —
punctuation.definition.fenced.markdown #00000050 —
markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end #d1e4ec —
variable.language.fenced.markdown #d1e4ec —
meta.separator #d1e4ec bold
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 } ! ` ;
}
Just Right Dark Theme | Coding Theme