Skip to main content
(ASP Theme) | 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.activeBackground #ff0000 activityBar.background #d80000 activityBar.border #68edff activityBar.foreground #00ff4c activityBar.inactiveForeground #68edff activityBarBadge.background #011804 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle *url*, *link*, *uri* — italic underline emphasis — italic strong — bold header, markup.heading, meta.diff, meta.diff.header #5500ff — source #ff5100 —
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
activityBarBadge.foreground
#f8f8f0
breadcrumb.background #000c01
dropdown.background #380101
dropdown.border #68edff
dropdown.foreground #47ff87
dropdown.listBackground #054203
editor.background #001001
editor.foreground #bbbbbb
editor.hoverHighlightBackground #0760b923
editor.inactiveSelectionBackground #5500c52a
editor.lineHighlightBackground #610000
editor.lineHighlightBorder #282828
editor.rangeHighlightBackground #ffffff0b
editor.selectionBackground #2c0163e3
editor.selectionHighlightBackground #5000b938
editor.wordHighlightBackground #575757b8
editorBracketMatch.border #888888
editorCursor.foreground #faf747
editorGroup.border #af0a0ae5
editorGroup.dropBackground #25375daa
editorGroupHeader.tabsBackground #3b0000
editorHoverWidget.background #000c38
editorHoverWidget.border #004c18
editorLineNumber.activeForeground #80a2c2
editorLineNumber.foreground #406385
editorLink.activeForeground #0063a5
editorMarkerNavigation.background #060621
editorMarkerNavigationError.background #ab395b
editorMarkerNavigationWarning.background #5b7e7a
editorWhitespace.foreground #103050
editorWidget.background #262641
focusBorder #0e639ccc
input.background #ffffff
input.border #003f42
input.foreground #000000
input.placeholderForeground #a0a0a0
inputOption.activeBorder #3e313c
inputValidation.errorBackground #f44c5e
inputValidation.errorForeground #ffffff
inputValidation.infoBackground #6182b8
inputValidation.infoForeground #ffffff
inputValidation.warningBackground #f6b555
inputValidation.warningForeground #000000
list.activeSelectionBackground #030014
list.activeSelectionForeground #c2f350
list.focusBackground #000000b9
list.focusForeground #f8ef70
list.highlightForeground #97f8d4
list.hoverBackground #000000
list.hoverForeground #f7e010
list.inactiveSelectionBackground #0f0f02
list.inactiveSelectionForeground #a6ff00
list.invalidItemForeground #ffffff
panel.border #ff5100e5
sideBar.background #0a122e
sideBar.dropBackground #0c0e11
sideBar.foreground #bcf8d7
sideBarSectionHeader.background #380101
sideBarSectionHeader.foreground #dbf1f8
sideBarTitle.foreground #ffffff
statusBar.background #220000
statusBar.debuggingBackground #dc7c73
statusBar.foreground #37d7ff
statusBar.noFolderBackground #003f42
tab.activeBackground #272320
tab.activeBorder #ff0000
tab.activeForeground #00f7ff
tab.border #12e3ff
tab.inactiveBackground #1f0000
tab.inactiveForeground #b1ecc7c2
terminal.ansiBlack #000000
terminal.ansiBlue #6182b8
terminal.ansiBrightBlack #90a4ae
terminal.ansiBrightBlue #6182b8
terminal.ansiBrightCyan #39adb5
terminal.ansiBrightGreen #91b859
terminal.ansiBrightMagenta #7c4dff
terminal.ansiBrightRed #e53935
terminal.ansiBrightWhite #ffffff
terminal.ansiBrightYellow #ffb62c
terminal.ansiCyan #39adb5
terminal.ansiGreen #91b859
terminal.ansiMagenta #7c4dff
terminal.ansiRed #e53935
terminal.ansiWhite #ffffff
terminal.ansiYellow #ffb62c
terminal.background #000c01
terminal.border #00f7ffe5
terminal.foreground #f6f6f4
tree.indentGuidesStroke #585858 invalid, invalid.illegal, markup.error, markup.deleted #FF5555 underline italic
invalid.deprecated #F8F8F2 underline italic
entity.name.filename #F1FA8C —
markup.underline — underline
markup.italic #F1FA8C italic
beginning.punctuation.definition.list.markdown, beginning.punctuation.definition.quote.markdown, punctuation.definition.link.restructuredtext #ff3535 —
markup.inline.raw, markup.raw.restructuredtext #50FA7B —
markup.underline.link, markup.underline.link.image #8BE9FD —
meta.link.reference.def.restructuredtext, punctuation.definition.directive.restructuredtext, string.other.link.description, string.other.link.title #28ca00 —
entity.name.directive.restructuredtext, markup.quote #F1FA8C italic
meta.separator.markdown #6272A4 —
fenced_code.block.language, markup.raw.inner.restructuredtext, markup.fenced_code.block.markdown punctuation.definition.markdown #50FA7B —
punctuation.definition.constant.restructuredtext #f9939b —
markup.heading.markdown punctuation.definition.string.begin, markup.heading.markdown punctuation.definition.string.end #f993cb —
meta.paragraph.markdown punctuation.definition.string.begin, meta.paragraph.markdown punctuation.definition.string.end #F8F8F2 —
markup.quote.markdown meta.paragraph.markdown punctuation.definition.string.begin, markup.quote.markdown meta.paragraph.markdown punctuation.definition.string.end #F1FA8C —
entity.name.type.class #8BE9FD italic
keyword.expressions-and-types.swift, keyword.other.this, variable.language, variable.language punctuation.definition.variable.php, variable.other.readwrite.instance.ruby, variable.parameter.function.language.special, variable.language.special.self.python #aa76f3 italic
entity.other.inherited-class #8BE9FD italic
comment, punctuation.definition.comment, unused.comment, wildcard.comment #6766b3 italic
comment keyword.codetag.notation, comment.block.documentation keyword, comment.block.documentation storage.type.class #0bf545 —
comment.block.documentation entity.name.type #8BE9FD italic
keyword.control.directive.include.cpp, meta.preprocessor.include.cpp, source.cpp #f7d876 italic
comment.block.documentation entity.name.type punctuation.definition.bracket #8BE9FD —
comment.block.documentation variable #FFB86C italic
constant, support.constant, variable.other.constant #11fc9a —
constant.character.escape, constant.character.string.escape, constant.regexp #ffba79 —
entity.other.attribute-name.parent-selector #79ffc1 —
entity.other.attribute-name, string.other.link #e0fa50 italic
entity.name.function, meta.function-call, variable.function, support.function, meta.function-call.generic, meta.function-call.object, meta.function-call.php, meta.function-call.static, meta.method-call.java meta.method, meta.method.groovy, keyword.other.special-method, support.function.any-method.lua, keyword.operator.function.infix #50fa5e —
entity.name.variable.parameter, meta.at-rule.function variable, meta.at-rule.mixin variable, meta.function.arguments variable.other.php, meta.selectionset.graphql meta.arguments.graphql variable.arguments.graphql, variable.parameter, variable.import.parameter #ff8a53 italic
meta.decorator variable.other.readwrite, meta.decorator variable.other.property, tag.decorator #b650fa italic
meta.decorator variable.other.object #e2b768 —
keyword, punctuation.definition.keyword #65b9fd —
keyword.control.new, keyword.operator.new — bold
support.function.magic, support.function, support.variable, variable.other.predefined, meta.function-call, support.type.property-name #15c705 italic
constant.other.symbol.hashkey punctuation.definition.constant.ruby, entity.other.attribute-name.placeholder punctuation, entity.other.attribute-name.pseudo-class punctuation, entity.other.attribute-name.pseudo-element punctuation, meta.group.double.toml, meta.group.toml, meta.separator, meta.object-binding-pattern-variable punctuation.destructuring, punctuation.colon.graphql, punctuation.definition.block.scalar.folded.yaml, punctuation.definition.block.scalar.literal.yaml, punctuation.definition.block.sequence.item.yaml, punctuation.definition.entity.other.inherited-class, punctuation.function.swift, punctuation.separator.dictionary.key-value, punctuation.separator.hash, punctuation.separator.inheritance, punctuation.separator.key-value, punctuation.separator.key-value.mapping.yaml, punctuation.separator.namespace, punctuation.separator.pointer-access, punctuation.separator.slice, string.unquoted.heredoc punctuation.definition.string, support.other.chomping-indicator.yaml, punctuation.separator.annotation #ff382a —
keyword.operator.other.powershell, keyword.other.statement-separator.powershell, meta.brace.round, meta.function-call punctuation, punctuation.definition.arguments.begin, punctuation.definition.arguments.end, punctuation.definition.entity.begin, punctuation.definition.entity.end, punctuation.definition.tag.cs, punctuation.definition.type.begin, punctuation.definition.type.end, punctuation.section.scope.begin, punctuation.section.scope.end, storage.type.generic.java, string.template meta.brace, string.template punctuation.accessor #0400ff —
meta.string-contents.quoted.double punctuation.definition.variable, punctuation.definition.interpolation.begin, punctuation.definition.interpolation.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded.begin, punctuation.section.embedded.coffee, punctuation.section.embedded.end, punctuation.section.embedded.end source.php, punctuation.section.embedded.end source.ruby, punctuation.definition.variable.makefile #d31c1c —
entity.name.function.target.makefile, entity.name.section.toml, entity.name.tag.yaml, variable.other.key.toml #8BE9FD —
constant.other.date, constant.other.timestamp #ffdcb7 —
variable.other.alias.yaml #50FA7B italic underline
storage, meta.implementation storage.type.objc, meta.interface-or-protocol storage.type.objc, source.groovy storage.type.def #ff0000e0
entity.name, entity.name.type, keyword.primitive-datatypes.swift, keyword.type.cs, meta.protocol-list.objc, meta.return-type.objc, source.go storage.type, source.groovy storage.type, source.java storage.type, source.powershell entity.other.attribute-name, storage.class.std.rust, storage.type.attribute.swift, storage.type.c, storage.type.core.rust, storage.type.cs, storage.type.groovy, storage.type.objc, storage.type.php, storage.type.haskell, storage.type.ocaml #505aeb italic
entity.name.type.type-parameter, meta.indexer.mappedtype.declaration entity.name.type, meta.type.parameters entity.name.type #FFB86C —
string.regexp, constant.other.character-class.set.regexp, constant.character.escape.backslash.regexp #F1FA8C —
punctuation.definition.group.capture.regexp #26b182 —
string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end #FF5555 —
punctuation.definition.character-class.regexp #8BE9FD —
punctuation.definition.group.regexp #FFB86C —
comment.line.number-sign.python #6c88e4 —
punctuation.definition.group.assertion.regexp, keyword.operator.negation.regexp #FF5555 —
meta.assertion.look-ahead.regexp #50FA7B —
punctuation.definition.string.begin, punctuation.definition.string.end #ff009df3 —
punctuation.support.type.property-name.begin, punctuation.support.type.property-name.end #00ff0d —
string.quoted.docstring.multi, string.quoted.docstring.multi.python punctuation.definition.string.begin, string.quoted.docstring.multi.python punctuation.definition.string.end, string.quoted.docstring.multi.python constant.character.escape #a86d13 —
variable, constant.other.key.perl, support.variable.property, variable.other.constant.js, variable.other.constant.ts, variable.other.constant.tsx #5eff00 —
meta.import variable.other.readwrite, meta.object-binding-pattern-variable variable.object.property, meta.variable.assignment.destructured.object.coffee variable #FFB86C italic
meta.import variable.other.readwrite.alias, meta.export variable.other.readwrite.alias, meta.variable.assignment.destructured.object.coffee variable variable #c25286
meta.selectionset.graphql variable #F1FA8C —
meta.selectionset.graphql meta.arguments variable #e7e7bc —
entity.name.fragment.graphql, variable.fragment.graphql #08cefa —
constant.other.symbol.hashkey.ruby, keyword.operator.dereference.java, keyword.operator.navigation.groovy, meta.scope.for-loop.shell punctuation.definition.string.begin, meta.scope.for-loop.shell punctuation.definition.string.end, meta.scope.for-loop.shell string, storage.modifier.import, punctuation.section.embedded.begin.tsx, punctuation.section.embedded.end.tsx, punctuation.section.embedded.begin.jsx, punctuation.section.embedded.end.jsx, punctuation.separator.list.comma.css, constant.language.empty-list.haskell #ffff22 —
source.shell variable.other #BD93F9 —
meta.scope.prerequisites.makefile #F1FA8C —
meta.attribute-selector.scss #F1FA8C —
punctuation.definition.attribute-selector.end.bracket.square.scss, punctuation.definition.attribute-selector.begin.bracket.square.scss #F8F8F2 —
meta.preprocessor.haskell #6272A4 —
token.error-token #f44747 —
token.debug-token #b267e6 —
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 } !` ;
}