Skip to main content
Coding Theme

Midnight Codex

Publisher: rmnsncThemes in package: 1

Designed for the nocturnal coder, this theme is inspired by the mystical allure of a starlit sky at midnight, providing an immersive experience for those who find their muse in the quieter hours.

VS Code preview

Full workbench mockup using this variant's colors and tokenColors.

Loading...

colors

Workbench UI color keys from the theme JSON colors map.

  • activityBar.activeBackground#8B5CF610
  • activityBar.activeBorder#DB277780
  • activityBar.background#0F0F0F
  • activityBar.foreground#F8F8F2
  • activityBar.inactiveForeground#434343
  • activityBarBadge.background#DB2777
  • activityBarBadge.foreground#F8F8F2
  • badge.background#353535
  • badge.foreground#F8F8F2
  • breadcrumb.activeSelectionForeground#F8F8F2
  • breadcrumb.background#000000
  • breadcrumb.focusForeground#F8F8F2
  • breadcrumb.foreground#434343
  • breadcrumbPicker.background#000000
  • button.background#353535
  • button.foreground#F8F8F2
  • button.secondaryBackground#000000
  • button.secondaryForeground#F8F8F2
  • button.secondaryHoverBackground#0F0F0F
  • debugToolBar.background#000000
  • diffEditor.insertedTextBackground#10B98120
  • diffEditor.removedTextBackground#BE123C50
  • dropdown.background#0F0F0F
  • dropdown.border#000000
  • dropdown.foreground#F8F8F2
  • editor.background#000000
  • editor.findMatchBackground#D9770680
  • editor.findMatchHighlightBackground#FFFFFF40
  • editor.findRangeHighlightBackground#44444475
  • editor.foldBackground#00000080
  • editor.foreground#F8F8F2
  • editor.hoverHighlightBackground#14B8A650
  • editor.lineHighlightBorder#353535
  • editor.rangeHighlightBackground#8B5CF615
  • editor.selectionBackground#353535
  • editor.selectionHighlightBackground#0F0F0F
  • editor.snippetFinalTabstopHighlightBackground#000000
  • editor.snippetFinalTabstopHighlightBorder#10B981
  • editor.snippetTabstopHighlightBackground#000000
  • editor.snippetTabstopHighlightBorder#434343
  • editor.wordHighlightBackground#14B8A650
  • editor.wordHighlightStrongBackground#10B98150
  • editorBracketHighlight.foreground1#F8F8F2
  • editorBracketHighlight.foreground2#DB2777
  • editorBracketHighlight.foreground3#14B8A6
  • editorBracketHighlight.foreground4#10B981
  • editorBracketHighlight.foreground5#8B5CF6
  • editorBracketHighlight.foreground6#D97706
  • editorBracketHighlight.unexpectedBracket.foreground#BE123C
  • editorCodeLens.foreground#434343
  • editorError.foreground#BE123C
  • editorGroup.border#8B5CF6
  • editorGroup.dropBackground#44444470
  • editorGroupHeader.tabsBackground#000000
  • editorGutter.addedBackground#10B98180
  • editorGutter.deletedBackground#BE123C80
  • editorGutter.modifiedBackground#14B8A680
  • editorHoverWidget.background#000000
  • editorHoverWidget.border#434343
  • editorIndentGuide.activeBackground#FFFFFF45
  • editorIndentGuide.background#FFFFFF1A
  • editorLineNumber.foreground#434343
  • editorLink.activeForeground#14B8A6
  • editorMarkerNavigation.background#000000
  • editorOverviewRuler.addedForeground#10B98180
  • editorOverviewRuler.border#000000
  • editorOverviewRuler.currentContentForeground#10B981
  • editorOverviewRuler.deletedForeground#BE123C80
  • editorOverviewRuler.errorForeground#BE123C80
  • editorOverviewRuler.incomingContentForeground#8B5CF6
  • editorOverviewRuler.infoForeground#14B8A680
  • editorOverviewRuler.modifiedForeground#14B8A680
  • editorOverviewRuler.selectionHighlightForeground#D97706
  • editorOverviewRuler.warningForeground#D9770680
  • editorOverviewRuler.wordHighlightForeground#14B8A6
  • editorOverviewRuler.wordHighlightStrongForeground#10B981
  • editorRuler.foreground#FFFFFF1A
  • editorSuggestWidget.background#000000
  • editorSuggestWidget.foreground#F8F8F2
  • editorSuggestWidget.selectedBackground#353535
  • editorWarning.foreground#14B8A6
  • editorWhitespace.foreground#FFFFFF1A
  • editorWidget.background#000000
  • errorForeground#BE123C
  • extensionButton.prominentBackground#10B98190
  • extensionButton.prominentForeground#F8F8F2
  • extensionButton.prominentHoverBackground#10B98160
  • focusBorder#434343
  • foreground#F8F8F2
  • gitDecoration.conflictingResourceForeground#D97706
  • gitDecoration.deletedResourceForeground#BE123C
  • gitDecoration.ignoredResourceForeground#434343
  • gitDecoration.modifiedResourceForeground#14B8A6
  • gitDecoration.untrackedResourceForeground#10B981
  • inlineChat.regionHighlight#0F0F0F
  • input.background#000000
  • input.border#000000
  • input.foreground#F8F8F2
  • input.placeholderForeground#434343
  • inputOption.activeBorder#8B5CF6
  • inputValidation.errorBorder#BE123C
  • inputValidation.infoBorder#DB2777
  • inputValidation.warningBorder#D97706
  • list.activeSelectionBackground#353535
  • list.activeSelectionForeground#F8F8F2
  • list.dropBackground#353535
  • list.errorForeground#BE123C
  • list.focusBackground#44444475
  • list.highlightForeground#14B8A6
  • list.hoverBackground#44444475
  • list.inactiveSelectionBackground#44444475
  • list.warningForeground#D97706
  • listFilterWidget.background#0F0F0F
  • listFilterWidget.noMatchesOutline#BE123C
  • listFilterWidget.outline#0F0F0F
  • merge.currentHeaderBackground#10B98190
  • merge.incomingHeaderBackground#8B5CF690
  • panel.background#000000
  • panel.border#8B5CF6
  • panelTitle.activeBorder#DB2777
  • panelTitle.activeForeground#F8F8F2
  • panelTitle.inactiveForeground#434343
  • peekView.border#353535
  • peekViewEditor.background#000000
  • peekViewEditor.matchHighlightBackground#FBBF2480
  • peekViewResult.background#000000
  • peekViewResult.fileForeground#F8F8F2
  • peekViewResult.lineForeground#F8F8F2
  • peekViewResult.matchHighlightBackground#FBBF2480
  • peekViewResult.selectionBackground#353535
  • peekViewResult.selectionForeground#F8F8F2
  • peekViewTitle.background#000000
  • peekViewTitleDescription.foreground#434343
  • peekViewTitleLabel.foreground#F8F8F2
  • pickerGroup.border#8B5CF6
  • pickerGroup.foreground#14B8A6
  • progressBar.background#DB2777
  • selection.background#8B5CF6
  • settings.checkboxBackground#000000
  • settings.checkboxBorder#000000
  • settings.checkboxForeground#F8F8F2
  • settings.dropdownBackground#000000
  • settings.dropdownBorder#000000
  • settings.dropdownForeground#F8F8F2
  • settings.headerForeground#F8F8F2
  • settings.modifiedItemIndicator#D97706
  • settings.numberInputBackground#000000
  • settings.numberInputBorder#000000
  • settings.numberInputForeground#F8F8F2
  • settings.textInputBackground#000000
  • settings.textInputBorder#000000
  • settings.textInputForeground#F8F8F2
  • sideBar.background#000000
  • sideBarSectionHeader.background#000000
  • sideBarSectionHeader.border#000000
  • sideBarTitle.foreground#F8F8F2
  • statusBar.background#000000
  • statusBar.debuggingBackground#BE123C
  • statusBar.debuggingForeground#000000
  • statusBar.foreground#F8F8F2
  • statusBar.noFolderBackground#000000
  • statusBar.noFolderForeground#F8F8F2
  • statusBarItem.prominentBackground#BE123C
  • statusBarItem.prominentHoverBackground#D97706
  • statusBarItem.remoteBackground#8B5CF6
  • statusBarItem.remoteForeground#000000
  • tab.activeBackground#000000
  • tab.activeBorderTop#DB277780
  • tab.activeForeground#F8F8F2
  • tab.border#000000
  • tab.inactiveBackground#000000
  • tab.inactiveForeground#434343
  • terminal.ansiBlack#353535
  • terminal.ansiBlue#8B5CF6
  • terminal.ansiBrightBlack#434343
  • terminal.ansiBrightBlue#9D6BF1
  • terminal.ansiBrightCyan#4FCABC
  • terminal.ansiBrightGreen#4CCBA1
  • terminal.ansiBrightMagenta#E45D99
  • terminal.ansiBrightRed#CE4D6D
  • terminal.ansiBrightWhite#FFFFFF
  • terminal.ansiBrightYellow#FCCF5B
  • terminal.ansiCyan#14B8A6
  • terminal.ansiGreen#10B981
  • terminal.ansiMagenta#DB2777
  • terminal.ansiRed#BE123C
  • terminal.ansiWhite#F8F8F2
  • terminal.ansiYellow#FBBF24
  • terminal.background#000000
  • terminal.foreground#F8F8F2
  • titleBar.activeBackground#000000
  • titleBar.activeForeground#F8F8F2
  • titleBar.inactiveBackground#000000
  • titleBar.inactiveForeground#434343
  • walkThrough.embeddedEditorBackground#000000

