Further improving Atom likeliness
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- css, vscode
- 領域
- design
調査の方向性
リポジトリのファイルもテストも指定されていません。この issue では、定義された OneDark-Pro の変更ではなく、Custom CSS and JS Loader または Customize UI 用の CSS と設定が提示されています。まず、要求された Atom 風のスタイルをテーマまたは VS Code API で実現できるかを確認し、意図された結果がリポジトリ内のテーマの更新なのか、これらの外部設定のドキュメント化なのかを判断してください。
索引モデルが issue の本文から書いたものです。
説明
I've written some CSS rules that will make VSCode look further like Atom. It is of my understanding that it's not possible right now for a theme to inject global CSS, but I could be wrong.
Nonetheless I'd like to leave this here if this changes in the future, or if anyone wants their editor to look more like Atom today by using Custom CSS and JS Loader or Customize UI.
These are the CSS rules usable with Custom CSS and JS Loader:
/* Color the left side of active tabs */
.tab.active {
border-left: 2px solid #598DEF;
}
/* Change the color of dirty tabs */
.tab.dirty .tab-actions {
color: #598DEF
}
/* Color the titlebar appropriately */
#workbench\.parts\.titlebar {
font-weight: bold!important;
background-color: #393435!important;
color: #B5B0B4!important;
}
#workbench\.parts\.titlebar.inactive {
background-color: #2E282C!important;
color: #6F696D!important;
}
/* Hide title actions in file explorer */
#workbench\.parts\.sidebar .title-actions {
display: none!important;
}
/* Fix file explorer title */
#workbench\.parts\.sidebar > .composite.title > .title-label > h2 {
visibility: hidden;
}
#workbench\.parts\.sidebar > .composite.title > .title-label > h2::after {
content: "Project";
visibility: visible;
display: block;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
color: #D7DAE0;
font-family: system-ui;
font-size: 12px;
text-transform: capitalize;
}
/* Disable the focus border of the file explorer */
.explorer-folders-view.file-icon-themable-tree.show-file-icons > div::before {
outline: none!important;
}
/* Disable the indentation guide of the file explorer */
#workbench\.parts\.sidebar .indent-guide {
border: none!important;
}
/* Use same icons as Atom */
.monaco-tl-twistie.collapsed::before {
content: url("data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"6\" height=\"12\" viewBox=\"0 0 8 16\" fill=\"%23D7DAE0\"><path d=\"M7.5 8l-5 5L1 11.5 4.75 8 1 4.5 2.5 3z\"/></svg>")!important;
transform: translateY(-2px)!important;
}
.codicon-tree-item-expanded::before {
content: url("data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.5\" height=\"12\" viewBox=\"0 0 10 16\" fill=\"%23D7DAE0\"><path d=\"M5 11L0 6l1.5-1.5L5 8.25 8.5 4.5 10 6z\"/></svg>")!important;
transform: translateY(-2px)!important;
}
/* Fix item height */
#workbench\.parts\.sidebar .monaco-list-row {
height: 25px!important;
line-height: 25px!important;
}
#workbench\.parts\.sidebar .explorer-item {
height: 25px!important;
line-height: 25px!important;
}
These are the same rules converted for use with Customize UI, set in settings.json.
"customizeUI.stylesheet": {
// Color the left side of active tabs
".tab.active": "border-left: 2px solid #598DEF",
// Change the color of dirty tabs
".tab.dirty .tab-actions": "color: #598DEF",
// Color the titlebar appropriately
"#workbench\\.parts\\.titlebar": "font-weight: bold!important;background-color: #393435!important; color: #B5B0B4!important",
"#workbench\\.parts\\.titlebar.inactive": "background-color: #2E282C!important; color: #6F696D!important",
// Hide title actions in the file explorer
"#workbench\\.parts\\.sidebar .title-actions": "display: none!important",
// Fix the file explorer title
"#workbench\\.parts\\.sidebar > .composite.title > .title-label > h2": "visibility: hidden",
"#workbench\\.parts\\.sidebar > .composite.title > .title-label > h2::after": "content: \"Project\"; visibility: visible; display: block; position: absolute; top: 0; left: 50%; transform: translateX(-50%); color: #D7DAE0; font-family: system-ui; font-size: 12px; text-transform: capitalize",
// Disable the focus border of the file explorer
".explorer-folders-view.file-icon-themable-tree.show-file-icons > div::before": "outline: none!important",
// Disable the indentation guide of the file explorer
"#workbench\\.parts\\.sidebar .indent-guide": "border: none!important",
// Use the same icons as Atom
".monaco-tl-twistie.collapsed::before": "content: url(\"data:image/svg+xml; utf8, <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"6\\\" height=\\\"12\\\" viewBox=\\\"0 0 8 16\\\" fill=\\\"%23D7DAE0\\\"><path d=\\\"M7.5 8l-5 5L1 11.5 4.75 8 1 4.5 2.5 3z\\\"/></svg>\")!important; transform: translateY(-2px)!important",
".codicon-tree-item-expanded::before": "content: url(\"data:image/svg+xml; utf8, <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"7.5\\\" height=\\\"12\\\" viewBox=\\\"0 0 10 16\\\" fill=\\\"%23D7DAE0\\\"><path d=\\\"M5 11L0 6l1.5-1.5L5 8.25 8.5 4.5 10 6z\\\"/></svg>\")!important; transform: translateY(-2px)!important",
// Fix file explorer item height
"#workbench\\.parts\\.sidebar .monaco-list-row": "height: 25px!important; line-height: 25px!important",
"#workbench\\.parts\\.sidebar .explorer-item": "height: 25px!important; line-height: 25px!important",
}
Furthermore, the following settings can be set to further make your experience more like that of Atom:
"explorer.confirmDragAndDrop": false,
"editor.minimap.enabled": true,
"editor.minimap.showSlider": "always",
"editor.minimap.scale": 1,
"editor.minimap.renderCharacters": false,
"editor.matchBrackets": "always",
"editor.colorDecorators": false,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"workbench.colorCustomizations": {
"list.errorForeground": "#F66146",
"list.warningForeground": "#FFA08D",
"gitDecoration.modifiedResourceForeground": "#E2C08D",
"gitDecoriation.untrackedResourceForeground": "#73C990",
"foreground": "#9DA5B3",
"gitDecoration.ignoredResourceForeground": "#6B727D",
"editor.background": "#282C34",
"editorError.foreground": "#F66146",
"editorInfo.foreground": "#F66146",
"editorWarning.foreground": "#E2C08D",
"list.activeSelectionBackground": "#4F7AC9"
},
"workbench.tree.indent": 17,
"editor.renderWhitespace": "all",
"workbench.editor.tabSizing": "shrink",
"workbench.activityBar.visible": false,
"explorer.openEditors.visible": 0,
"window.title": "${activeEditorShort}${separator}${rootPath}",
"breadcrumbs.enabled": false,
"editor.scrollBeyondLastLine": false,
"editor.renderIndentGuides": false,
"explorer.decorations.badges": true,
"window.zoomLevel": 0,
"editor.fontSize": 14,
"editor.lineHeight": 21
- 主要言語
- TypeScript
- スター
- 1.8k
- フォーク
- 307
- 平均マージ
- 1時間 53分
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Binaryify/OneDark-Pro のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Binaryify/OneDark-Pro#900 · コメント 11 件 · リアクション 4 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
Binaryify/OneDark-Pro#891 ·
-
need a blur themeオープンfeature request
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
Binaryify/OneDark-Pro#880 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Binaryify/OneDark-Pro#878 · コメント 4 件 · リアクション 1 件 ·
-
Support for VS 2026オープンfeature request
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
Binaryify/OneDark-Pro#875 · コメント 1 件 · リアクション 2 件 ·
Binaryify/OneDark-Pro の issue をすべて見る
似ている issue
-
good first issue help wanted
難易度 2/5 1時間未満 初心者へのやさしさ 86/100
Intelligenza-Umana/intelligenza-umana-web#16 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
open-webui/open-webui#35184 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
danielmiessler/LifeOS#3001 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信