python IDLE自定義背景配置 字型

2021-08-09 02:25:37 字數 2337 閱讀 9821

[obsidian]

definition-foreground = #678cb1

error-foreground = #ff0000

string-background = #293134

keyword-foreground = #93c763

normal-foreground = #e0e2e4

comment-background = #293134

hit-foreground = #e0e2e4

builtin-background = #293134

stdout-foreground = #678cb1

cursor-foreground = #e0e2e4

break-background = #293134

comment-foreground = #66747b

hilite-background = #2f393c

hilite-foreground = #e0e2e4

definition-background = #293134

stderr-background = #293134

hit-background = #000000

console-foreground = #e0e2e4

normal-background = #293134

builtin-foreground = #e0e2e4

stdout-background = #293134

console-background = #293134

stderr-foreground = #fb0000

keyword-background = #293134

string-foreground = #ec7600

break-foreground = #e0e2e4

error-background = #293134

[tango]

definition-foreground = #fce94f

error-foreground = #fa8072

string-background = #2e3436

keyword-foreground = #8cc4ff

normal-foreground = #ffffff

comment-background = #2e3436

hit-foreground = #ffffff

break-foreground = #000000

builtin-background = #2e3436

stdout-foreground = #eeeeec

cursor-foreground = #fce94f

hit-background = #2e3436

comment-foreground = #73d216

hilite-background = #edd400

definition-background = #2e3436

stderr-background = #2e3436

break-background = #2e3436

console-foreground = #87ceeb

normal-background = #2e3436

builtin-foreground = #ad7fa8

stdout-background = #2e3436

console-background = #2e3436

stderr-foreground = #ff3e40

keyword-background = #2e3436

string-foreground = #e9b96e

hilite-foreground = #2e3436

error-background = #2e3436

直接把上面的**copy到剛才開啟的config-highlight.def檔案中,然後重啟shell就可以。 

重啟後,shell會預設選擇原來的。你就在highlighting theme主題中檢視,此時已經多了兩種主題,就是你剛才新增的。 

主題名字為tango.. 

大功告成。。

在setting中,如果你設定的字型是中文字型,再怎麼修改大小也是沒有用的。必須把字型改為英文本型才行。。 

自定義Android選單背景

如何自定義android選單背景呢?預設的情況下android系統的選單是白色的,下面的例子可以通過自定義的xml布局實現個性化的menu public class menuex extends activity override public boolean oncreateoptionsmenu...

自定義Android選單背景

如何自定義android選單背景呢?預設的情況下android系統的選單是白色的,下面的例子可以通過自定義的xml布局實現個性化的menu 關鍵 就是重寫layout類的工廠方法oncreateview,這裡對比繪製的view來替換系統中的 protected void setmenubackgro...

VS code 完美自定義背景

這裡介紹在visual studio code中自定義背景的方法 在安裝完成後,軟體會提示外掛程式損壞,不必管他,讓他不 再顯示即可。2 檔案 首選項 設定 中,自定義以下內容 background.enable true,background.usedefault false,background...