Scribble at 2021-03-10 16:56:02 Last modified: unmodified

"workbench.colorCustomizations": {

"_comment": "editor colors",

"editor.background": "#1a1a1a",

"editor.foreground": "#d9d9d9",

"editor.selectionBackground": "#ffffff33",

"editor.selectionForeground": "#ffffff",

"editorIndentGuide.background": "#1a1a1a",

"editorIndentGuide.activeBackground": "#1a1a1a",

"editorLineNumber.foreground": "#4b4b4b",

"editorLineNumber.activeForeground": "#ffffff",

"editor.lineHighlightBackground": "#ffffff22",

"editor.lineHighlightBorder": "#ffffff00",

"editorCursor.foreground": "#ffffff",

"editorWhitespace.foreground": "#2a2a2a",

"editorBracketMatch.background": "#6EEDB644",

"editorBracketMatch.border": "#ffffff00",

"statusBar.background": "#111111",

"statusBar.foreground": "#cccccc",

"statusBarItem.errorForeground": "#ff0000",

"titleBar.activeBackground": "#111111",

"titleBar.activeForeground": "#cccccc",

"titleBar.inactiveBackground": "#1a1a1a",

"titleBar.inactiveForeground": "#333333",

"menu.foreground": "#cccccc",

"menu.background": "#080808",

"menu.selectionForeground": "#e8e8e8",

"menu.border": "#111111",

"menu.selectionBackground": "#6EEDB644",

"notifications.background": "#e8e8e8",

"notifications.foreground": "#1a1a1a",

"notifications.border": "#999999",

"breadcrumb.foreground": "#e8e8e8",

"breadcrumb.background": "#111111",

"tab.activeBackground": "#333333",

"tab.activeForeground": "#ffffff",

"tab.border": "#111111",

"tab.activeBorder": "#111111",

"tab.activeBorderTop": "#111111",

"tab.hoverBackground": "#000000",

"tab.inactiveForeground": "#cccccc",

"tab.inactiveBackground": "#1a1a1a",

"editorGroupHeader.tabsBackground": "#111111",

"minimap.background": "#111111",

"minimapSlider.background": "#6EEDB644",

"minimapSlider.hoverBackground": "#6EEDB644",

"minimapSlider.activeBackground": "#ffffff11",

"sideBar.background": "#111111",

"sideBar.foreground": "#999999",

"sideBar.border": "#1a1a1a",

"activityBar.background": "#111111",

"activityBar.border": "#111111",

"activityBar.foreground": "#6eedb6",

"activityBar.inactiveForeground": "#4c4c4c",

"scrollbarSlider.activeBackground": "#4c4c4c",

"scrollbarSlider.hoverBackground": "#4c4c4c",

"scrollbarSlider.background": "#080808",

},

Visual Studio Code で、xyzzy でも採用していた配色を真似て、上記のように暗い背景色のスキームを組んでみた。但し、これだけだと syntax highlight がディフォールトなので、これは TextMate という macOS 用のテキスト・エディタが採用しているツリー状のシステムで配色を定義しないといけないようになっている。ただ、これを JSON の設定ファイルに記述しても、デバッグ用に起動したウィンドウには反映されるのだが、本体のウィンドウには再起動しても全く反映されない(もちろんテーマを換えているわけではない)。よって、オリジナルのテーマを作成して読み込むしか方法がないのかもしれない。これは、実は前にいちど面倒な手続きでやってみたのだが、Visual Studio Code がクラッシュして二度と立ち上がらなくなるような事態に陥ってしまったことがあるため、あまりやりたくない。タブやサイドバーの色はともかく、肝心のコードの配色が、何色も無理矢理に使う奇妙なテーマのままでは、あまり常用する道具としては採用し難いものがある。

  1. もっと新しいノート <<
  2. >> もっと古いノート

冒頭に戻る


※ 以下の SNS 共有ボタンは JavaScript を使っておらず、ボタンを押すまでは SNS サイトと全く通信しません。

Twitter Facebook