Idle Highlighting Themes

Aug 13, 2015 23:52



Прекрасная стандратная тема Idle меня не смущает, т.к. я чаще пытаюсь творить в Sublime Text 3.Но все же как изменить цветовую тему Idle на более темную...


1. Проследовать в домашний каталог пользователя, далее в директорию .idlerc

$ cd .idlerc

2. Дописать секцию [Theme] в конец файла config-main.cfg так:

$ cat >>config-main.cfg

[Theme]
default = 0
name = TERMINAL THEME

Ctrl+C (закончить ввод и выйти)

* name может быть любым из config-highlight.cfg
* в конце файла необходима пустая строка

В результате должно получиться:

$ cat config-main.cfg

[EditorWindow]
font = dejavu sans mono
font-size = 9

[General]
autosave = 1

[Theme]
default = 0
name = TERMINAL THEME

Стандартная тема светлая, поэтому я добавил себе темные:

1. Собственная (просто темная тема), копирующая цветовую схему Терминала .




2. Найденная, копирующая оформление интерфейса Codeacademy .




3. Тема под названием Obsidian .




4. Тема под названием Tango .




3. Создаем файл config-highlight.cfg , затем записываем в него темы:

$ >config-highlight.cfg
$ cat >config-highlight.cfg

[TERMINAL THEME]
break-background = #131926
break-foreground = #B3B3B3
builtin-background = #131926
builtin-foreground = #B3B3B3
comment-background = #131926
comment-foreground = #B3B3B3
console-background = #131926
console-foreground = #B3B3B3
cursor-foreground = #0F4999
definition-background = #131926
definition-foreground = #B3B3B3
error-background = #131926
error-foreground = #B3B3B3
hilite-background = #163B59
hilite-foreground = #B3B3B3
hit-background = #131926
hit-foreground = #B3B3B3
keyword-background = #131926
keyword-foreground = #B3B3B3
normal-background = #131926
normal-foreground = #B3B3B3
stderr-background = #131926
stderr-foreground = #B3B3B3
stdout-background = #131926
stdout-foreground = #B3B3B3
string-background = #131926
string-foreground = #B3B3B3

[CODECADEMY UI]
break-background = #FFFF55
break-foreground = BLACK
builtin-background = #223133
builtin-foreground = #73AFCC
comment-background = #223133
comment-foreground = #9D9D9D
console-background = #223133
console-foreground = #FFFFFF
cursor-foreground = #FFFFFF
definition-background = #223133
definition-foreground = #FFFFFF
error-background = #223133
error-foreground = #FF3C3C
hilite-background = #C6D7D9
hilite-foreground = #494949
hit-background = #333333
hit-foreground = #FFFFFF
keyword-background = #223133
keyword-foreground = #9B7BB0
normal-background = #223133
normal-foreground = #EBEBEB
stderr-background = #223133
stderr-foreground = #FF3E40
stdout-background = #223133
stdout-foreground = #EEEEEE
string-background = #223133
string-foreground = #CCC959

[OBSIDIAN]
break-background = #293134
break-foreground = #E0E2E4
builtin-background = #293134
builtin-foreground = #E0E2E4
comment-background = #293134
comment-foreground = #66747B
console-background = #293134
console-foreground = #E0E2E4
cursor-foreground = #E0E2E4
definition-background = #293134
definition-foreground = #678CB1
error-background = #293134
error-foreground = #FF0000
hilite-background = #2F393C
hilite-foreground = #E0E2E4
hit-background = #000000
hit-foreground = #E0E2E4
keyword-background = #293134
keyword-foreground = #93C763
normal-background = #293134
normal-foreground = #E0E2E4
stderr-background = #293134
stderr-foreground = #FB0000
stdout-background = #293134
stdout-foreground = #678CB1
string-background = #293134
string-foreground = #EC7600

[TANGO]
break-background = #2E3436
break-foreground = #000000
builtin-background = #2E3436
builtin-foreground = #AD7FA8
comment-background = #2E3436
comment-foreground = #73D216
console-background = #2E3436
console-foreground = #87CEEB
cursor-foreground = #FFFFFF
definition-background = #2E3436
definition-foreground = #FCE94F
error-background = #2E3436
error-foreground = #FA8072
hilite-background = #EDD400
hilite-foreground = #2E3436
hit-background = #2E3436
hit-foreground = #FFFFFF
keyword-background = #2E3436
keyword-foreground = #8CC4FF
normal-background = #2E3436
normal-foreground = #FFFFFF
stderr-background = #2E3436
stderr-foreground = #FF3E40
stdout-background = #2E3436
stdout-foreground = #EEEEEC
string-background = #2E3436
string-foreground = #E9B96E

