Skip to main content
Too Dark | 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 #1A1A1A activityBar.foreground #f6f6f6 activityBarBadge.background #383838 badge.background #383838 badge.foreground #C1C1C1 button.background #333 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle support.variable.magic.python #ef596f — punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python, #abb2bf — variable.parameter.function.language.special.self.python #e5c07b — storage.modifier.lifetime.rust #abb2bf —
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
editor.background
#1a1a1a
editorGroupHeader.tabsBackground #1A1A1A
editorGroupHeader.tabsBorder #1A1A1A
editorSuggestWidget.background #1A1A1A
focusBorder #363636
foreground #888888
input.background #2A2A2A
input.foreground #E0E0E0
list.activeSelectionBackground #212121
list.activeSelectionForeground #F5F5F5
list.focusBackground #292929
list.highlightForeground #EAEAEA
list.hoverBackground #262626
list.hoverForeground #9E9E9E
list.inactiveSelectionBackground #212121
list.inactiveSelectionForeground #F5F5F5
panelTitle.activeBorder #1f1f1f
panelTitle.activeForeground #FAFAFA
panelTitle.inactiveForeground #484848
peekView.border #444
peekViewEditor.background #242424
pickerGroup.border #363636
pickerGroup.foreground #EAEAEA
progressBar.background #FAFAFA
scrollbar.shadow #1f1f1f
sideBar.background #111111
sideBar.foreground #999999
sideBarSectionHeader.background #202020
statusBar.background #1A1A1A
statusBar.debuggingBackground #1A1A1A
statusBar.foreground #7E7E7E
statusBar.noFolderBackground #1A1A1A
statusBarItem.prominentBackground #fafafa1a
tab.activeBorder #f6f6f6
tab.activeForeground #FAFAFA
tab.border #1A1A1A
tab.inactiveBackground #111111
tab.inactiveForeground #999999
textLink.activeForeground #fafafa
textLink.foreground #CCC
titleBar.activeBackground #1A1A1A
titleBar.border #1A1A1A support.function.std.rust
entity.name.type.rust #2bbac5 —
entity.name.lifetime.rust #e5c07b —
variable.language.rust #ef596f —
support.constant.edge #d55fde —
constant.other.character-class.regexp #ef596f —
keyword.operator.quantifier.regexp #d19a66 —
punctuation.definition.string.begin,punctuation.definition.string.end #89ca78 —
variable.parameter.function #abb2bf —
comment, punctuation.definition.comment #7f848e italic
comment markup.link #5c6370 —
markup.changed.diff #e5c07b —
meta.diff.header.from-file,punctuation.definition.from-file.diff #61afef —
markup.inserted.diff #89ca78 —
markup.deleted.diff #ef596f —
meta.function.c,meta.function.cpp #ef596f —
punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c #abb2bf —
punctuation.separator.key-value #abb2bf —
entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super — italic
keyword.operator.expression.import #61afef —
support.constant.math #e5c07b —
support.constant.property.math #d19a66 —
variable.other.constant #e5c07b —
storage.type.annotation.java #e5c07b —
punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,storage.type.generic.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,meta.method.body.java #abb2bf —
storage.modifier.import.java,storage.type.java #e5c07b —
meta.definition.variable.name.java #ef596f —
keyword.operator.logical.js #2bbac5 —
keyword.operator.bitwise #2bbac5 —
keyword.operator.channel #2bbac5 —
support.constant.property-value.scss,support.constant.property-value.css #d19a66 —
keyword.operator.css,keyword.operator.scss,keyword.operator.less #2bbac5 —
support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss #d19a66 —
punctuation.separator.list.comma.css #abb2bf —
support.constant.color.w3c-standard-color-name.css #d19a66 —
support.type.vendored.property-name.css #2bbac5 —
punctuation.definition.template-expression.begin,punctuation.definition.template-expression.end #ef596f —
support.module.node,support.type.object.module,support.module.node #e5c07b —
entity.name.type.module #e5c07b —
variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node #ef596f —
comment.line.double-slash,comment.block.documentation — italic
support.constant.json #d19a66 —
keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional #d55fde —
support.type.object.console #ef596f —
support.variable.property.process #d19a66 —
entity.name.function,support.function.console #61afef —
support.type.object.dom #2bbac5 —
support.variable.dom,support.variable.property.dom #ef596f —
keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment #2bbac5 —
keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp #d55fde —
punctuation.separator.delimiter #abb2bf —
punctuation.separator.c,punctuation.separator.cpp #d55fde —
support.type.posix-reserved.c,support.type.posix-reserved.cpp #2bbac5 —
keyword.operator.sizeof.c,keyword.operator.sizeof.cpp #d55fde —
variable.parameter.function.language.python #d19a66 —
support.type.python #2bbac5 —
keyword.operator.logical.python #d55fde —
variable.parameter.function.python #d19a66 —
punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python #abb2bf —
meta.function-call.generic.python #61afef —
constant.character.format.placeholder.other.python #89ca78 —
keyword.operator.assignment.compound #d55fde —
variable.language #e5c07b —
token.variable.parameter.java #abb2bf —
import.storage.java #e5c07b —
token.package.keyword #d55fde —
entity.name.function, meta.require, support.function.any-method, variable.function #61afef —
entity.name.type.namespace #e5c07b —
support.class, entity.name.type.class #e5c07b —
entity.name.class.identifier.namespace.type #e5c07b —
entity.name.class, variable.other.class.js, variable.other.class.ts #e5c07b —
variable.other.class.php #ef596f —
keyword.control.import.python,keyword.control.flow.python — italic
control.elements, keyword.operator.less #d19a66 —
keyword.other.special-method #61afef —
keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void #d55fde —
token.storage.type.java #e5c07b —
support.type.property-name #abb2bf —
support.constant.property-value #abb2bf —
support.constant.font-name #d19a66 —
string, entity.other.inherited-class #89ca78 —
constant.other.symbol #2bbac5 —
punctuation.definition.constant #d19a66 —
entity.other.attribute-name #d19a66 —
entity.other.attribute-name.id #61afef normal
entity.other.attribute-name.class.css #d19a66 normal
markup.heading #ef596f bold
markup.heading punctuation.definition.heading, entity.name.section #61afef —
keyword.other.unit #ef596f —
markup.bold,todo.bold #d19a66 bold
punctuation.definition.bold #e5c07b —
markup.italic, punctuation.definition.italic,todo.emphasis #d55fde —
entity.name.section.markdown #ef596f —
punctuation.definition.heading.markdown #ef596f —
punctuation.definition.list.begin.markdown #ef596f —
markup.heading.setext #abb2bf —
punctuation.definition.bold.markdown #d19a66 —
markup.inline.raw.markdown #89ca78 —
markup.inline.raw.string.markdown #89ca78 —
punctuation.definition.list.markdown #ef596f —
markup.quote.markdown #5c6370 italic
punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown #ef596f —
beginning.punctuation.definition.list.markdown #ef596f —
punctuation.definition.metadata.markdown #ef596f —
markup.underline.link.markdown,markup.underline.link.image.markdown #d55fde —
string.other.link.title.markdown,string.other.link.description.markdown #61afef —
markup.italic.markdown — italic
markup.bold.markdown — bold
constant.character.escape #2bbac5 —
punctuation.section.embedded, variable.interpolation #ef596f —
invalid.deprecated #ffffff —
invalid.unimplemented #ffffff —
source.json meta.structure.dictionary.json > string.quoted.json #ef596f —
source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string #ef596f —
source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation #89ca78 —
source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json #2bbac5 —
support.type.property-name.json #ef596f —
support.type.property-name.json punctuation #ef596f —
text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade #d55fde —
text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade #d55fde —
support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php #e5c07b —
keyword.operator.error-control.php #d55fde —
keyword.operator.type.php #d55fde —
punctuation.section.array.begin.php #abb2bf —
punctuation.section.array.end.php #abb2bf —
invalid.illegal.non-null-typehinted.php #f44747 —
storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php #e5c07b —
meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php #61afef —
punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php #abb2bf —
support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php #d19a66 —
entity.name.goto-label.php,support.other.php #61afef —
keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php #2bbac5 —
keyword.operator.regexp.php #d55fde —
keyword.operator.comparison.php #2bbac5 —
keyword.operator.heredoc.php,keyword.operator.nowdoc.php #d55fde —
meta.function.decorator.python #61afef —
support.token.decorator.python,meta.function.decorator.identifier.python #2bbac5 —
function.parameter #d19a66 —
function.parameter #abb2bf —
function.parameter.ruby, function.parameter.cs #abb2bf —
constant.language.symbol.ruby #2bbac5 —
inline-color-decoration rgb-value #d19a66 —
support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx #e5c07b —
block.scope.end,block.scope.begin #abb2bf —
entity.name.variable.local.cs #ef596f —
token.error-token #f44747 —
token.debug-token #d55fde —
punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded #d55fde —
meta.template.expression #abb2bf —
keyword.operator.module #d55fde —
support.type.type.flowtype #61afef —
support.type.primitive #e5c07b —
meta.property.object #ef596f —
variable.parameter.function.js #ef596f —
keyword.other.template.begin #89ca78 —
keyword.other.template.end #89ca78 —
keyword.other.substitution.begin #89ca78 —
keyword.other.substitution.end #89ca78 —
keyword.operator.assignment #2bbac5 —
keyword.operator.assignment.go, keyword.operator.address.go #e5c07b —
entity.name.package.go #e5c07b —
support.type.prelude.elm #2bbac5 —
support.constant.elm #d19a66 —
punctuation.quasi.element #d55fde —
constant.character.entity #ef596f —
entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class #2bbac5 —
entity.global.clojure #e5c07b —
meta.symbol.clojure #ef596f —
constant.keyword.clojure #2bbac5 —
meta.arguments.coffee, variable.parameter.function.coffee #ef596f —
meta.scope.prerequisites.makefile #ef596f —
storage.modifier.import.groovy #e5c07b —
meta.method.groovy #61afef —
meta.definition.variable.name.groovy #ef596f —
meta.definition.class.inherited.classes.groovy #89ca78 —
support.variable.semantic.hlsl #e5c07b —
support.type.texture.hlsl, support.type.sampler.hlsl, support.type.object.hlsl, support.type.object.rw.hlsl, support.type.fx.hlsl, support.type.object.hlsl #d55fde —
text.variable, text.bracketed #ef596f —
support.type.swift, support.type.vb.asp #e5c07b —
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 } !` ;
}