tokenColors

TextMate scopes and font styles (syntax highlighting rules).

scopeforegroundfontStyle
emphasisitalic
strongbold
header#8B5CF6
meta.diff, meta.diff.header#434343
markup.inserted#10B981
markup.deleted#BE123C
markup.changed#D97706
invalid#BE123Cunderline italic
invalid.deprecated#F8F8F2underline italic
entity.name.filename#FBBF24
markup.error#BE123C
markup.underlineunderline
markup.bold#D97706bold
markup.heading#8B5CF6bold
markup.italic#FBBF24italic
beginning.punctuation.definition.list.markdown, beginning.punctuation.definition.quote.markdown, punctuation.definition.link.restructuredtext#14B8A6
markup.inline.raw, markup.raw.restructuredtext#10B981
markup.underline.link, markup.underline.link.image#14B8A6
meta.link.reference.def.restructuredtext, punctuation.definition.directive.restructuredtext, string.other.link.description, string.other.link.title#DB2777
entity.name.directive.restructuredtext, markup.quote#FBBF24italic
meta.separator.markdown#434343
fenced_code.block.language, markup.raw.inner.restructuredtext, markup.fenced_code.block.markdown punctuation.definition.markdown#10B981
punctuation.definition.constant.restructuredtext#8B5CF6
markup.heading.markdown punctuation.definition.string.begin, markup.heading.markdown punctuation.definition.string.end#8B5CF6
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#FBBF24
entity.name.type.class, entity.name.class#14B8A6normal
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#8B5CF6italic
entity.other.inherited-class#14B8A6italic
comment, punctuation.definition.comment, unused.comment, wildcard.comment#434343
comment keyword.codetag.notation, comment.block.documentation keyword, comment.block.documentation storage.type.class#DB2777
comment.block.documentation entity.name.type#14B8A6italic
comment.block.documentation entity.name.type punctuation.definition.bracket#14B8A6
comment.block.documentation variable#D97706italic
constant, variable.other.constant#8B5CF6
constant.character.escape, constant.character.string.escape, constant.regexp#DB2777
entity.name.tag#DB2777
entity.other.attribute-name.parent-selector#DB2777
entity.other.attribute-name#10B981italic
entity.name.function, meta.function-call.object, meta.function-call.php, meta.function-call.static, meta.method-call.java meta.method, meta.method.groovy, support.function.any-method.lua, keyword.operator.function.infix#10B981
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#D97706italic
meta.decorator variable.other.readwrite, meta.decorator variable.other.property#10B981italic
meta.decorator variable.other.object#10B981
keyword, punctuation.definition.keyword#DB2777
keyword.control.new, keyword.operator.newbold
meta.selector#DB2777
support#14B8A6italic
support.function.magic, support.variable, variable.other.predefined#8B5CF6regular
support.function, support.type.property-nameregular
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.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#DB2777
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, punctuation.terminator.expression.php, storage.type.generic.java, string.template meta.brace, string.template punctuation.accessor#F8F8F2
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#DB2777
entity.name.function.target.makefile, entity.name.section.toml, entity.name.tag.yaml, variable.other.key.toml#14B8A6
constant.other.date, constant.other.timestamp#D97706
variable.other.alias.yaml#10B981italic underline
storage, meta.implementation storage.type.objc, meta.interface-or-protocol storage.type.objc, source.groovy storage.type.def#DB2777regular
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#14B8A6italic
entity.name.type.type-parameter, meta.indexer.mappedtype.declaration entity.name.type, meta.type.parameters entity.name.type#D97706
storage.modifier#DB2777
string.regexp, constant.other.character-class.set.regexp, constant.character.escape.backslash.regexp#FBBF24
punctuation.definition.group.capture.regexp#DB2777
string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end#BE123C
punctuation.definition.character-class.regexp#14B8A6
punctuation.definition.group.regexp#D97706
punctuation.definition.group.assertion.regexp, keyword.operator.negation.regexp#BE123C
meta.assertion.look-ahead.regexp#10B981
string#FBBF24
punctuation.definition.string.begin, punctuation.definition.string.end#FDDF91
punctuation.support.type.property-name.begin, punctuation.support.type.property-name.end#89DBD3
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#434343
variable, constant.other.key.perl, support.variable.property, variable.other.constant.js, variable.other.constant.ts, variable.other.constant.tsx#F8F8F2
meta.import variable.other.readwrite, meta.variable.assignment.destructured.object.coffee variable#D97706italic
meta.import variable.other.readwrite.alias, meta.export variable.other.readwrite.alias, meta.variable.assignment.destructured.object.coffee variable variable#F8F8F2normal
meta.selectionset.graphql variable#FBBF24
meta.selectionset.graphql meta.arguments variable#F8F8F2
entity.name.fragment.graphql, variable.fragment.graphql#14B8A6
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#F8F8F2
source.shell variable.other#8B5CF6
support.constant#8B5CF6normal
meta.scope.prerequisites.makefile#FBBF24
meta.attribute-selector.scss#FBBF24
punctuation.definition.attribute-selector.end.bracket.square.scss, punctuation.definition.attribute-selector.begin.bracket.square.scss#F8F8F2
meta.preprocessor.haskell#434343
log.error#BE123Cbold
log.warning#FBBF24bold

Shiki preview

TypeScript sample highlighted with this variant's colors and tokenColors.

Loading...

Midnight Codex - Coding Theme