Skip to main content
Home Theme VS Code Royal Red Theme Royal Theme inspired by palace with red cushioning and golden artifacts.
Royal Red 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 #2a0303 activityBar.activeBorder #f9a407 activityBar.activeFocusBorder #f9a407 activityBar.background #540707 activityBar.border #ee9b0cb9 activityBar.dropBorder #f9a407 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle meta.embedded, source.groovy.embedded, meta.image.inline.markdown #D4D4D4 — meta.preprocessor, entity.name.function.preprocessor, meta.diff.header #569cd6 — meta.preprocessor.string, meta.embedded.assembly #ce9178 — meta.preprocessor.numeric #b5cea8 — meta.structure.dictionary.key.python
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Royal Red Theme — Royal Red Theme - Vibrant
activityBar.foreground
#f9a407
activityBar.inactiveForeground #ee9b0cb9
activityBarBadge.background #880e0e
activityBarBadge.foreground #d5d5d5
badge.background #880e0e
badge.foreground #d5d5d5
breadcrumb.activeSelectionForeground #e0e0e0
breadcrumb.background #0e0804
breadcrumb.focusForeground #e0e0e0
breadcrumb.foreground #cccccccc
button.background #540707
button.foreground #d5d5d5
button.hoverBackground #720808
button.secondaryBackground #696969
button.secondaryForeground #d5d5d5
button.secondaryHoverBackground #45494e
checkbox.background #540707
checkbox.border #f9a40700
checkbox.foreground #f9a407
checkbox.selectBackground #540707
checkbox.selectBorder #f9a40700
debugExceptionWidget.background #170101
debugExceptionWidget.border #f9a407
debugToolBar.background #170101
debugToolBar.border #f9a407
descriptionForeground #6d6d6d
diffEditor.border #444444
diffEditor.insertedTextBackground #9bb95533
diffEditor.removedTextBackground #ff000033
dropdown.background #714717af
dropdown.border #f9a40700
dropdown.foreground #d5d5d5
dropdown.listBackground #170101
editor.background #0e0804
editor.findMatchBackground #f9a4070d
editor.findMatchBorder #f9a40775
editor.findMatchHighlightBackground #f9a40733
editor.findMatchHighlightBorder #ffffff00
editor.findRangeHighlightBackground #3a3d4166
editor.findRangeHighlightBorder #ffffff00
editor.foldBackground #ff000049
editor.foreground #d4d4d4
editor.hoverHighlightBackground #f9a40733
editor.inactiveSelectionBackground #543535
editor.lineHighlightBackground #1d0f0600
editor.lineHighlightBorder #f9a4073a
editor.rangeHighlightBackground #ffffff0b
editor.rangeHighlightBorder #ffffff00
editor.selectionBackground #460b0b
editor.selectionHighlightBackground #f9a4070d
editor.selectionHighlightBorder #f9a40775
editor.wordHighlightBackground #f9a4070d
editor.wordHighlightBorder #f9a40775
editor.wordHighlightStrongBackground #f9a40733
editor.wordHighlightStrongBorder #f9a407
editorBracketMatch.background #0064001a
editorBracketMatch.border #888888
editorCodeLens.foreground #999999
editorCursor.background #000000
editorCursor.foreground #fff700
editorError.background #ff000057
editorError.border #ffffff00
editorError.foreground #f48771
editorGroup.border #ee9b0cb9
editorGroup.dropBackground #f9a4073f
editorGroup.dropIntoPromptBackground #170101
editorGroup.dropIntoPromptBorder #f9a407
editorGroup.dropIntoPromptForeground #d5d5d5
editorGroup.emptyBackground #0e0804
editorGroupHeader.border #ff000000
editorGroupHeader.tabsBackground #540707
editorGroupHeader.tabsBorder #ff000000
editorGutter.addedBackground #587c0c
editorGutter.background #0e0804
editorGutter.commentRangeForeground #f9a407
editorGutter.deletedBackground #94151b
editorGutter.foldingControlForeground #f9a407
editorGutter.modifiedBackground #0c7d9d
editorHoverWidget.background #170101
editorHoverWidget.border #9e6906
editorHoverWidget.foreground #d5d5d5
editorHoverWidget.highlightForeground #a76f06
editorHoverWidget.statusBarBackground #170101
editorIndentGuide.activeBackground #f9a40729
editorIndentGuide.background #f9a40729
editorInfo.background #4490BF00
editorInfo.border #4490BF00
editorInfo.foreground #75beff
editorLineNumber.activeForeground #ffc400
editorLineNumber.foreground #f4ecec4a
editorLink.activeForeground #f9a40781
editorMarkerNavigation.background #2d2d30
editorMarkerNavigationError.background #f48771
editorMarkerNavigationInfo.background #75beff
editorMarkerNavigationWarning.background #cca700
editorOverviewRuler.background #25252500
editorOverviewRuler.border #7f7f7f4d
editorRuler.foreground #5a5a5a
editorSuggestWidget.background #170101
editorSuggestWidget.border #9e6906
editorSuggestWidget.focusHighlightForeground #c47f00
editorSuggestWidget.foreground #acacac
editorSuggestWidget.highlightForeground #de9206
editorSuggestWidget.selectedBackground #703d03
editorSuggestWidget.selectedForeground #cfcfcf
editorSuggestWidget.selectedIconForeground #f9a407
editorSuggestWidgetStatus.foreground #f9a407
editorWarning.background #A9904000
editorWarning.border #ffffff00
editorWarning.foreground #cca700
editorWhitespace.foreground #FFFFFF14
editorWidget.background #170101
editorWidget.border #9e6906
editorWidget.foreground #d5d5d5
editorWidget.resizeBorder #f9a407
extensionBadge.remoteBackground #880e0e
extensionBadge.remoteForeground #d5d5d5
focusBorder #f9a407
foreground #CECECE
gitDecoration.addedResourceForeground #81b88b
gitDecoration.conflictingResourceForeground #6c6cc4
gitDecoration.deletedResourceForeground #c74e39
gitDecoration.ignoredResourceForeground #8c8c8c
gitDecoration.modifiedResourceForeground #e2c08d
gitDecoration.stageDeletedResourceForeground #c74e39
gitDecoration.stageModifiedResourceForeground #e2c08d
gitDecoration.submoduleResourceForeground #8db9e2
gitDecoration.untrackedResourceForeground #73c991
icon.foreground #f9a407
input.background #714717af
input.border #f9a40700
input.foreground #d5d5d5
input.placeholderForeground #e6e4e277
inputOption.activeBackground #17010100
inputOption.activeBorder #007acc00
inputOption.activeForeground #d5d5d5
keybindingLabel.background #2c0303
keybindingLabel.border #f9a4075a
keybindingLabel.bottomBorder #f9a40736
keybindingLabel.foreground #ffa600
keybindingTable.headerBackground #540707
keybindingTable.rowsBackground #17171783
list.activeSelectionBackground #3a0505
list.activeSelectionForeground #fcfafa
list.activeSelectionIconForeground #f9a407
list.dropBackground #f9a4073f
list.focusAndSelectionOutline #f9a4078a
list.focusBackground #703d03
list.focusForeground #fcfafa
list.focusHighlightForeground #fcfafa
list.focusOutline #f9a4078a
list.highlightForeground #f9a407
list.hoverBackground #f9a40729
list.hoverForeground #fcfafa
list.inactiveFocusBackground #ff000000
list.inactiveFocusOutline #f9a40700
list.inactiveSelectionBackground #3a05057c
list.inactiveSelectionForeground #fcfafa
list.inactiveSelectionIconForeground #f9a407
listFilterWidget.background #170101
listFilterWidget.noMatchesOutline #FF4F4F
listFilterWidget.outline #f9a407
menu.background #180c06
menu.border #9e6906
menu.foreground #d5d5d5
menu.selectionBackground #714717af
menu.selectionBorder #f9a4078a
menu.selectionForeground #d5d5d5
menu.separatorBackground #ff880057
menubar.selectionBackground #f9a40729
menubar.selectionForeground #dfdfdf
merge.commonContentBackground #282828
merge.commonHeaderBackground #383838
merge.currentContentBackground #27403B
merge.currentHeaderBackground #367366
merge.incomingContentBackground #28384B
merge.incomingHeaderBackground #395F8F
minimap.background #0e0804
minimap.errorHighlight #f48771
minimap.findMatchHighlight #f9a4070d
minimap.selectionHighlight #460b0b
minimap.warningHighlight #cca700
minimapGutter.addedBackground #587c0c
minimapGutter.deletedBackground #94151b
minimapGutter.modifiedBackground #0c7d9d
notificationCenter.border #f9a407
notificationCenterHeader.background #170101
notificationCenterHeader.foreground #cccccc
notificationLink.foreground #f9a407
notifications.background #170101
notifications.border #f9a407
notifications.foreground #f9a407
notificationsErrorIcon.foreground #f03030
notificationsInfoIcon.foreground #156ab6
notificationsWarningIcon.foreground #f9a407
notificationToast.border #f9a407
panel.background #0e0804
panel.border #ee9b0cb9
panel.dropBorder #f9a407
panelSection.border #ff880057
panelSection.dropBackground #f9a4073f
panelTitle.activeBorder #f9a407
panelTitle.activeForeground #e7e7e7
panelTitle.inactiveForeground #e7e7e799
peekView.border #007acc
peekViewEditor.background #001f33
peekViewEditor.matchHighlightBackground #ff8f0099
peekViewEditor.matchHighlightBorder #ee931e
peekViewEditorGutter.background #001f33
peekViewResult.background #252526
peekViewResult.fileForeground #ffffff
peekViewResult.lineForeground #bbbbbb
peekViewResult.matchHighlightBackground #ea5c004d
peekViewResult.selectionBackground #3399ff33
peekViewResult.selectionForeground #ffffff
peekViewTitle.background #1e1e1e
peekViewTitleDescription.foreground #ccccccb3
peekViewTitleLabel.foreground #ffffff
pickerGroup.border #9e6906
pickerGroup.foreground #f9a407
progressBar.background #f9a407
quickInput.background #180c06
quickInput.foreground #d5d5d5
quickInputList.focusBackground #703d03
quickInputList.focusForeground #d5d5d5
quickInputList.focusIconForeground #f9a407
quickInputTitle.background #540707
scrollbar.shadow #f9a407a0
scrollbarSlider.activeBackground #ff8800
scrollbarSlider.background #ff880057
scrollbarSlider.hoverBackground #ff8800a9
selection.background #460b0b
settings.dropdownBackground #714717af
settings.dropdownBorder #f9a40700
settings.dropdownForeground #d5d5d5
settings.dropdownListBorder #170101
settings.focusedRowBackground #ffffff07
settings.headerForeground #CECECE
settings.numberInputBackground #714717af
settings.numberInputForeground #d5d5d5
settings.textInputBackground #714717af
settings.textInputForeground #d5d5d5
sideBar.background #220d02
sideBar.border #ee9b0cb9
sideBar.dropBackground #f9a4073f
sideBar.foreground #d5d5d5
sideBarSectionHeader.background #3a0505
sideBarSectionHeader.foreground #c07e04
sideBarTitle.foreground #fcfafa
statusBar.background #1a0902
statusBar.border #f9a40775
statusBar.debuggingBackground #cc6633
statusBar.debuggingForeground #ffffff
statusBar.foreground #d5d5d5
statusBar.noFolderBackground #68217a
statusBar.noFolderForeground #ffffff
statusBarItem.activeBackground #FFFFFF25
statusBarItem.hoverBackground #f980072a
statusBarItem.remoteBackground #540707
statusBarItem.remoteForeground #f9a407
tab.activeBackground #2a0303
tab.activeBorder #ee9b0cb9
tab.activeBorderTop #00000000
tab.activeForeground #ffffff
tab.border #694504
tab.hoverBackground #2a0303
tab.inactiveBackground #5f3709af
tab.inactiveForeground #ffffff80
terminal.ansiBlack #000000
terminal.ansiBlue #2472c8
terminal.ansiBrightBlack #666666
terminal.ansiBrightBlue #3b8eea
terminal.ansiBrightCyan #29b8db
terminal.ansiBrightGreen #23d18b
terminal.ansiBrightMagenta #d670d6
terminal.ansiBrightRed #f14c4c
terminal.ansiBrightWhite #e5e5e5
terminal.ansiBrightYellow #f5f543
terminal.ansiCyan #11a8cd
terminal.ansiGreen #0dbc79
terminal.ansiMagenta #bc3fbc
terminal.ansiRed #cd3131
terminal.ansiWhite #e5e5e5
terminal.ansiYellow #e5e510
terminal.background #0e0804
terminal.border #ff880057
terminal.dropBackground #f9a4073f
terminal.foreground #cccccc
terminal.selectionBackground #460b0b80
terminalCursor.background #0087ff
terminalCursor.foreground #fff700
textCodeBlock.background #540707
textLink.activeForeground #f9a40781
textLink.foreground #f9a407
titleBar.activeBackground #210d03
titleBar.activeForeground #d5d5d5
titleBar.border #f9a40775
titleBar.inactiveBackground #3c3c3c99
titleBar.inactiveForeground #cccccc99
toolbar.hoverBackground #f9a40729
tree.indentGuidesStroke #f9a4078a
walkThrough.embeddedEditorBackground #00000050
widget.shadow #f9a4072c variable, variable.other.constant, variable.other.read-write #b9b9b9 —
variable.parameter #858585 italic
variable.other.property #527466 —
entity.name.function #fb9c038a —
keyword.control.flow #f573ba italic
constant.language #569CD6 —
variable.language #569cd6 —
keyword.operator.arithmetic, keyword.operator.bitwise, keyword.operator.ternary #f9a407 —
keyword.operator.assignment, keyword.operator.increment, keyword.operator.decrement #3ee913 —
keyword.operator.comparison, keyword.operator.relational #e35c2b —
keyword.operator.logical #0fd3e9 —
storage.type #e35c2b italic
storage.type.class #e9ac13 italic underline
punctuation.terminator #f573ba —
punctuation.separator #e9ac13 —
punctuation.support.type.property-name #527466 —
punctuation.definition.string #8f4964 —
constant.character.escape #696868 —
keyword.control.directive.include.cpp, keyword.other.using.directive.cpp, keyword.other.typedef.cpp, keyword.control.directive.define.cpp, keyword.control.directive.conditional.ifndef.cpp, keyword.control.directive.pragma.cpp, keyword.control.directive.endif.cpp #f573ba —
entity.name.namespace.cpp #00ff6e —
entity.name.function.templated.cpp, punctuation.definition.directive.cpp #f573ba —
storage.modifier.pointer.cpp #f9a407 —
keyword.operator.noexcept #569cd6 —
punctuation.separator.pointer-access.cpp #FF0000 —
storage.type.modifier.access.control.private.cpp, storage.type.modifier.access.control.public.cpp, storage.type.modifier.access.public.cpp, storage.type.modifier.access.control.protected.cpp, storage.type.struct.cpp #e9ac13 italic underline
punctuation.destructuring.js #FF0000 —
keyword.operator.spread.js #f9a407 —
keyword.operator.rest.js #3ee913 —
storage.type.function.arrow.js #FF0000 —
constant.numeric.sql #a676d6 —
comment.line.double-dash.sql #444341 —
punctuation.definition.comment.sql #569CD6 —
constant.other.database-name.sql #e8b246 italic
string.quoted.other.backtick.sql #49d66a —
string.quoted.none.hjson #93959a italic
punctuation.separator.dictionary.pair.hjson #00fff7 —
constant.numeric.hjson #ff00d0 —
support.type.property-name.json #527466 —
entity.name.tag, constant.character #df2d2d —
text.html.derivative #aecbbb —
entity.other.attribute-name #f9a407 italic
punctuation.definition.tag, punctuation.definition.tag, punctuation.separator.key-value, punctuation.definition.entity #f9a407 —
string.quoted.double.html #527466 —
entity.name.tag.js.jsx #0768f9 —
meta.jsx.children.js.jsx #aecbbb —
entity.other.attribute-name.js.jsx #527466 italic
keyword.operator.assignment.js.jsx #f9a407 —
support.class.component.js.jsx #00ff6e —
punctuation.terminator.rule.css, punctuation.separator.key-value.css, punctuation.definition.keyword.css #f9a407 —
entity.other.attribute-name.class.css #f99b04 italic
entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css #898080 —
entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, source.css.less, entity.other.attribute-name.scss #d7ba7d —
support.type.property-name.css, support.type.property-name.media.css #527466 —
support.constant.property-value.css, support.constant.color.w3c-standard-color-name.css, meta.property-value.css, support.constant.font-name.css, support.constant.color.w3c-extended-color-name.css #ff3c00 italic
constant.numeric.css #8d498f —
keyword.other.unit #faae96 —
keyword.operator.combinator.css #00ff51 —
keyword.operator.quantifier.regexp #db3434
keyword.control.anchor.regexp #787272
punctuation.definition.group.regexp #f9a407 —
constant.other.character-class.range.regexp, punctuation.definition.character-class.regexp #8f4964 italic
keyword.operator.or.regexp #04fbf3 bold
meta.assertion.negative-look-ahead.regexp #444341 —
meta.assertion.look-ahead.regexp #aca6a6 —
constant.other.character-class.regexp #8f4964 —
punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php #569cd6 —
support.function.git-rebase #9cdcfe —
constant.sha.git-rebase #b5cea8 —
storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java #d4d4d4 —
markup.underline — underline
markup.heading #569cd6 bold
markup.strikethrough — strikethrough
punctuation.definition.quote.begin.markdown #6A9955 —
punctuation.definition.list.begin.markdown #6796e6 —
markup.inline.raw #ce9178 —
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...
main*
Button.tsx
31
~/my-project
$
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 }!` ;
}