pry-theme 0.1.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +15 -0
- data/.gitignore +1 -0
- data/.travis.yml +8 -1
- data/CHANGELOG.md +40 -0
- data/Gemfile +1 -1
- data/README.md +26 -48
- data/Rakefile +10 -1
- data/VERSION +1 -0
- data/lib/pry-theme/basic_editor.rb +116 -0
- data/lib/pry-theme/color.rb +431 -0
- data/lib/pry-theme/color_table.rb +39 -0
- data/lib/pry-theme/colors/color16.rb +35 -0
- data/lib/pry-theme/colors/color256.rb +30 -0
- data/lib/pry-theme/colors/color8.rb +31 -0
- data/lib/pry-theme/commands.rb +237 -275
- data/lib/pry-theme/declaration.rb +120 -0
- data/lib/pry-theme/definition.rb +111 -0
- data/lib/pry-theme/formattable.rb +26 -0
- data/lib/pry-theme/hex.rb +76 -0
- data/lib/pry-theme/preview.rb +74 -0
- data/lib/pry-theme/rgb.rb +238 -13
- data/lib/pry-theme/term.rb +66 -0
- data/lib/pry-theme/theme.rb +116 -26
- data/lib/pry-theme/theme_list.rb +52 -0
- data/lib/pry-theme/when_started_hook.rb +25 -27
- data/lib/pry-theme.rb +84 -158
- data/pry-theme.gemspec +14 -18
- data/spec/color_table.rb +53 -0
- data/spec/colors/color16_spec.rb +255 -0
- data/spec/colors/color256_spec.rb +323 -0
- data/spec/colors/color8_spec.rb +254 -0
- data/spec/commands_spec.rb +203 -0
- data/spec/helper.rb +16 -0
- data/spec/hex_spec.rb +52 -0
- data/spec/rgb_spec.rb +81 -0
- data/spec/term_spec.rb +23 -0
- data/spec/theme_spec.rb +486 -0
- data/themes/github.prytheme.rb +49 -0
- data/themes/monokai.prytheme.rb +48 -0
- data/themes/pry-classic-16.prytheme.rb +48 -0
- data/themes/pry-classic-256.prytheme.rb +48 -0
- data/themes/pry-classic-8.prytheme.rb +48 -0
- data/themes/pry-cold.prytheme.rb +49 -0
- data/themes/pry-love-16.prytheme.rb +48 -0
- data/themes/pry-love-8.prytheme.rb +48 -0
- data/themes/pry-modern-16.prytheme.rb +48 -0
- data/themes/pry-modern-256.prytheme.rb +48 -0
- data/themes/pry-modern-8.prytheme.rb +48 -0
- data/themes/pry-monochrome.prytheme.rb +32 -0
- data/themes/pry-siberia-16.prytheme.rb +48 -0
- data/themes/pry-siberia-8.prytheme.rb +48 -0
- data/themes/pry-tepid-16.prytheme.rb +48 -0
- data/themes/pry-tepid-8.prytheme.rb +48 -0
- data/themes/pry-zealand-16.prytheme.rb +48 -0
- data/themes/pry-zealand-8.prytheme.rb +49 -0
- data/themes/railscasts.prytheme.rb +50 -0
- data/themes/solarized.prytheme.rb +48 -0
- data/themes/tomorrow.prytheme.rb +48 -0
- data/themes/twilight.prytheme.rb +48 -0
- data/themes/vim-default.prytheme.rb +50 -0
- data/themes/vim-detailed.prytheme.rb +50 -0
- data/themes/zenburn.prytheme.rb +48 -0
- metadata +56 -41
- data/lib/pry-theme/color_converter.rb +0 -55
- data/lib/pry-theme/helper.rb +0 -87
- data/lib/pry-theme/palette.rb +0 -85
- data/lib/pry-theme/term_notation.rb +0 -17
- data/lib/pry-theme/version.rb +0 -3
- data/test/fixtures/pry-classic.prytheme +0 -38
- data/test/helper.rb +0 -56
- data/test/test_color_converter.rb +0 -38
- data/test/test_commands.rb +0 -55
- data/test/test_helper.rb +0 -45
- data/test/test_palette.rb +0 -11
- data/themes/github.prytheme +0 -43
- data/themes/monokai.prytheme +0 -42
- data/themes/pry-classic.prytheme +0 -43
- data/themes/pry-cold.prytheme +0 -43
- data/themes/pry-modern.prytheme +0 -42
- data/themes/railscasts.prytheme +0 -44
- data/themes/saturday.prytheme +0 -42
- data/themes/solarized.prytheme +0 -43
- data/themes/tomorrow.prytheme +0 -43
- data/themes/twilight.prytheme +0 -42
- data/themes/vim-default.prytheme +0 -42
- data/themes/vim-detailed.prytheme +0 -42
- data/themes/zenburn.prytheme +0 -43
@@ -0,0 +1,48 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-classic-8', :color_model => 8 do
|
2
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
3
|
+
description 'The default Pry Theme for terminals with poor color support'
|
4
|
+
|
5
|
+
define_theme do
|
6
|
+
class_ 'magenta'
|
7
|
+
class_variable 'blue'
|
8
|
+
comment 'blue'
|
9
|
+
constant 'blue'
|
10
|
+
error 'yellow', 'red'
|
11
|
+
float 'magenta'
|
12
|
+
global_variable 'green'
|
13
|
+
inline_delimiter 'red'
|
14
|
+
instance_variable 'blue'
|
15
|
+
integer 'blue'
|
16
|
+
keyword 'red'
|
17
|
+
method 'blue'
|
18
|
+
predefined_constant 'cyan'
|
19
|
+
symbol 'green'
|
20
|
+
|
21
|
+
regexp do
|
22
|
+
self_ 'red'
|
23
|
+
char 'red'
|
24
|
+
content 'red'
|
25
|
+
delimiter 'red'
|
26
|
+
modifier 'magenta'
|
27
|
+
escape 'red'
|
28
|
+
end
|
29
|
+
|
30
|
+
shell do
|
31
|
+
self_ 'green'
|
32
|
+
char 'green'
|
33
|
+
content 'green'
|
34
|
+
delimiter 'green'
|
35
|
+
escape 'green'
|
36
|
+
end
|
37
|
+
|
38
|
+
string do
|
39
|
+
self_ 'green'
|
40
|
+
char 'green'
|
41
|
+
content 'green'
|
42
|
+
delimiter 'green'
|
43
|
+
escape 'green'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
PryTheme::ThemeList.add_theme(t)
|
@@ -0,0 +1,49 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-cold' do
|
2
|
+
author :name => 'John Mair'
|
3
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
4
|
+
description 'Based on Charcoalblack theme from Emacs'
|
5
|
+
|
6
|
+
define_theme do
|
7
|
+
class_ 'robin_egg_blue02', [:bold]
|
8
|
+
class_variable 'pale_blue03', [:bold]
|
9
|
+
comment 'light_grey03'
|
10
|
+
constant 'robin_egg_blue02', [:bold]
|
11
|
+
error 'robin_egg_blue02', [:bold, :italic]
|
12
|
+
float 'silver01'
|
13
|
+
global_variable 'robin_egg_blue02'
|
14
|
+
inline_delimiter 'puce01'
|
15
|
+
instance_variable 'pale_blue03'
|
16
|
+
integer 'seroburomalinovyj01'
|
17
|
+
keyword 'pale_blue03', [:bold]
|
18
|
+
method 'royal_blue05'
|
19
|
+
predefined_constant 'robin_egg_blue02', [:bold]
|
20
|
+
symbol 'bluish03'
|
21
|
+
|
22
|
+
regexp do
|
23
|
+
self_ 'gray02'
|
24
|
+
char 'white'
|
25
|
+
content 'bluish03'
|
26
|
+
delimiter 'gray02'
|
27
|
+
modifier 'gray02'
|
28
|
+
escape 'puce01'
|
29
|
+
end
|
30
|
+
|
31
|
+
shell do
|
32
|
+
self_ 'gray02'
|
33
|
+
char 'white'
|
34
|
+
content 'puce01'
|
35
|
+
delimiter 'gray02'
|
36
|
+
escape 'puce01'
|
37
|
+
end
|
38
|
+
|
39
|
+
string do
|
40
|
+
self_ 'bluish03'
|
41
|
+
char 'white'
|
42
|
+
content 'bluish03'
|
43
|
+
delimiter 'bluish03'
|
44
|
+
escape 'puce01'
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
PryTheme::ThemeList.add_theme(t)
|
@@ -0,0 +1,48 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-love-16', :color_model => 16 do
|
2
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
3
|
+
description 'Adds the love, expressed in 16 colors'
|
4
|
+
|
5
|
+
define_theme do
|
6
|
+
class_ 'bright_magenta'
|
7
|
+
class_variable 'red'
|
8
|
+
comment 'cyan'
|
9
|
+
constant 'bright_magenta'
|
10
|
+
error 'bright_yellow', 'magenta'
|
11
|
+
float 'magenta'
|
12
|
+
global_variable 'red'
|
13
|
+
inline_delimiter 'red'
|
14
|
+
instance_variable 'red'
|
15
|
+
integer 'magenta'
|
16
|
+
keyword 'bright_red'
|
17
|
+
method 'bright_green'
|
18
|
+
predefined_constant 'magenta'
|
19
|
+
symbol 'magenta'
|
20
|
+
|
21
|
+
regexp do
|
22
|
+
self_ 'yellow'
|
23
|
+
char 'yellow'
|
24
|
+
content 'yellow'
|
25
|
+
delimiter 'bright_red'
|
26
|
+
modifier 'bright_yellow'
|
27
|
+
escape 'bright_magenta'
|
28
|
+
end
|
29
|
+
|
30
|
+
shell do
|
31
|
+
self_ 'yellow'
|
32
|
+
char 'yellow'
|
33
|
+
content 'yellow'
|
34
|
+
delimiter 'bright_red'
|
35
|
+
escape 'bright_magenta'
|
36
|
+
end
|
37
|
+
|
38
|
+
string do
|
39
|
+
self_ 'yellow'
|
40
|
+
char 'yellow'
|
41
|
+
content 'yellow'
|
42
|
+
delimiter 'bright_red'
|
43
|
+
escape 'bright_magenta'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
PryTheme::ThemeList.add_theme(t)
|
@@ -0,0 +1,48 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-love-8', :color_model => 8 do
|
2
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
3
|
+
description 'Adds the love, expressed in 8 colors'
|
4
|
+
|
5
|
+
define_theme do
|
6
|
+
class_ 'magenta'
|
7
|
+
class_variable 'red'
|
8
|
+
comment 'cyan'
|
9
|
+
constant 'magenta'
|
10
|
+
error 'yellow', 'magenta'
|
11
|
+
float 'magenta'
|
12
|
+
global_variable 'red'
|
13
|
+
inline_delimiter 'red'
|
14
|
+
instance_variable 'red'
|
15
|
+
integer 'magenta'
|
16
|
+
keyword 'red'
|
17
|
+
method 'green'
|
18
|
+
predefined_constant 'magenta'
|
19
|
+
symbol 'magenta'
|
20
|
+
|
21
|
+
regexp do
|
22
|
+
self_ 'yellow'
|
23
|
+
char 'yellow'
|
24
|
+
content 'yellow'
|
25
|
+
delimiter 'red'
|
26
|
+
modifier 'yellow'
|
27
|
+
escape 'magenta'
|
28
|
+
end
|
29
|
+
|
30
|
+
shell do
|
31
|
+
self_ 'yellow'
|
32
|
+
char 'yellow'
|
33
|
+
content 'yellow'
|
34
|
+
delimiter 'red'
|
35
|
+
escape 'magenta'
|
36
|
+
end
|
37
|
+
|
38
|
+
string do
|
39
|
+
self_ 'yellow'
|
40
|
+
char 'yellow'
|
41
|
+
content 'yellow'
|
42
|
+
delimiter 'red'
|
43
|
+
escape 'magenta'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
PryTheme::ThemeList.add_theme(t)
|
@@ -0,0 +1,48 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-modern-16', :color_model => 16 do
|
2
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
3
|
+
description 'Simplied version of pry-modern-256'
|
4
|
+
|
5
|
+
define_theme do
|
6
|
+
class_ 'bright_magenta'
|
7
|
+
class_variable 'bright_cyan'
|
8
|
+
comment 'blue'
|
9
|
+
constant 'bright_blue'
|
10
|
+
error 'black', 'white'
|
11
|
+
float 'bright_red'
|
12
|
+
global_variable 'bright_yellow'
|
13
|
+
inline_delimiter 'bright_green'
|
14
|
+
instance_variable 'bright_cyan'
|
15
|
+
integer 'bright_blue'
|
16
|
+
keyword 'bright_red'
|
17
|
+
method 'bright_yellow'
|
18
|
+
predefined_constant 'bright_cyan'
|
19
|
+
symbol 'bright_green'
|
20
|
+
|
21
|
+
regexp do
|
22
|
+
self_ 'bright_red'
|
23
|
+
char 'bright_red'
|
24
|
+
content 'magenta'
|
25
|
+
delimiter 'red'
|
26
|
+
modifier 'red'
|
27
|
+
escape 'red'
|
28
|
+
end
|
29
|
+
|
30
|
+
shell do
|
31
|
+
self_ 'bright_green'
|
32
|
+
char 'bright_green'
|
33
|
+
content 'green'
|
34
|
+
delimiter 'green'
|
35
|
+
escape 'green'
|
36
|
+
end
|
37
|
+
|
38
|
+
string do
|
39
|
+
self_ 'bright_green'
|
40
|
+
char 'bright_green'
|
41
|
+
content 'green'
|
42
|
+
delimiter 'green'
|
43
|
+
escape 'green'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
PryTheme::ThemeList.add_theme(t)
|
@@ -0,0 +1,48 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-modern-256' do
|
2
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
3
|
+
description 'Nifty version of pry-classic'
|
4
|
+
|
5
|
+
define_theme do
|
6
|
+
class_ 'fuchsia', [:bold]
|
7
|
+
class_variable 'robin_egg_blue04'
|
8
|
+
comment 'cerulean_grey01'
|
9
|
+
constant 'klein_blue', [:bold, :underline]
|
10
|
+
error 'cerulean_grey02'
|
11
|
+
float 'dark_pink01', [:bold]
|
12
|
+
global_variable 'gold'
|
13
|
+
inline_delimiter 'malachite01', [:bold]
|
14
|
+
instance_variable 'robin_egg_blue04'
|
15
|
+
integer 'robin_egg_blue01', [:bold]
|
16
|
+
keyword 'chestnut01', [:bold]
|
17
|
+
method 'grass01', [:bold]
|
18
|
+
predefined_constant 'cyan', [:bold]
|
19
|
+
symbol 'malachite02', [:bold]
|
20
|
+
|
21
|
+
regexp do
|
22
|
+
self_ 'tangerine'
|
23
|
+
char 'tangerine'
|
24
|
+
content 'violaceous03'
|
25
|
+
delimiter 'tangerine', [:bold]
|
26
|
+
modifier 'dark_pink01', [:bold]
|
27
|
+
escape 'malachite01', [:bold]
|
28
|
+
end
|
29
|
+
|
30
|
+
shell do
|
31
|
+
self_ 'grass01'
|
32
|
+
char 'grass01'
|
33
|
+
content 'grass01'
|
34
|
+
delimiter 'white'
|
35
|
+
escape 'malachite01', [:bold]
|
36
|
+
end
|
37
|
+
|
38
|
+
string do
|
39
|
+
self_ 'malachite01'
|
40
|
+
char 'malachite01'
|
41
|
+
content 'malachite01'
|
42
|
+
delimiter 'malachite01', [:bold]
|
43
|
+
escape 'malachite01', [:bold]
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
PryTheme::ThemeList.add_theme(t)
|
@@ -0,0 +1,48 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-modern-8', :color_model => 8 do
|
2
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
3
|
+
description 'Simplied version of pry-modern-16'
|
4
|
+
|
5
|
+
define_theme do
|
6
|
+
class_ 'magenta'
|
7
|
+
class_variable 'cyan'
|
8
|
+
comment 'blue'
|
9
|
+
constant 'blue'
|
10
|
+
error 'black', 'white'
|
11
|
+
float 'red'
|
12
|
+
global_variable 'yellow'
|
13
|
+
inline_delimiter 'green'
|
14
|
+
instance_variable 'cyan'
|
15
|
+
integer 'blue'
|
16
|
+
keyword 'red'
|
17
|
+
method 'yellow'
|
18
|
+
predefined_constant 'cyan'
|
19
|
+
symbol 'green'
|
20
|
+
|
21
|
+
regexp do
|
22
|
+
self_ 'red'
|
23
|
+
char 'red'
|
24
|
+
content 'magenta'
|
25
|
+
delimiter 'red'
|
26
|
+
modifier 'red'
|
27
|
+
escape 'red'
|
28
|
+
end
|
29
|
+
|
30
|
+
shell do
|
31
|
+
self_ 'green'
|
32
|
+
char 'green'
|
33
|
+
content 'green'
|
34
|
+
delimiter 'green'
|
35
|
+
escape 'green'
|
36
|
+
end
|
37
|
+
|
38
|
+
string do
|
39
|
+
self_ 'green'
|
40
|
+
char 'green'
|
41
|
+
content 'green'
|
42
|
+
delimiter 'green'
|
43
|
+
escape 'green'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
PryTheme::ThemeList.add_theme(t)
|
@@ -0,0 +1,32 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-monochrome' do
|
2
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
3
|
+
description 'For people who hate colors'
|
4
|
+
|
5
|
+
define_theme do
|
6
|
+
class_ [:bold, :underline]
|
7
|
+
comment [:italic]
|
8
|
+
constant [:bold]
|
9
|
+
error [:bold, :italic, :underline]
|
10
|
+
global_variable [:bold]
|
11
|
+
inline_delimiter [:bold]
|
12
|
+
keyword [:bold]
|
13
|
+
method [:underline]
|
14
|
+
predefined_constant [:italic]
|
15
|
+
symbol [:underline]
|
16
|
+
|
17
|
+
regexp do
|
18
|
+
delimiter [:bold]
|
19
|
+
modifier [:italic]
|
20
|
+
end
|
21
|
+
|
22
|
+
shell do
|
23
|
+
delimiter [:bold]
|
24
|
+
end
|
25
|
+
|
26
|
+
string do
|
27
|
+
delimiter [:bold]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
PryTheme::ThemeList.add_theme(t)
|
@@ -0,0 +1,48 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-siberia-16', :color_model => 16 do
|
2
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
3
|
+
description 'This one reminds me of the cold Siberia...'
|
4
|
+
|
5
|
+
define_theme do
|
6
|
+
class_ 'bright_blue'
|
7
|
+
class_variable 'bright_blue'
|
8
|
+
comment 'yellow'
|
9
|
+
constant 'bright_blue'
|
10
|
+
error 'white', 'bright_blue'
|
11
|
+
float 'bright_yellow'
|
12
|
+
global_variable 'bright_yellow'
|
13
|
+
inline_delimiter 'green'
|
14
|
+
instance_variable 'bright_blue'
|
15
|
+
integer 'bright_yellow'
|
16
|
+
keyword 'cyan'
|
17
|
+
method 'bright_cyan'
|
18
|
+
predefined_constant 'bright_cyan'
|
19
|
+
symbol 'cyan'
|
20
|
+
|
21
|
+
regexp do
|
22
|
+
self_ 'bright_blue'
|
23
|
+
char 'bright_cyan'
|
24
|
+
content 'bright_blue'
|
25
|
+
delimiter 'blue'
|
26
|
+
modifier 'cyan'
|
27
|
+
escape 'cyan'
|
28
|
+
end
|
29
|
+
|
30
|
+
shell do
|
31
|
+
self_ 'bright_blue'
|
32
|
+
char 'bright_cyan'
|
33
|
+
content 'bright_blue'
|
34
|
+
delimiter 'cyan'
|
35
|
+
escape 'cyan'
|
36
|
+
end
|
37
|
+
|
38
|
+
string do
|
39
|
+
self_ 'bright_blue'
|
40
|
+
char 'bright_cyan'
|
41
|
+
content 'bright_blue'
|
42
|
+
delimiter 'cyan'
|
43
|
+
escape 'cyan'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
PryTheme::ThemeList.add_theme(t)
|
@@ -0,0 +1,48 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-siberia-8', :color_model => 8 do
|
2
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
3
|
+
description 'This one reminds me of the cold Siberia... (just a tad)'
|
4
|
+
|
5
|
+
define_theme do
|
6
|
+
class_ 'blue'
|
7
|
+
class_variable 'blue'
|
8
|
+
comment 'yellow'
|
9
|
+
constant 'blue'
|
10
|
+
error 'white', 'blue'
|
11
|
+
float 'yellow'
|
12
|
+
global_variable 'yellow'
|
13
|
+
inline_delimiter 'green'
|
14
|
+
instance_variable 'blue'
|
15
|
+
integer 'yellow'
|
16
|
+
keyword 'cyan'
|
17
|
+
method 'cyan'
|
18
|
+
predefined_constant 'cyan'
|
19
|
+
symbol 'cyan'
|
20
|
+
|
21
|
+
regexp do
|
22
|
+
self_ 'blue'
|
23
|
+
char 'cyan'
|
24
|
+
content 'blue'
|
25
|
+
delimiter 'cyan'
|
26
|
+
modifier 'blue'
|
27
|
+
escape 'blue'
|
28
|
+
end
|
29
|
+
|
30
|
+
shell do
|
31
|
+
self_ 'blue'
|
32
|
+
char 'cyan'
|
33
|
+
content 'blue'
|
34
|
+
delimiter 'cyan'
|
35
|
+
escape 'cyan'
|
36
|
+
end
|
37
|
+
|
38
|
+
string do
|
39
|
+
self_ 'blue'
|
40
|
+
char 'cyan'
|
41
|
+
content 'blue'
|
42
|
+
delimiter 'cyan'
|
43
|
+
escape 'cyan'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
PryTheme::ThemeList.add_theme(t)
|
@@ -0,0 +1,48 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-tepid-16', :color_model => 16 do
|
2
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
3
|
+
description 'Warm colors with warm soul'
|
4
|
+
|
5
|
+
define_theme do
|
6
|
+
class_ 'bright_magenta'
|
7
|
+
class_variable 'bright_magenta'
|
8
|
+
comment 'green'
|
9
|
+
constant 'bright_magenta'
|
10
|
+
error 'black', 'bright_magenta'
|
11
|
+
float 'bright_green'
|
12
|
+
global_variable 'bright_green'
|
13
|
+
inline_delimiter 'yellow'
|
14
|
+
instance_variable 'bright_magenta'
|
15
|
+
integer 'bright_green'
|
16
|
+
keyword 'yellow'
|
17
|
+
method 'bright_yellow'
|
18
|
+
predefined_constant 'bright_yellow'
|
19
|
+
symbol 'yellow'
|
20
|
+
|
21
|
+
regexp do
|
22
|
+
self_ 'bright_magenta'
|
23
|
+
char 'bright_yellow'
|
24
|
+
content 'bright_magenta'
|
25
|
+
delimiter 'magenta'
|
26
|
+
modifier 'yellow'
|
27
|
+
escape 'yellow'
|
28
|
+
end
|
29
|
+
|
30
|
+
shell do
|
31
|
+
self_ 'bright_magenta'
|
32
|
+
char 'bright_yellow'
|
33
|
+
content 'bright_magenta'
|
34
|
+
delimiter 'yellow'
|
35
|
+
escape 'yellow'
|
36
|
+
end
|
37
|
+
|
38
|
+
string do
|
39
|
+
self_ 'bright_magenta'
|
40
|
+
char 'bright_yellow'
|
41
|
+
content 'bright_magenta'
|
42
|
+
delimiter 'yellow'
|
43
|
+
escape 'yellow'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
PryTheme::ThemeList.add_theme(t)
|
@@ -0,0 +1,48 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-tepid-8', :color_model => 8 do
|
2
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
3
|
+
description 'Warm colors with warm soul'
|
4
|
+
|
5
|
+
define_theme do
|
6
|
+
class_ 'magenta'
|
7
|
+
class_variable 'magenta'
|
8
|
+
comment 'green'
|
9
|
+
constant 'magenta'
|
10
|
+
error 'black', 'magenta'
|
11
|
+
float 'green'
|
12
|
+
global_variable 'green'
|
13
|
+
inline_delimiter 'yellow'
|
14
|
+
instance_variable 'magenta'
|
15
|
+
integer 'green'
|
16
|
+
keyword 'yellow'
|
17
|
+
method 'yellow'
|
18
|
+
predefined_constant 'yellow'
|
19
|
+
symbol 'yellow'
|
20
|
+
|
21
|
+
regexp do
|
22
|
+
self_ 'magenta'
|
23
|
+
char 'yellow'
|
24
|
+
content 'magenta'
|
25
|
+
delimiter 'magenta'
|
26
|
+
modifier 'yellow'
|
27
|
+
escape 'yellow'
|
28
|
+
end
|
29
|
+
|
30
|
+
shell do
|
31
|
+
self_ 'magenta'
|
32
|
+
char 'yellow'
|
33
|
+
content 'magenta'
|
34
|
+
delimiter 'yellow'
|
35
|
+
escape 'yellow'
|
36
|
+
end
|
37
|
+
|
38
|
+
string do
|
39
|
+
self_ 'magenta'
|
40
|
+
char 'yellow'
|
41
|
+
content 'magenta'
|
42
|
+
delimiter 'yellow'
|
43
|
+
escape 'yellow'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
PryTheme::ThemeList.add_theme(t)
|
@@ -0,0 +1,48 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-zealand-16', :color_model => 16 do
|
2
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
3
|
+
description 'Feel the presence of green, ecologic and flourishing New Zealand in your terminal'
|
4
|
+
|
5
|
+
define_theme do
|
6
|
+
class_ 'bright_yellow'
|
7
|
+
class_variable 'bright_yellow'
|
8
|
+
comment 'magenta'
|
9
|
+
constant 'bright_yellow'
|
10
|
+
error 'black', 'bright_yellow'
|
11
|
+
float 'bright_magenta'
|
12
|
+
global_variable 'bright_magenta'
|
13
|
+
inline_delimiter 'green'
|
14
|
+
instance_variable 'bright_yellow'
|
15
|
+
integer 'bright_magenta'
|
16
|
+
keyword 'green'
|
17
|
+
method 'bright_green'
|
18
|
+
predefined_constant 'bright_green'
|
19
|
+
symbol 'green'
|
20
|
+
|
21
|
+
regexp do
|
22
|
+
self_ 'bright_yellow'
|
23
|
+
char 'bright_green'
|
24
|
+
content 'bright_yellow'
|
25
|
+
delimiter 'yellow'
|
26
|
+
modifier 'green'
|
27
|
+
escape 'green'
|
28
|
+
end
|
29
|
+
|
30
|
+
shell do
|
31
|
+
self_ 'bright_yellow'
|
32
|
+
char 'bright_green'
|
33
|
+
content 'bright_yellow'
|
34
|
+
delimiter 'green'
|
35
|
+
escape 'green'
|
36
|
+
end
|
37
|
+
|
38
|
+
string do
|
39
|
+
self_ 'bright_yellow'
|
40
|
+
char 'bright_green'
|
41
|
+
content 'bright_yellow'
|
42
|
+
delimiter 'green'
|
43
|
+
escape 'green'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
PryTheme::ThemeList.add_theme(t)
|
@@ -0,0 +1,49 @@
|
|
1
|
+
t = PryTheme.create :name => 'pry-zealand-8', :color_model => 8 do
|
2
|
+
author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
|
3
|
+
description 'Feel the presence of New Zealand in your terminal'
|
4
|
+
|
5
|
+
define_theme do
|
6
|
+
class_ 'yellow'
|
7
|
+
class_variable 'yellow'
|
8
|
+
comment 'magenta'
|
9
|
+
constant 'yellow'
|
10
|
+
error 'black', 'yellow'
|
11
|
+
float 'magenta'
|
12
|
+
global_variable 'magenta'
|
13
|
+
inline_delimiter 'green'
|
14
|
+
instance_variable 'yellow'
|
15
|
+
integer 'magenta'
|
16
|
+
keyword 'green'
|
17
|
+
method 'green'
|
18
|
+
predefined_constant 'green'
|
19
|
+
symbol 'green'
|
20
|
+
|
21
|
+
regexp do
|
22
|
+
self_ 'yellow'
|
23
|
+
char 'green'
|
24
|
+
content 'yellow'
|
25
|
+
delimiter 'yellow'
|
26
|
+
modifier 'green'
|
27
|
+
escape 'green'
|
28
|
+
end
|
29
|
+
|
30
|
+
shell do
|
31
|
+
self_ 'yellow'
|
32
|
+
char 'green'
|
33
|
+
content 'yellow'
|
34
|
+
delimiter 'green'
|
35
|
+
escape 'green'
|
36
|
+
end
|
37
|
+
|
38
|
+
string do
|
39
|
+
self_ 'yellow'
|
40
|
+
char 'green'
|
41
|
+
content 'yellow'
|
42
|
+
delimiter 'green'
|
43
|
+
escape 'green'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
PryTheme::ThemeList.add_theme(t)
|
49
|
+
|