VS Code preview Full workbench mockup using this variant's colors and tokenColors.
fetchUser.tssrc/components index.ts README.md
src
components fetchUser.ts Button.tsx Modal.tsx legacy.tsx fetch Config.tsindex.ts renamed.ts staged.ts removed.ts
vendor package.json broken.ts slow.ts tsconfig.json README.md package-lock.json 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
34
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
✓ fetchUser passed 12 blk
✗ Cannot find name 'user'. error ▲ warning 412 ready localhost
Ln 5, Col 12
Spaces: 2
UTF-8
LF
TypeScript
Luminora Andromeda Colorizer Plus
tokenColors 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
#A0A1A7CC RGB(160, 161, 167) RGBA(160, 161, 167, 0.8) comment.block
#A0A1A7CC RGB(160, 161, 167) RGBA(160, 161, 167, 0.8) comment.block.documentation
#A0A1A7CC RGB(160, 161, 167) RGBA(160, 161, 167, 0.8) comment.line
#A0A1A7CC RGB(160, 161, 167) RGBA(160, 161, 167, 0.8) constant
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) constant.character
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) constant.character.escape
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) constant.numeric
#F39C12 RGB(243, 156, 18) RGBA(243, 156, 18, 1) constant.numeric.integer
#F39C12 RGB(243, 156, 18) RGBA(243, 156, 18, 1) constant.numeric.float
#F39C12 RGB(243, 156, 18) RGBA(243, 156, 18, 1) constant.numeric.hex
#F39C12 RGB(243, 156, 18) RGBA(243, 156, 18, 1) constant.numeric.octal
#F39C12 RGB(243, 156, 18) RGBA(243, 156, 18, 1) constant.other
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) constant.other.placeholder
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) constant.regexp
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) constant.rgb-value
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) entity
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) entity.name
#F92672 RGB(249, 38, 114) RGBA(249, 38, 114, 1) entity.name.function
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) entity.name.tag
#F92672 RGB(249, 38, 114) RGBA(249, 38, 114, 1) entity.name.type
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) entity.name.type.enum
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) entity.name.type.interface
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) entity.name.type.struct
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) entity.other
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) entity.other.attribute-name
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) entity.other.inherited-class
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) keyword
#C74DED RGB(199, 77, 237) RGBA(199, 77, 237, 1) keyword.control
#C74DED RGB(199, 77, 237) RGBA(199, 77, 237, 1) keyword.control.flow
#C74DED RGB(199, 77, 237) RGBA(199, 77, 237, 1) keyword.operator
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) keyword.operator.new
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) keyword.operator.assignment
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) keyword.operator.arithmetic
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) keyword.operator.logical
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) keyword.other
#C74DED RGB(199, 77, 237) RGBA(199, 77, 237, 1) markup
#96E072 RGB(150, 224, 114) RGBA(150, 224, 114, 1) markup.bold
#F39C12 RGB(243, 156, 18) RGBA(243, 156, 18, 1) markup.changed
#7CB7FF RGB(124, 183, 255) RGBA(124, 183, 255, 1) markup.deleted
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) markup.heading
#FF00AA RGB(255, 0, 170) RGBA(255, 0, 170, 1) markup.inline.raw
#96E072 RGB(150, 224, 114) RGBA(150, 224, 114, 1) markup.inserted
#96E072 RGB(150, 224, 114) RGBA(150, 224, 114, 1) markup.italic
#C74DED RGB(199, 77, 237) RGBA(199, 77, 237, 1) markup.list
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) markup.list.numbered
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) markup.list.unnumbered
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) markup.quote
#A0A1A7CC RGB(160, 161, 167) RGBA(160, 161, 167, 0.8) meta
#C74DED RGB(199, 77, 237) RGBA(199, 77, 237, 1) meta.function-call
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) punctuation.definition.string.begin
#96E072 RGB(150, 224, 114) RGBA(150, 224, 114, 1) punctuation.definition.string.end
#96E072 RGB(150, 224, 114) RGBA(150, 224, 114, 1) storage
#C74DED RGB(199, 77, 237) RGBA(199, 77, 237, 1) storage.modifier
#C74DED RGB(199, 77, 237) RGBA(199, 77, 237, 1) storage.type
#C74DED RGB(199, 77, 237) RGBA(199, 77, 237, 1) string
#96E072 RGB(150, 224, 114) RGBA(150, 224, 114, 1) string.interpolated
#96E072 RGB(150, 224, 114) RGBA(150, 224, 114, 1) string.other
#96E072 RGB(150, 224, 114) RGBA(150, 224, 114, 1) string.quoted
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) string.quoted.double
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) string.quoted.other
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) string.quoted.single
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) string.quoted.triple
#FFE66D RGB(255, 230, 109) RGBA(255, 230, 109, 1) string.regexp
#7CB7FF RGB(124, 183, 255) RGBA(124, 183, 255, 1) string.template
#96E072 RGB(150, 224, 114) RGBA(150, 224, 114, 1) string.unquoted
#96E072 RGB(150, 224, 114) RGBA(150, 224, 114, 1) support
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) support.class
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) support.constant
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) support.function
#EE5D43 RGB(238, 93, 67) RGBA(238, 93, 67, 1) support.type
#C74DED RGB(199, 77, 237) RGBA(199, 77, 237, 1) support.type.primitive
#C74DED RGB(199, 77, 237) RGBA(199, 77, 237, 1) support.type.property-name
#00E8C6 RGB(0, 232, 198) RGBA(0, 232, 198, 1) support.variable
#00E8C6 RGB(0, 232, 198) RGBA(0, 232, 198, 1) variable
#00E8C6 RGB(0, 232, 198) RGBA(0, 232, 198, 1) variable.function
#00E8C6 RGB(0, 232, 198) RGBA(0, 232, 198, 1) variable.language
#00E8C6 RGB(0, 232, 198) RGBA(0, 232, 198, 1) variable.name
#00E8C6 RGB(0, 232, 198) RGBA(0, 232, 198, 1) variable.other
#00E8C6 RGB(0, 232, 198) RGBA(0, 232, 198, 1) variable.other.constant
#00E8C6 RGB(0, 232, 198) RGBA(0, 232, 198, 1) variable.other.property
#00E8C6 RGB(0, 232, 198) RGBA(0, 232, 198, 1) variable.other.readwrite
#00E8C6 RGB(0, 232, 198) RGBA(0, 232, 198, 1) variable.parameter
#00E8C6 RGB(0, 232, 198) RGBA(0, 232, 198, 1)