pry-theme 0.1.3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/lib/pry-theme/palette.rb
DELETED
@@ -1,85 +0,0 @@
|
|
1
|
-
module PryTheme
|
2
|
-
module Formatting
|
3
|
-
ATTRIBUTES = {
|
4
|
-
"b" => "1", # Bold.
|
5
|
-
"u" => "4", # Underline.
|
6
|
-
"i" => "7", # Inverse.
|
7
|
-
"d" => "10" # Default.
|
8
|
-
}
|
9
|
-
|
10
|
-
BACKGROUNDS = {
|
11
|
-
"black" => "40",
|
12
|
-
"red" => "41",
|
13
|
-
"green" => "42",
|
14
|
-
"yellow" => "43",
|
15
|
-
"blue" => "44",
|
16
|
-
"magenta" => "45",
|
17
|
-
"cyan" => "46",
|
18
|
-
"white" => "47",
|
19
|
-
"default" => "49",
|
20
|
-
}
|
21
|
-
end
|
22
|
-
|
23
|
-
# Creates a new color.
|
24
|
-
Color = Struct.new(:term, :human) do
|
25
|
-
def to_term(notation)
|
26
|
-
"\e[#{ notation }#{ term };7m#{ term }\e[0m:\e[#{ notation }#{ term }m#{ human }\e[0m"
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
# Color palettes aka set of colors. Use 8 colors for limited terminals (like
|
31
|
-
# `linux` or other pithecanthropic crap. Real men's choice is 256 colors).
|
32
|
-
class Palette
|
33
|
-
|
34
|
-
# @return [Array<Color>] The colors in the current palette.
|
35
|
-
attr_reader :colors
|
36
|
-
|
37
|
-
# @return [Integer] The number representing max number of colors in theme.
|
38
|
-
attr_reader :color_depth
|
39
|
-
|
40
|
-
# @return [String] The notation to be used in conversions to terminal.
|
41
|
-
attr_reader :notation
|
42
|
-
|
43
|
-
# @param [Integer] colors The number of colors to be used in the palette.
|
44
|
-
def initialize(colors=8)
|
45
|
-
@color_depth = colors.to_i
|
46
|
-
@notation = TermNotation::COLOR256 if color_depth == 256
|
47
|
-
|
48
|
-
init_palette = "init_#{@color_depth}_colors"
|
49
|
-
|
50
|
-
if self.class.private_method_defined?(init_palette)
|
51
|
-
palette = send(init_palette)
|
52
|
-
else
|
53
|
-
raise NoPaletteError, "There is no palette with #{colors} colors (try 8 or 256)"
|
54
|
-
end
|
55
|
-
|
56
|
-
@colors = palette[:term].zip(palette[:human]).map do |color|
|
57
|
-
Color.new(*color)
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
def to_a
|
62
|
-
@colors.map { |c| c.to_term(@notation) }
|
63
|
-
end
|
64
|
-
|
65
|
-
private
|
66
|
-
|
67
|
-
def init_8_colors
|
68
|
-
{
|
69
|
-
:term => [ 30, 31, 32, 33, 34, 35, 36, 37],
|
70
|
-
:human => [ :black, :red, :green, :yellow, :blue, :magenta, :cyan, :white ]
|
71
|
-
}
|
72
|
-
end
|
73
|
-
|
74
|
-
def init_256_colors
|
75
|
-
{
|
76
|
-
:term => (0...256).to_a,
|
77
|
-
:human => [ :black, :maroon, :toad_in_love, :olive, :navy_blue, :violet_eggplant, :teal, :silver, :gray, :red, :green, :yellow, :blue, :magenta, :cyan, :white, :black, :dark_indigo, :ultramarine01, :ultramarine02, :persian_blue01, :blue, :dark_spring_green, :dark_turquoise, :cerulean_grey01, :denim01, :royal_blue01, :royal_blue02, :toad_in_love01, :sea_green01, :teal01, :cerulean_grey02, :klein_blue, :azure01, :vert_de_pomme01, :jade01, :jade02, :robin_egg_blue01, :bondi_blue, :light_blue01, :vert_de_pomme02, :malachite01, :emerald01, :turquoise, :robin_egg_blue02, :electric01, :green, :spring_green01, :spring_green02, :mint_green01, :aquamarine01, :cyan, :flea_belly, :plum, :indigo, :purple01, :violet01, :persian_blue02, :khaki01, :wet_asphalt01, :seroburomalinovyj01, :denim02, :royal_blue03, :royal_blue04, :olive_drab, :fern_green, :slate_gray, :steel_blue, :cornflower_blue01, :azure02, :grass01, :emerald02, :sea_green02, :robin_egg_blue03, :bluish01, :light_blue02, :vert_de_pomme03, :pale_green01, :emerald03, :aquamarine02, :robin_egg_blue04, :sky01, :bright_green, :malachite02, :spring_green03, :chartreuse01, :aquamarine03, :cyan01, :maroon01, :eggplant01, :violet_eggplant01, :purple02, :violet02, :violet03, :khaki02, :pale_mauve01, :seroburomalinovyj02, :amethyst01, :amethyst02, :heliotrope01, :olive01, :dark_tan, :gray01, :bluish02, :cornflower_blue02, :royal_blue05, :grass02, :asparagus, :swamp_green01, :light_grey01, :bluish03, :cornflower_blue03, :green_yellow01, :pale_green02, :emerald04, :celadon, :pale_blue01, :sky02, :viridian, :vert_de_pomme04, :mint_green02, :chartreuse02, :aquamarine04, :electric02, :bismarck_furious, :eggplant02, :red_violet01, :violet_eggplant02, :bright_violet, :violet04, :ochre, :pale_mauve02, :pale_red_violet01, :orchid01, :amethyst03, :heliotrope02, :dark_goldenrod, :pale_brown, :mountbatten_pink, :lilac01, :wisteria01, :amethyst04, :old_gold, :brass01, :swamp_green02, :light_grey02, :niagara, :wisteria02, :lime01, :pistachio01, :moss_green, :dark_tea_green, :pale_blue02, :pale_cornflower_blue, :green_yellow02, :green_yellow03, :pistachio02, :chartreuse03, :aquamarine05, :pale_blue03, :titian, :cerise01, :red_violet02, :hot_pink01, :bright_violet, :magenta01, :tenne, :chestnut01, :pale_red_violet02, :orchid02, :orchid03, :heliotrope03, :siena, :dark_salmon, :puce01, :puce2, :violaceous01, :violaceous02, :dark_pear, :brass02, :tan, :pale_chestnut, :lilac02, :wisteria03, :childs_surprise, :vert_de_peche, :flax, :gray_tea_green, :abdel_kerims_beard01, :periwinkle, :lime02, :pistachio03, :pistachio04, :tea_green01, :tea_green02, :pang, :red, :crimson, :cerise02, :hot_pink02, :hot_pink03, :magenta, :international_orange, :alizarin, :dark_pink01, :dark_pink02, :shocked_star, :fuchsia, :tangerine, :salmon, :chestnut02, :pale_red_violet03, :pale_magenta, :violaceous03, :orange, :pink_orange, :saumon, :pink01, :pink02, :violaceous04, :gold, :mustard01, :mustard02, :dark_peach, :pale_pink, :thistle, :yellow, :corn01, :corn02, :perhydor, :lemon_cream, :white, :black01, :black02, :black03, :bistre, :anthracite, :wet_asphalt02, :wet_asphalt03, :wet_asphalt04, :wet_asphalt05, :wet_asphalt06, :wet_asphalt07, :gray01, :gray, :gray02, :gray03, :gray04, :gray05, :light_grey03, :light_grey04, :silver01, :abdel_kerims_beard02, :abdel_kerims_beard03, :abdel_kerims_beard04, :seashell ]
|
78
|
-
}
|
79
|
-
end
|
80
|
-
|
81
|
-
end
|
82
|
-
|
83
|
-
class NoPaletteError < StandardError; end
|
84
|
-
class NoColorError < StandardError; end
|
85
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
module PryTheme
|
2
|
-
module TermNotation
|
3
|
-
|
4
|
-
# The prefix for 256-color ANSI foreground codes.
|
5
|
-
COLOR256 = "38;5;"
|
6
|
-
|
7
|
-
# The prefix for 256-color ANSI background codes.
|
8
|
-
BACKGROUND256 = "48;5;"
|
9
|
-
|
10
|
-
# The prefix for displaying a text only with a background color.
|
11
|
-
NO_FOREGROUND = "38;0"
|
12
|
-
|
13
|
-
# The prefix represents an empty ANSI code (used to please CodeRay).
|
14
|
-
EMPTY = "38;0;0"
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|
data/lib/pry-theme/version.rb
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
---
|
2
|
-
meta:
|
3
|
-
theme-name : pry-classic
|
4
|
-
version : 4
|
5
|
-
color-depth : 8
|
6
|
-
description : Default Pry theme
|
7
|
-
author : Kyrylo Silin <kyrylosilin@gmail.com>, Kornelius Kalnbach
|
8
|
-
|
9
|
-
theme:
|
10
|
-
class : magenta (b)
|
11
|
-
class_variable : cyan
|
12
|
-
comment : blue
|
13
|
-
constant : blue (bu)
|
14
|
-
error : yellow (b) on red
|
15
|
-
float : magenta (b)
|
16
|
-
global_variable : on green
|
17
|
-
instance_variable : (d)
|
18
|
-
integer : blue (b)
|
19
|
-
keyword : red (b)
|
20
|
-
method : blue (b)
|
21
|
-
predefined_constant : cyan (b)
|
22
|
-
regexp:
|
23
|
-
self : red
|
24
|
-
content : red
|
25
|
-
delimiter : red (db)
|
26
|
-
modifier : magenta (b)
|
27
|
-
function : (db)
|
28
|
-
shell:
|
29
|
-
self : on green
|
30
|
-
content : (db)
|
31
|
-
delimiter : white
|
32
|
-
string:
|
33
|
-
self : green
|
34
|
-
content : green
|
35
|
-
modifier : green (b)
|
36
|
-
escape : cyan (b)
|
37
|
-
delimiter : green (b)
|
38
|
-
symbol : green (b)
|
data/test/helper.rb
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'pry'
|
3
|
-
|
4
|
-
# Brute force or otherwise it won't work for all platforms.
|
5
|
-
begin
|
6
|
-
$:.unshift File.expand_path("../../lib", __FILE__)
|
7
|
-
require 'pry-theme'
|
8
|
-
rescue
|
9
|
-
end
|
10
|
-
|
11
|
-
require 'bacon'
|
12
|
-
|
13
|
-
puts "Ruby version: #{RUBY_VERSION}; Pry Theme version: #{PryTheme::VERSION}"
|
14
|
-
|
15
|
-
class InputTester
|
16
|
-
def initialize(*actions)
|
17
|
-
@orig_actions = actions.dup
|
18
|
-
@actions = actions
|
19
|
-
end
|
20
|
-
|
21
|
-
def readline(*)
|
22
|
-
@actions.shift
|
23
|
-
end
|
24
|
-
|
25
|
-
def rewind
|
26
|
-
@actions = @orig_actions.dup
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
def mock_pry(*args)
|
31
|
-
args.flatten!
|
32
|
-
binding = args.first.is_a?(Binding) ? args.shift : binding()
|
33
|
-
|
34
|
-
input = InputTester.new(*args)
|
35
|
-
output = StringIO.new
|
36
|
-
|
37
|
-
redirect_pry_io(input, output) do
|
38
|
-
binding.pry
|
39
|
-
end
|
40
|
-
|
41
|
-
output.string
|
42
|
-
end
|
43
|
-
|
44
|
-
def redirect_pry_io(new_in, new_out = StringIO.new)
|
45
|
-
old_in = Pry.input
|
46
|
-
old_out = Pry.output
|
47
|
-
|
48
|
-
Pry.input = new_in
|
49
|
-
Pry.output = new_out
|
50
|
-
begin
|
51
|
-
yield
|
52
|
-
ensure
|
53
|
-
Pry.input = old_in
|
54
|
-
Pry.output = old_out
|
55
|
-
end
|
56
|
-
end
|
@@ -1,38 +0,0 @@
|
|
1
|
-
require 'helper'
|
2
|
-
|
3
|
-
describe PryTheme::ColorConverter do
|
4
|
-
|
5
|
-
before do
|
6
|
-
@converter = PryTheme::ColorConverter
|
7
|
-
end
|
8
|
-
|
9
|
-
describe PryTheme::ColorConverter::COLORS do
|
10
|
-
it 'should have 256 colors' do
|
11
|
-
@converter::COLORS.size.should == 256
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
it "should convert from rgb to hex" do
|
16
|
-
@converter.rgb_to_hex("55,55,55").should == "#373737"
|
17
|
-
end
|
18
|
-
|
19
|
-
it "should convert from rgb to ansi" do
|
20
|
-
@converter.rgb_to_ansi("55,55,55").should == 59
|
21
|
-
end
|
22
|
-
|
23
|
-
it "should convert from hex to rgb with an octothorp sign" do
|
24
|
-
@converter.hex_to_rgb("#373737").should == [55, 55, 55]
|
25
|
-
end
|
26
|
-
|
27
|
-
it "should convert from hex to rgb without an octothorp sign" do
|
28
|
-
@converter.hex_to_rgb("373737").should == [55, 55, 55]
|
29
|
-
end
|
30
|
-
|
31
|
-
it "should convert from hex to ansi with an octothorp sign" do
|
32
|
-
@converter.hex_to_ansi("#373737").should == 59
|
33
|
-
end
|
34
|
-
|
35
|
-
it "should convert from ansi to rgb without an octothorp sign" do
|
36
|
-
@converter.hex_to_ansi("373737").should == 59
|
37
|
-
end
|
38
|
-
end
|
data/test/test_commands.rb
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
require 'helper'
|
2
|
-
|
3
|
-
describe "PryTheme::Commands" do
|
4
|
-
describe "color option" do
|
5
|
-
it "should display a color when given a numeric argument" do
|
6
|
-
mock_pry(binding, "pry-theme -c 23").should =~ /dark_turquoise/
|
7
|
-
end
|
8
|
-
|
9
|
-
it "should display warning when invalid color number given" do
|
10
|
-
out = mock_pry("pry-theme -c 1000")
|
11
|
-
out.should =~ /Invalid color: 1000/
|
12
|
-
end
|
13
|
-
|
14
|
-
it "should display warning when random symbols given" do
|
15
|
-
out = mock_pry("pry-theme -c $_dopey+")
|
16
|
-
out.should =~ /Invalid color: \$_dopey\+/
|
17
|
-
end
|
18
|
-
|
19
|
-
it "should display a color when a hex given" do
|
20
|
-
mock_pry("pry-theme -c #625a2d").should =~ /khaki01/
|
21
|
-
end
|
22
|
-
|
23
|
-
it "should display a color when an rgb given" do
|
24
|
-
mock_pry("pry-theme -c 95,196,60").should =~ /pale_green01/
|
25
|
-
end
|
26
|
-
|
27
|
-
it "should display a color when a human-readable name given" do
|
28
|
-
mock_pry("pry-theme -c steel_blue").should =~ /steel_blue/
|
29
|
-
end
|
30
|
-
|
31
|
-
it "should display multiple colors when a substring given" do
|
32
|
-
out = mock_pry("pry-theme -c dark_t")
|
33
|
-
|
34
|
-
out.should =~ /dark_turquoise/
|
35
|
-
out.should =~ /dark_tan/
|
36
|
-
out.should =~ /dark_tea_green/
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
describe "all-colors option" do
|
41
|
-
it "should display all colors for 8-color palette" do
|
42
|
-
out = mock_pry("pry-theme -a 8")
|
43
|
-
|
44
|
-
out.should =~ /black/
|
45
|
-
out.should =~ /magenta/
|
46
|
-
end
|
47
|
-
|
48
|
-
#it "should display all colors for 256-color palette" do
|
49
|
-
#out = mock_pry("pry-theme -a 256")
|
50
|
-
|
51
|
-
#out.should =~ /black/
|
52
|
-
#out.should =~ /seashell/
|
53
|
-
#end
|
54
|
-
end
|
55
|
-
end
|
data/test/test_helper.rb
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
require 'helper'
|
2
|
-
|
3
|
-
describe PryTheme::Helper do
|
4
|
-
before do
|
5
|
-
@h = PryTheme::Helper
|
6
|
-
end
|
7
|
-
|
8
|
-
it "should show correctly default themes" do
|
9
|
-
themes = %w{
|
10
|
-
zenburn solarized vim-default railscasts pry-cold saturday twilight
|
11
|
-
github monokai pry-modern tomorrow pry-classic vim-detailed
|
12
|
-
}
|
13
|
-
themes.map! { |theme| theme + ".prytheme" }
|
14
|
-
|
15
|
-
(@h.example_themes - themes).should == []
|
16
|
-
end
|
17
|
-
|
18
|
-
it "should show correct theme file_version" do
|
19
|
-
path = File.join(File.dirname(__FILE__), "fixtures", "pry-classic.prytheme")
|
20
|
-
@h.theme_file_version(path).should == 4
|
21
|
-
end
|
22
|
-
|
23
|
-
it "should detect ansi color" do
|
24
|
-
@h.ansi?(0).should == true
|
25
|
-
@h.ansi?(-1).should == false
|
26
|
-
@h.ansi?(256).should == false
|
27
|
-
@h.ansi?("bashful").should == false
|
28
|
-
end
|
29
|
-
|
30
|
-
it "should detect rgb color" do
|
31
|
-
@h.rgb?("55,55,55").should == true
|
32
|
-
@h.rgb?("0,0,0").should == true
|
33
|
-
@h.rgb?("256,255,255").should == false
|
34
|
-
@h.rgb?("1").should == false
|
35
|
-
@h.rgb?("55,55,55,").should == false
|
36
|
-
@h.rgb?("sneezy").should == false
|
37
|
-
end
|
38
|
-
|
39
|
-
it "should detect hex color" do
|
40
|
-
@h.hex?("#373737").should == true
|
41
|
-
@h.hex?("3A3F3E").should == true
|
42
|
-
@h.hex?("dopey").should == false
|
43
|
-
@h.hex?(373737).should == false
|
44
|
-
end
|
45
|
-
end
|
data/test/test_palette.rb
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
require 'helper'
|
2
|
-
|
3
|
-
describe "A PryTheme::Color instance" do
|
4
|
-
before do
|
5
|
-
@c = PryTheme::Color.new("111", "dopey")
|
6
|
-
end
|
7
|
-
|
8
|
-
it "should represent itself in terminal form" do
|
9
|
-
@c.to_term("38;5;").should == "\e[38;5;111;7m111\e[0m:\e[38;5;111mdopey\e[0m"
|
10
|
-
end
|
11
|
-
end
|
data/themes/github.prytheme
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
---
|
2
|
-
meta:
|
3
|
-
theme-name : github
|
4
|
-
version : 5
|
5
|
-
color-depth : 256
|
6
|
-
description : Based on github theme
|
7
|
-
author : John Mair,
|
8
|
-
Kyrylo Silin <kyrylosilin@gmail.com>
|
9
|
-
|
10
|
-
theme:
|
11
|
-
class : seroburomalinovyj01 (b)
|
12
|
-
class_variable : teal01
|
13
|
-
comment : gray01
|
14
|
-
constant : teal
|
15
|
-
error : bismarck_furious on periwinkle
|
16
|
-
float : teal01
|
17
|
-
global_variable : teal01
|
18
|
-
inline_delimiter : cerise01
|
19
|
-
instance_variable : teal01
|
20
|
-
integer : teal01
|
21
|
-
keyword : black (b)
|
22
|
-
method : maroon01 (b)
|
23
|
-
predefined_constant : teal01
|
24
|
-
regexp:
|
25
|
-
self : toad_in_love01
|
26
|
-
char : toad_in_love01
|
27
|
-
content : toad_in_love01
|
28
|
-
delimiter : toad_in_love01
|
29
|
-
modifier : toad_in_love01
|
30
|
-
escape : toad_in_love01
|
31
|
-
shell:
|
32
|
-
self : cerise01
|
33
|
-
char : cerise01
|
34
|
-
content : cerise01
|
35
|
-
delimiter : cerise01
|
36
|
-
escape : cerise01
|
37
|
-
string:
|
38
|
-
self : cerise01
|
39
|
-
char : cerise01
|
40
|
-
content : cerise01
|
41
|
-
delimiter : cerise01
|
42
|
-
escape : cerise01
|
43
|
-
symbol : violet_eggplant01
|
data/themes/monokai.prytheme
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
---
|
2
|
-
meta:
|
3
|
-
theme-name : monokai
|
4
|
-
version : 4
|
5
|
-
color-depth : 256
|
6
|
-
description : Based on Wimer Hazenberg's theme
|
7
|
-
author : Kyrylo Silin <kyrylosilin@gmail.com>
|
8
|
-
|
9
|
-
theme:
|
10
|
-
class : sky01
|
11
|
-
class_variable : white
|
12
|
-
comment : pale_mauve01
|
13
|
-
constant : sky01
|
14
|
-
error : crimson (i)
|
15
|
-
float : amethyst01
|
16
|
-
global_variable : white
|
17
|
-
inline_delimiter : white
|
18
|
-
instance_variable : white
|
19
|
-
integer : amethyst01
|
20
|
-
keyword : crimson
|
21
|
-
method : lime01
|
22
|
-
predefined_constant : sky01
|
23
|
-
regexp:
|
24
|
-
self : flax
|
25
|
-
char : white
|
26
|
-
content : flax
|
27
|
-
delimiter : flax
|
28
|
-
modifier : flax
|
29
|
-
escape : white
|
30
|
-
shell:
|
31
|
-
self : flax
|
32
|
-
char : white
|
33
|
-
content : flax
|
34
|
-
delimiter : flax
|
35
|
-
escape : white
|
36
|
-
string:
|
37
|
-
self : flax
|
38
|
-
char : white
|
39
|
-
content : flax
|
40
|
-
delimiter : flax
|
41
|
-
escape : white
|
42
|
-
symbol : amethyst01
|
data/themes/pry-classic.prytheme
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
---
|
2
|
-
meta:
|
3
|
-
theme-name : pry-classic
|
4
|
-
version : 6
|
5
|
-
color-depth : 8
|
6
|
-
description : Default Pry theme
|
7
|
-
author : Kyrylo Silin <kyrylosilin@gmail.com>,
|
8
|
-
Kornelius Kalnbach
|
9
|
-
|
10
|
-
theme:
|
11
|
-
class : magenta (b)
|
12
|
-
class_variable : cyan
|
13
|
-
comment : blue
|
14
|
-
constant : blue (bu)
|
15
|
-
error : yellow (b) on red
|
16
|
-
float : magenta (b)
|
17
|
-
global_variable : on green
|
18
|
-
inline_delimiter : (d)
|
19
|
-
instance_variable : (d)
|
20
|
-
integer : blue (b)
|
21
|
-
keyword : red (b)
|
22
|
-
method : blue (b)
|
23
|
-
predefined_constant : cyan (b)
|
24
|
-
regexp:
|
25
|
-
self : red
|
26
|
-
char : (d)
|
27
|
-
content : red
|
28
|
-
delimiter : red (db)
|
29
|
-
modifier : magenta (b)
|
30
|
-
escape : (d)
|
31
|
-
shell:
|
32
|
-
self : on green
|
33
|
-
char : (d)
|
34
|
-
content : (db)
|
35
|
-
delimiter : white
|
36
|
-
escape : (d)
|
37
|
-
string:
|
38
|
-
self : green
|
39
|
-
char : (d)
|
40
|
-
content : green
|
41
|
-
delimiter : green (b)
|
42
|
-
escape : (d)
|
43
|
-
symbol : green (b)
|
data/themes/pry-cold.prytheme
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
---
|
2
|
-
meta:
|
3
|
-
theme-name : pry-cold
|
4
|
-
version : 4
|
5
|
-
color-depth : 256
|
6
|
-
description : Based on Charcoalblack theme from Emacs
|
7
|
-
author : John Mair,
|
8
|
-
Kyrylo Silin <kyrylosilin@gmail.com>
|
9
|
-
|
10
|
-
theme:
|
11
|
-
class : robin_egg_blue02 (b)
|
12
|
-
class_variable : pale_blue03 (b)
|
13
|
-
comment : light_grey03
|
14
|
-
constant : robin_egg_blue02 (b)
|
15
|
-
error : robin_egg_blue02 (bi)
|
16
|
-
float : silver01
|
17
|
-
global_variable : robin_egg_blue02
|
18
|
-
inline_delimiter : puce01
|
19
|
-
instance_variable : pale_blue03
|
20
|
-
integer : seroburomalinovyj01
|
21
|
-
keyword : pale_blue03 (b)
|
22
|
-
method : royal_blue05
|
23
|
-
predefined_constant : robin_egg_blue02 (b)
|
24
|
-
regexp:
|
25
|
-
self : gray02
|
26
|
-
char : white
|
27
|
-
content : bluish03
|
28
|
-
delimiter : gray02
|
29
|
-
modifier : gray02
|
30
|
-
escape : puce01
|
31
|
-
shell:
|
32
|
-
self : gray02
|
33
|
-
char : white
|
34
|
-
content : puce01
|
35
|
-
delimiter : gray02
|
36
|
-
escape : puce01
|
37
|
-
string:
|
38
|
-
self : bluish03
|
39
|
-
char : white
|
40
|
-
content : bluish03
|
41
|
-
delimiter : bluish03
|
42
|
-
escape : puce01
|
43
|
-
symbol : bluish03
|
data/themes/pry-modern.prytheme
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
---
|
2
|
-
meta:
|
3
|
-
theme-name : pry-modern
|
4
|
-
version : 5
|
5
|
-
color-depth : 256
|
6
|
-
description : Nifty version of pry-classic
|
7
|
-
author : Kyrylo Silin <kyrylosilin@gmail.com>
|
8
|
-
|
9
|
-
theme:
|
10
|
-
class : fuchsia (b)
|
11
|
-
class_variable : robin_egg_blue04
|
12
|
-
comment : cerulean_grey01
|
13
|
-
constant : klein_blue (bu)
|
14
|
-
error : cerulean_grey02
|
15
|
-
float : dark_pink01 (b)
|
16
|
-
global_variable : gold
|
17
|
-
inline_delimiter : malachite01 (b)
|
18
|
-
instance_variable : (d)
|
19
|
-
integer : robin_egg_blue01 (b)
|
20
|
-
keyword : chestnut01 (b)
|
21
|
-
method : grass01 (b)
|
22
|
-
predefined_constant : cyan (b)
|
23
|
-
regexp:
|
24
|
-
self : tangerine
|
25
|
-
char : tangerine
|
26
|
-
content : violaceous03
|
27
|
-
delimiter : tangerine (db)
|
28
|
-
modifier : dark_pink01 (b)
|
29
|
-
escape : malachite01 (b)
|
30
|
-
shell:
|
31
|
-
self : grass01
|
32
|
-
char : grass01
|
33
|
-
content : grass01
|
34
|
-
delimiter : white
|
35
|
-
escape : malachite01 (b)
|
36
|
-
string:
|
37
|
-
self : malachite01
|
38
|
-
char : malachite01
|
39
|
-
content : malachite01
|
40
|
-
delimiter : malachite01 (b)
|
41
|
-
escape : malachite01 (b)
|
42
|
-
symbol : malachite02 (b)
|
data/themes/railscasts.prytheme
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
---
|
2
|
-
meta:
|
3
|
-
theme-name : railscasts
|
4
|
-
version : 8
|
5
|
-
color-depth : 256
|
6
|
-
description : RailsCasts theme
|
7
|
-
author : Ryan Fitzgerald,
|
8
|
-
John Mair,
|
9
|
-
Kyrylo Silin <kyrylosilin@gmail.com>
|
10
|
-
|
11
|
-
theme:
|
12
|
-
class : white
|
13
|
-
class_variable : robin_egg_blue03
|
14
|
-
comment : tan
|
15
|
-
constant : white
|
16
|
-
error : white on maroon
|
17
|
-
float : asparagus
|
18
|
-
global_variable : robin_egg_blue03
|
19
|
-
inline_delimiter : emerald02
|
20
|
-
instance_variable : robin_egg_blue03
|
21
|
-
integer : asparagus
|
22
|
-
keyword : international_orange
|
23
|
-
method : mustard02
|
24
|
-
predefined_constant : robin_egg_blue03
|
25
|
-
regexp:
|
26
|
-
self : asparagus
|
27
|
-
char : orange
|
28
|
-
content : asparagus
|
29
|
-
delimiter : asparagus
|
30
|
-
modifier : asparagus
|
31
|
-
escape : emerald02
|
32
|
-
shell:
|
33
|
-
self : asparagus
|
34
|
-
char : orange
|
35
|
-
content : asparagus
|
36
|
-
delimiter : asparagus
|
37
|
-
escape : emerald02
|
38
|
-
string:
|
39
|
-
self : asparagus
|
40
|
-
char : orange
|
41
|
-
content : asparagus
|
42
|
-
delimiter : asparagus
|
43
|
-
escape : emerald02
|
44
|
-
symbol : cornflower_blue01
|
data/themes/saturday.prytheme
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
---
|
2
|
-
meta:
|
3
|
-
theme-name : saturday
|
4
|
-
version : 8
|
5
|
-
color-depth : 256
|
6
|
-
description : A modification of "tommorow night"
|
7
|
-
author : John Mair (banisterfiend)
|
8
|
-
|
9
|
-
theme:
|
10
|
-
class : violaceous04
|
11
|
-
class_variable : gray05 (b)
|
12
|
-
comment : slate_gray
|
13
|
-
constant : violaceous04
|
14
|
-
error : black (u) on maroon
|
15
|
-
float : lilac01
|
16
|
-
global_variable : red
|
17
|
-
inline_delimiter : old_gold
|
18
|
-
instance_variable : gray05
|
19
|
-
integer : cornflower_blue03
|
20
|
-
keyword : alizarin
|
21
|
-
method : cornflower_blue03
|
22
|
-
predefined_constant : cyan
|
23
|
-
regexp:
|
24
|
-
self : alizarin
|
25
|
-
char : old_gold
|
26
|
-
content : alizarin
|
27
|
-
delimiter : alizarin
|
28
|
-
modifier : lilac01
|
29
|
-
escape : old_gold (b)
|
30
|
-
shell:
|
31
|
-
self : green
|
32
|
-
char : old_gold
|
33
|
-
content : toad_in_love
|
34
|
-
delimiter : green
|
35
|
-
escape : old_gold (b)
|
36
|
-
string:
|
37
|
-
self : old_gold
|
38
|
-
char : old_gold (b)
|
39
|
-
content : old_gold
|
40
|
-
delimiter : old_gold
|
41
|
-
escape : old_gold
|
42
|
-
symbol : old_gold (b)
|