定義vscode終端主題色

2022-05-06 23:57:11 字數 1090 閱讀 8859

一、定義vscode終端樣式

(1)定義顏色

vscode定義主題色官網:

"workbench.colorcustomizations":
(2)定義主題色

"editor.fontfamily": "menlo for powerline,fira code,menlo, monaco, 'courier new', monospace",
二、美化終端

三、美化iterm2

(1)安裝方法

(b)homebrew安裝: 

brew cask install iterm2
(2)配置主題

(3) 配置 oh my zsh

在終端輸入命令

sh -c "$(curl -fssl "
安裝好之後,需要把 zsh 設定為當前使用者的預設 shell(這樣新建標籤的時候才會使用 zsh):

chsh -s /bin/zsh
然後,我們編輯vim ~/.zshrc檔案,將主題配置修改為zsh_theme="agnoster"

(4)配置字型

然後開啟 iterm2,按command + ,鍵,開啟 preferences 配置介面,然後profiles -> text -> font -> chanage font,選擇 meslo lg m regular for powerline 字型。

另外,vs code 的終端字型,也需要進行配置,開啟 vs code,按command + ,鍵,開啟使用者配置,搜尋fontfamily,然後將右邊的配置增加"terminal.integrated.fontfamily": "meslo lg m for powerline"

vs code設定終端主題顏色

開啟setting.json頁面有兩種方式 一種 管理 設定 搜尋 workbench.colorcustomizations 在settings.json中編輯 或者 管理 設定 開啟設定 json 搜尋 workbench.colorcustomizations 如下圖 或者 一種 ctrl s...

vscode 自定義主題樣式

vscode的外掛程式安裝目錄c users 你的使用者名稱 vscode extensions 以tomorrow主題為例,我們進入外掛程式目錄c users 你的使用者名稱 vscode extensions ms vscode.theme tomorrowkit 0.1.4 themes,用編...

修改element ui主題色

命令列主題工具 1 安裝主題工具 在自己安裝目錄下 執行 npm install element theme dev 2 安裝chalk主題 npm install element theme chalk d 3.初始化變數檔案 主題生成工具安裝成功後,如果全域性安裝可以在命令列裡通過 et 呼叫工...