[desert]
definition-foreground = #98fb98
error-foreground = #ff0000
string-background = #333333
keyword-foreground = #cc6600
normal-foreground = #f0e68c
comment-background = #333333
hit-foreground = #ffffff
break-foreground = black
builtin-background = #333333
stdout-foreground = #eeeeee
cursor-foreground = #ffcc00
hit-background = #333333
comment-foreground = #87ceeb
hilite-background = gray
definition-background = #333333
stderr-background = #333333
break-background = #ffff55
console-foreground = #87ceeb
normal-background = #333333
builtin-foreground = #519e51
stdout-background = #333333
console-background = #333333
stderr-foreground = #ff3e40
keyword-background = #333333
string-foreground = #ffa0a0
hilite-foreground = #000000
error-background = #000000

[Matrix]
definition-foreground = #0000ff
error-foreground = #000000
string-background = #000000
keyword-foreground = #ff7700
normal-foreground = #00ff00
comment-background = #000000
hit-foreground = #ffffff
builtin-background = #000000
hilite-foreground = #000000
stdout-foreground = blue
cursor-foreground = #ff0000
break-background = #ffff55
comment-foreground = #dd0000
hilite-background = gray
definition-background = #000000
stderr-background = #ffffff
hit-background = #000000
console-foreground = #770000
normal-background = #000000
builtin-foreground = #900090
stdout-background = #000000
console-background = #ffffff
stderr-foreground = red
keyword-background = #000000
string-foreground = #00aa00
break-foreground = black
error-background = #ff7777

[monokai]
normal-foreground= #F8F8F2
normal-background= #272822
keyword-foreground= #F92672
keyword-background= #272822
builtin-foreground= #66D9EF
builtin-background= #272822
comment-foreground= #75715E
comment-background= #272822
string-foreground= #FD971F
string-background= #272822
definition-foreground= #A6E22E
definition-background= #272822
hilite-foreground= #F8F8F2
hilite-background= gray
break-foreground= black
break-background= #ffff55
hit-foreground= #F8F8F2
hit-background= #171812
error-foreground= #ff3338
error-background= #272822
cursor-foreground= #F8F8F2
stdout-foreground= #DDDDDD
stdout-background= #272822
stderr-foreground= #ff3338
stderr-background= #272822
console-foreground= #75715E
console-background= #272822

[UbuntuLike]
definition-foreground = #86deff
error-foreground = #ff1c1c
normal-foreground = #ffffff
keyword-foreground = #ff7800
hilite-foreground = #000000
comment-background = #2c001e
hit-foreground = #ffffff
builtin-background = #2c001e
stdout-foreground = #efefef
string-background = #2c001e
break-background = #ffff55
comment-foreground = #997678
hilite-background = gray
definition-background = #2c001e
stderr-background = #2c001e
hit-background = #000000
console-foreground = #2cbbff
normal-background = #2c001e
builtin-foreground = #ff3bd2
stdout-background = #2c001e
console-background = #2c001e
stderr-foreground = #ffff00
keyword-background = #2c001e
string-foreground = #00e05b
break-foreground = black
error-background = #201e21
cursor-foreground = #fffff5

Ctrl+D (закончить ввод и выйти)

Строгую тему терминала от него самого не отличишь. Мне нравится.




Я меняю шрифт на DejaVu Sans Mono (Book), 9pt.




В Xubuntu стандартные цвета были такие (мало ли):




Шаблон для создания собственной темы:

[THEME TEMPLATE]
BREAK-BACKGROUND =
BREAK-FOREGROUND =
BUILTIN-BACKGROUND =
BUILTIN-FOREGROUND =
COMMENT-BACKGROUND =
COMMENT-FOREGROUND =
CONSOLE-BACKGROUND =
CONSOLE-FOREGROUND =
CURSOR-FOREGROUND = # курсор не имеет фона
DEFINITION-BACKGROUND =
DEFINITION-FOREGROUND =
ERROR-BACKGROUND =
ERROR-FOREGROUND =
HILITE-BACKGROUND = # цвета при выделении
HILITE-FOREGROUND = # цвета при выделении
HIT-BACKGROUND =
HIT-FOREGROUND =
KEYWORD-BACKGROUND =
KEYWORD-FOREGROUND =
NORMAL-BACKGROUND =
NORMAL-FOREGROUND =
STDERR-BACKGROUND =
STDERR-FOREGROUND =
STDOUT-BACKGROUND =
STDOUT-FOREGROUND =
STRING-BACKGROUND =
STRING-FOREGROUND =

http://livelikeapythonista.blogspot.ru/2014/05/idle-highlighting-themes.html
https://gist.github.com/dsosby/1122904#file-config-highlight-cfg

команды, python, утилита, config, разное, консоль

Previous post Next post
Up