有没有一种方法可以改变python-3.5在windows 10下空闲的背景色?我试过谷歌和阅读文档,但我找不到答案。我不确定这是否可能..。
发布于 2015-10-11 21:41:45
对于文本窗口背景,转到选项=>空闲首选项=>突出显示选项卡。将内置主题(两者都相同)保存为具有新名称的自定义主题。用白色背景将每个元素的背景更改为所需的颜色。按“申请”或“确定”。或者,将以下内容复制到<HOMEDIR>/.idlerc/config-highlight.cfg中(可能已经存在,也可能不存在),并将#ffffff更改为您想要的颜色。
[Custom Light]
normal-foreground= #000000
normal-background= #ffffff
keyword-foreground= #ff7700
keyword-background= #ffffff
builtin-foreground= #900090
builtin-background= #ffffff
comment-foreground= #dd0000
comment-background= #ffffff
string-foreground= #00aa00
string-background= #ffffff
definition-foreground= #0000ff
definition-background= #ffffff
hilite-foreground= #000000
hilite-background= gray
break-foreground= black
break-background= #ffff55
hit-foreground= #ffffff
hit-background= #000000
error-foreground= #000000
error-background= #ff7777
#cursor (only foreground can be set, restart IDLE)
cursor-foreground= black
#shell window
stdout-foreground= blue
stdout-background= #ffffff
stderr-foreground= red
stderr-background= #ffffff
console-foreground= #770000
console-background= #ffffff我们刚刚添加了一个闲置的深色主题和深蓝色背景。为此,保留#002240原样或更改为另一种深色。
[Custom Dark]
comment-foreground = #dd0000
console-foreground = #ff4d4d
error-foreground = #FFFFFF
hilite-background = #7e7e7e
string-foreground = #02ff02
stderr-background = #002240
stderr-foreground = #ffb3b3
console-background = #002240
hit-background = #fbfbfb
string-background = #002240
normal-background = #002240
hilite-foreground = #FFFFFF
keyword-foreground = #ff8000
error-background = #c86464
keyword-background = #002240
builtin-background = #002240
break-background = #808000
builtin-foreground = #ff00ff
definition-foreground = #5e5eff
stdout-foreground = #c2d1fa
definition-background = #002240
normal-foreground = #FFFFFF
cursor-foreground = #ffffff
stdout-background = #002240
hit-foreground = #002240
comment-background = #002240
break-foreground = #FFFFFF我们计划增加一种方法,一次改变所有正常的背景。能够影响对话框将是以后的项目。
发布于 2018-06-12 13:39:14
以下是以下步骤:
发布于 2020-05-13 11:07:58
遵循这些步骤,保护你的眼睛。
来源:CodeHexz
祝夜猫子快乐:)
https://stackoverflow.com/questions/33064424
复制相似问题