sculptor 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +5 -13
  2. data/.editorconfig +10 -0
  3. data/Gemfile +0 -1
  4. data/Guardfile +5 -0
  5. data/Rakefile +1 -0
  6. data/bin/sculptor +14 -0
  7. data/features/create.feature +36 -0
  8. data/features/step_definitions/custom.rb +3 -0
  9. data/features/support/setup.rb +5 -0
  10. data/lib/sculptor/cli/create.rb +54 -0
  11. data/lib/sculptor/cli/init.rb +73 -0
  12. data/lib/sculptor/cli/server.rb +5 -0
  13. data/lib/sculptor/cli.rb +52 -0
  14. data/lib/sculptor/extensions/data_loaders.rb +53 -0
  15. data/lib/sculptor/extensions/model.rb +54 -0
  16. data/lib/sculptor/extensions/resource_helpers.rb +61 -0
  17. data/lib/sculptor/extensions.rb +8 -0
  18. data/lib/sculptor/load_paths.rb +53 -0
  19. data/lib/sculptor/method_missing.rb +6 -0
  20. data/lib/sculptor/templates/glyptotheque/.bowerrc +3 -0
  21. data/lib/sculptor/templates/glyptotheque/.editorconfig +10 -0
  22. data/lib/sculptor/templates/glyptotheque/.gitignore +1 -0
  23. data/lib/sculptor/templates/glyptotheque/Gemfile.tt +22 -0
  24. data/lib/sculptor/templates/glyptotheque/bower.json +11 -0
  25. data/lib/sculptor/templates/glyptotheque/config.tt +126 -0
  26. data/lib/sculptor/templates/glyptotheque/data/.gitkeep +0 -0
  27. data/lib/sculptor/templates/glyptotheque/source/assets/img/.gitkeep +0 -0
  28. data/lib/sculptor/templates/glyptotheque/source/assets/js/app.js +5 -0
  29. data/lib/sculptor/templates/glyptotheque/source/assets/js/glyptotheque/controllers.js +1 -0
  30. data/lib/sculptor/templates/glyptotheque/source/assets/js/glyptotheque/directives.js +29 -0
  31. data/lib/sculptor/templates/glyptotheque/source/assets/js/glyptotheque.js +3 -0
  32. data/lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque/_$variables.scss +2 -0
  33. data/lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque/_base.scss +14 -0
  34. data/lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque/_model.scss +145 -0
  35. data/lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque/_nav.scss +104 -0
  36. data/lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque.scss +6 -0
  37. data/lib/sculptor/templates/glyptotheque/source/assets/styles/main.scss +14 -0
  38. data/lib/sculptor/templates/glyptotheque/source/assets/styles/pygments/borland.css +46 -0
  39. data/lib/sculptor/templates/glyptotheque/source/assets/styles/pygments/colorful.css +61 -0
  40. data/lib/sculptor/templates/glyptotheque/source/assets/styles/pygments/github.css +61 -0
  41. data/lib/sculptor/templates/glyptotheque/source/assets/styles/pygments/trac.css +59 -0
  42. data/lib/sculptor/templates/glyptotheque/source/index.html.slim +3 -0
  43. data/lib/sculptor/templates/glyptotheque/source/layouts/glyptotheque.slim +8 -0
  44. data/lib/sculptor/templates/glyptotheque/source/layouts/layout.slim +18 -0
  45. data/lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_model-index.slim +11 -0
  46. data/lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_model-source.slim +5 -0
  47. data/lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_model.slim +23 -0
  48. data/lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_nav.slim +14 -0
  49. data/lib/sculptor/templates/glyptotheque.rb +34 -0
  50. data/lib/sculptor/templates/model/data.tt +4 -0
  51. data/lib/sculptor/templates/model/index-template.tt +5 -0
  52. data/lib/sculptor/templates/model/styles.tt +12 -0
  53. data/lib/sculptor/templates/model/template.tt +34 -0
  54. data/lib/sculptor/templates.rb +1 -0
  55. data/lib/sculptor/version.rb +1 -1
  56. data/lib/sculptor.rb +6 -5
  57. data/sculptor.gemspec +13 -1
  58. metadata +240 -12
@@ -0,0 +1,126 @@
1
+ ###################
2
+ # Page options, layouts, aliases and proxies
3
+ ###################
4
+
5
+ # With alternative layout
6
+ page '/**', :layout => 'glyptotheque'
7
+ page '/*-full.html', :layout => 'layout'
8
+ # With no layout
9
+ page "/components/**", :layout => false
10
+ page "/partials/*", :layout => false
11
+ page '*.css', :layout => false
12
+ page '*.js', :layout => false
13
+
14
+ # Meta redirects
15
+ # redirect 'index.html', to: 'prototypes/sample'
16
+
17
+ # A path which all have the same layout
18
+ # with_layout :admin do
19
+ # page "/admin/*"
20
+ # end
21
+
22
+ ready do
23
+ subpages_for('/', exclude_indexes: true).each do |r|
24
+ proxy "#{r.path.sub(r.ext, '')}-full.html", r.path, locals: { standalone: true }
25
+ end
26
+ end
27
+
28
+ ###################
29
+ # Helpers
30
+ ###################
31
+
32
+ # helpers do
33
+ # end
34
+
35
+ <% if options[:css_dir] -%>
36
+ set :css_dir, '<%= options[:css_dir] -%>'
37
+ <% else -%>
38
+ # Change the CSS directory
39
+ # set :css_dir, "alternative_css_directory"
40
+ <% end -%>
41
+ <% if options[:js_dir] -%>
42
+ set :js_dir, '<%= options[:js_dir] -%>'
43
+ <% else -%>
44
+ # Change the JS directory
45
+ # set :js_dir, "alternative_js_directory"
46
+ <% end -%>
47
+ <% if options[:images_dir] -%>
48
+ set :images_dir, '<%= options[:images_dir] -%>'
49
+ <% else -%>
50
+ # Change the images directory
51
+ # set :images_dir, "alternative_image_directory"
52
+ <% end -%>
53
+
54
+ set :relative_links, true
55
+
56
+ bowerrc_dir = JSON.parse(IO.read("#{root}/.bowerrc"))['directory']
57
+
58
+ # Compass configuration
59
+ compass_config do |config|
60
+ import_paths = %w(normalize.css)
61
+
62
+ import_paths.each do |path|
63
+ full_path = File.join(root, bowerrc_dir, path)
64
+ config.add_import_path(full_path)
65
+ config.add_import_path(Sass::CssImporter::Importer.new(full_path))
66
+ end
67
+
68
+ config.sass_options = {
69
+ quiet: true
70
+ }
71
+ # For Style Guide CSS sources
72
+ # config.output_style = :expanded
73
+ end
74
+
75
+ # Sprockets
76
+ ready do
77
+ sprockets.append_path(File.join(root, bowerrc_dir))
78
+ end
79
+
80
+ activate :model
81
+ activate :data_loaders
82
+ activate :resource_helpers
83
+ activate :syntax, css_class: 'codehilite'
84
+
85
+ # Development-secific configuration
86
+ configure :development do
87
+ activate :livereload
88
+ Slim::Engine.set_default_options :pretty => true
89
+ end
90
+
91
+ # Build-specific configuration
92
+ configure :build do
93
+ compass_config do |config|
94
+ config.sass_options = { :line_comments => false }
95
+ end
96
+
97
+ # For example, change the Compass output style for deployment
98
+ # activate :minify_css
99
+
100
+ # Minify Javascript on build
101
+ # activate :minify_javascript
102
+
103
+ # Enable cache buster
104
+ # activate :asset_hash
105
+
106
+ # Use relative URLs
107
+ activate :relative_assets
108
+
109
+ # Or use a different image path
110
+ # set :http_prefix, "/Content/images/"
111
+ end
112
+
113
+ ###################
114
+ # Additional tasks
115
+ ###################
116
+
117
+ # Simple launcher for local evaluation build
118
+ # Double click `build/launch.command` (Mac)
119
+ after_build do |builder|
120
+ file = "#{build_dir}/launch.command"
121
+ open(file, 'w') do |f|
122
+ f << "#!/bin/bash\n"
123
+ f << 'cd `dirname $0` && open "http://localhost:8000" && python -m SimpleHTTPServer'
124
+ end
125
+ File.chmod(0555, file)
126
+ end
File without changes
@@ -0,0 +1,5 @@
1
+ //= require angular
2
+ //= require lodash
3
+ //= require mousetrap/mousetrap.min
4
+
5
+ //= require glyptotheque
@@ -0,0 +1 @@
1
+ angular.module('controllers', []);
@@ -0,0 +1,29 @@
1
+ angular.module('directives', [])
2
+ .directive('glyptoModel', function($compile, $http, $templateCache) {
3
+ return {
4
+ restrict: 'C',
5
+ scope: true
6
+ };
7
+ })
8
+ .directive('navToggle', function() {
9
+ return {
10
+ restrict: 'C',
11
+ link: function($scope, $element, $attrs) {
12
+ $scope.hidden = false;
13
+ var nav = $element.parent('nav');
14
+
15
+ if(!nav.length) {
16
+ return;
17
+ }
18
+
19
+ Mousetrap.bind('f', function() {
20
+ $scope.toggle();
21
+ });
22
+
23
+ $scope.toggle = function() {
24
+ $scope.hidden = !$scope.hidden;
25
+ nav.toggleClass('m-hide', $scope.hidden);
26
+ };
27
+ }
28
+ };
29
+ });
@@ -0,0 +1,3 @@
1
+ //= require_tree ./glyptotheque
2
+
3
+ angular.module('glyptotheque', ['directives', 'controllers']);
@@ -0,0 +1,2 @@
1
+ $light-grey: #dedce3;
2
+ $glypto-nav-width: 200px;
@@ -0,0 +1,14 @@
1
+ html,
2
+ body {
3
+ height: 100%;
4
+ }
5
+
6
+ html {
7
+ background: #d9d7de;
8
+ }
9
+
10
+ .glyptotheque {
11
+ padding: 35px 20px;
12
+ min-height: 100%;
13
+ background: lighten($light-grey, 5);
14
+ }
@@ -0,0 +1,145 @@
1
+ @import 'bourbon';
2
+ @import 'pygments/github';
3
+
4
+ .glypto-model {
5
+ overflow: hidden;
6
+ box-shadow: 0 1px 0 0 rgba(black, .02), 0 1px 1px rgba(black, .1);
7
+ margin-bottom: 35px;
8
+
9
+ > header {
10
+ @include clearfix;
11
+ font-family: 'Helvetica Neue', Helvetica, sans-serif;
12
+ background: lighten($light-grey, 9);
13
+ position: relative;
14
+ padding: 10px 20px;
15
+ margin-bottom: 2px;
16
+
17
+ h3 {
18
+ font-weight: 400;
19
+ font-size: 1.2rem;
20
+ line-height: 1.2;
21
+ letter-spacing: -.02rem;
22
+ margin: 0;
23
+ float: left;
24
+ }
25
+
26
+ a {
27
+ color: #0070a8;
28
+ text-decoration: none;
29
+
30
+ &:hover {
31
+ color: #d25f00;
32
+ }
33
+ }
34
+
35
+ p {
36
+ padding: .3rem 0 0;
37
+ margin: 0;
38
+ color: #777;
39
+ font-size: .8rem;
40
+ clear: both;
41
+ }
42
+
43
+ ._standalone {
44
+ @include position(absolute, 0px 0px null null);
45
+ margin: 10px;
46
+ font-size: 12px;
47
+ }
48
+ }
49
+
50
+ > .glypto-model-stage {
51
+ background: lighten($light-grey, 9);
52
+ padding: 15px;
53
+
54
+ > figure {
55
+ margin: 0;
56
+ padding: 5px;
57
+ border-radius: 3px;
58
+ border: 1px dotted rgba(0,0,0,.13);
59
+ background: white;
60
+ }
61
+
62
+ ._component {
63
+ @include transition(200ms max-width);
64
+ overflow: hidden;
65
+ padding: 5px;
66
+
67
+ &.__small {
68
+ max-width: 320px;
69
+ }
70
+
71
+ &.__medium {
72
+ max-width: 640px;
73
+ }
74
+
75
+ &.__large {
76
+ max-width: 1280px;
77
+ }
78
+
79
+ &.__default {
80
+ max-width: 100%;
81
+ }
82
+ }
83
+ }
84
+
85
+ > .glypto-model-source {
86
+ background: rgba(black, .03);
87
+ box-shadow: inset 0 1px darken($light-grey, 5);
88
+
89
+ > header {
90
+ padding: 8px 0;
91
+ margin: 0 20px;
92
+ }
93
+
94
+ ._toggle {
95
+ display: block;
96
+ font-size: 10px;
97
+ font-weight: 600;
98
+ line-height: 1rem;
99
+ letter-spacing: 1px;
100
+ color: rgba(black, .3);
101
+ text-transform: uppercase;
102
+ padding: 0;
103
+ background: none;
104
+ border: none;
105
+ outline: none;
106
+
107
+ &:before {
108
+ @include transition(120ms);
109
+ content: '▶';
110
+ display: inline-block;
111
+ margin-right: 4px;
112
+ }
113
+
114
+ &:hover {
115
+ color: rgba(black, .4);
116
+ }
117
+ &:active {
118
+ color: rgba(black, .6);
119
+ }
120
+
121
+ &.__toggled:before {
122
+ @include transform(rotate(90deg));
123
+ }
124
+ }
125
+
126
+ > ._container {
127
+ @include transition(120ms);
128
+ max-height: 0;
129
+ overflow: auto;
130
+ }
131
+
132
+ pre {
133
+ border-top: 1px solid darken($light-grey, 3);
134
+ font: 12px/1.4 Menlo, monospace;
135
+ padding: 10px 20px;
136
+ margin: 0;
137
+ }
138
+
139
+ &.__expanded {
140
+ > ._container {
141
+ max-height: 20rem;
142
+ }
143
+ }
144
+ }
145
+ }
@@ -0,0 +1,104 @@
1
+ .glypto-nav {
2
+ @include transition(140ms ease-out);
3
+ float: left;
4
+ width: $glypto-nav-width;
5
+ color: #444;
6
+
7
+ & + .glyptotheque {
8
+ @include transition(140ms ease-out);
9
+ margin-left: $glypto-nav-width;
10
+ border-left: 1px solid rgba(black, .15);
11
+ }
12
+
13
+ &.m-hide {
14
+ margin-left: -$glypto-nav-width;
15
+
16
+ & + .glyptotheque {
17
+ margin-left: 0;
18
+ }
19
+ }
20
+
21
+ > .nav-toggle {
22
+ @include size(30px);
23
+ padding: 0;
24
+ background: none;
25
+ border: 0;
26
+ float: right;
27
+ margin-right: -31px;
28
+ position: relative;
29
+ cursor: pointer;
30
+ opacity: .5;
31
+ outline: none;
32
+
33
+ &:before {
34
+ @include position(absolute, 8px 0 null 0);
35
+ box-shadow: 0 0 0 1px black, 0 5px 0 1px black, 0 10px 0 1px black, 0 15px 0 1px black;
36
+ width: 16px;
37
+ margin: auto;
38
+ opacity: .6;
39
+ content: '';
40
+ }
41
+
42
+ &:hover {
43
+ opacity: .8;
44
+ }
45
+ &:active {
46
+ opacity: 1;
47
+ }
48
+ }
49
+
50
+ ul {
51
+ @include clearfix;
52
+ list-style: none;
53
+ font-size: .8rem;
54
+ line-height: 1.2;
55
+ padding: 0;
56
+ margin: 0;
57
+ }
58
+
59
+ ._logo + ul:before,
60
+ li:after {
61
+ @include background(linear-gradient(to right, transparent, rgba(black, .06)));
62
+ height: 1px;
63
+ display: block;
64
+ content: '';
65
+ }
66
+
67
+ a {
68
+ display: block;
69
+ padding: 8px 10px 8px 16px;
70
+ color: #777;
71
+ text-decoration: none;
72
+
73
+ &:hover {
74
+ color: inherit;
75
+ background: rgba(black, .03);
76
+ }
77
+
78
+ &:active {
79
+ color: inherit;
80
+ background: #b5cdd9;
81
+ }
82
+ }
83
+
84
+ li._index {
85
+ font-size: .9em;
86
+ font-weight: 600;
87
+ letter-spacing: 1px;
88
+ text-transform: uppercase;
89
+
90
+ a {
91
+ color: inherit;
92
+ padding: 8px 10px;
93
+ }
94
+ }
95
+
96
+ li.s-selected a {
97
+ color: inherit;
98
+ background: rgba(#b5cdd9, .5);
99
+ }
100
+
101
+ a._logo {
102
+ background: none;
103
+ }
104
+ }
@@ -0,0 +1,6 @@
1
+ @import 'bourbon';
2
+
3
+ @import 'glyptotheque/$variables';
4
+ @import 'glyptotheque/base';
5
+ @import 'glyptotheque/nav';
6
+ @import 'glyptotheque/model';
@@ -0,0 +1,14 @@
1
+ @import 'CSS:normalize';
2
+ @import 'bourbon';
3
+
4
+ * {
5
+ &,
6
+ &:before,
7
+ &:after {
8
+ @include box-sizing(border-box);
9
+ }
10
+ }
11
+
12
+ .glypto-model-stage.m-standalone {
13
+ padding: 1rem;
14
+ }
@@ -0,0 +1,46 @@
1
+ .codehilite .hll { background-color: #ffffcc }
2
+ .codehilite .c { color: #008800; font-style: italic } /* Comment */
3
+ .codehilite .err { color: #a61717; background-color: #e3d2d2 } /* Error */
4
+ .codehilite .k { color: #000080; font-weight: bold } /* Keyword */
5
+ .codehilite .cm { color: #008800; font-style: italic } /* Comment.Multiline */
6
+ .codehilite .cp { color: #008080 } /* Comment.Preproc */
7
+ .codehilite .c1 { color: #008800; font-style: italic } /* Comment.Single */
8
+ .codehilite .cs { color: #008800; font-weight: bold } /* Comment.Special */
9
+ .codehilite .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
10
+ .codehilite .ge { font-style: italic } /* Generic.Emph */
11
+ .codehilite .gr { color: #aa0000 } /* Generic.Error */
12
+ .codehilite .gh { color: #999999 } /* Generic.Heading */
13
+ .codehilite .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
14
+ .codehilite .go { color: #888888 } /* Generic.Output */
15
+ .codehilite .gp { color: #555555 } /* Generic.Prompt */
16
+ .codehilite .gs { font-weight: bold } /* Generic.Strong */
17
+ .codehilite .gu { color: #aaaaaa } /* Generic.Subheading */
18
+ .codehilite .gt { color: #aa0000 } /* Generic.Traceback */
19
+ .codehilite .kc { color: #000080; font-weight: bold } /* Keyword.Constant */
20
+ .codehilite .kd { color: #000080; font-weight: bold } /* Keyword.Declaration */
21
+ .codehilite .kn { color: #000080; font-weight: bold } /* Keyword.Namespace */
22
+ .codehilite .kp { color: #000080; font-weight: bold } /* Keyword.Pseudo */
23
+ .codehilite .kr { color: #000080; font-weight: bold } /* Keyword.Reserved */
24
+ .codehilite .kt { color: #000080; font-weight: bold } /* Keyword.Type */
25
+ .codehilite .m { color: #0000FF } /* Literal.Number */
26
+ .codehilite .s { color: #0000FF } /* Literal.String */
27
+ .codehilite .na { color: #FF0000 } /* Name.Attribute */
28
+ .codehilite .nt { color: #000080; font-weight: bold } /* Name.Tag */
29
+ .codehilite .ow { font-weight: bold } /* Operator.Word */
30
+ .codehilite .w { color: #bbbbbb } /* Text.Whitespace */
31
+ .codehilite .mf { color: #0000FF } /* Literal.Number.Float */
32
+ .codehilite .mh { color: #0000FF } /* Literal.Number.Hex */
33
+ .codehilite .mi { color: #0000FF } /* Literal.Number.Integer */
34
+ .codehilite .mo { color: #0000FF } /* Literal.Number.Oct */
35
+ .codehilite .sb { color: #0000FF } /* Literal.String.Backtick */
36
+ .codehilite .sc { color: #800080 } /* Literal.String.Char */
37
+ .codehilite .sd { color: #0000FF } /* Literal.String.Doc */
38
+ .codehilite .s2 { color: #0000FF } /* Literal.String.Double */
39
+ .codehilite .se { color: #0000FF } /* Literal.String.Escape */
40
+ .codehilite .sh { color: #0000FF } /* Literal.String.Heredoc */
41
+ .codehilite .si { color: #0000FF } /* Literal.String.Interpol */
42
+ .codehilite .sx { color: #0000FF } /* Literal.String.Other */
43
+ .codehilite .sr { color: #0000FF } /* Literal.String.Regex */
44
+ .codehilite .s1 { color: #0000FF } /* Literal.String.Single */
45
+ .codehilite .ss { color: #0000FF } /* Literal.String.Symbol */
46
+ .codehilite .il { color: #0000FF } /* Literal.Number.Integer.Long */
@@ -0,0 +1,61 @@
1
+ .codehilite .hll { background-color: #ffffcc }
2
+ .codehilite .c { color: #808080 } /* Comment */
3
+ .codehilite .err { color: #F00000; background-color: #F0A0A0 } /* Error */
4
+ .codehilite .k { color: #008000; font-weight: bold } /* Keyword */
5
+ .codehilite .o { color: #303030 } /* Operator */
6
+ .codehilite .cm { color: #808080 } /* Comment.Multiline */
7
+ .codehilite .cp { color: #507090 } /* Comment.Preproc */
8
+ .codehilite .c1 { color: #808080 } /* Comment.Single */
9
+ .codehilite .cs { color: #cc0000; font-weight: bold } /* Comment.Special */
10
+ .codehilite .gd { color: #A00000 } /* Generic.Deleted */
11
+ .codehilite .ge { font-style: italic } /* Generic.Emph */
12
+ .codehilite .gr { color: #FF0000 } /* Generic.Error */
13
+ .codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
14
+ .codehilite .gi { color: #00A000 } /* Generic.Inserted */
15
+ .codehilite .go { color: #808080 } /* Generic.Output */
16
+ .codehilite .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
17
+ .codehilite .gs { font-weight: bold } /* Generic.Strong */
18
+ .codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
19
+ .codehilite .gt { color: #0040D0 } /* Generic.Traceback */
20
+ .codehilite .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
21
+ .codehilite .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
22
+ .codehilite .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
23
+ .codehilite .kp { color: #003080; font-weight: bold } /* Keyword.Pseudo */
24
+ .codehilite .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
25
+ .codehilite .kt { color: #303090; font-weight: bold } /* Keyword.Type */
26
+ .codehilite .m { color: #6000E0; font-weight: bold } /* Literal.Number */
27
+ .codehilite .s { background-color: #fff0f0 } /* Literal.String */
28
+ .codehilite .na { color: #0000C0 } /* Name.Attribute */
29
+ .codehilite .nb { color: #007020 } /* Name.Builtin */
30
+ .codehilite .nc { color: #B00060; font-weight: bold } /* Name.Class */
31
+ .codehilite .no { color: #003060; font-weight: bold } /* Name.Constant */
32
+ .codehilite .nd { color: #505050; font-weight: bold } /* Name.Decorator */
33
+ .codehilite .ni { color: #800000; font-weight: bold } /* Name.Entity */
34
+ .codehilite .ne { color: #F00000; font-weight: bold } /* Name.Exception */
35
+ .codehilite .nf { color: #0060B0; font-weight: bold } /* Name.Function */
36
+ .codehilite .nl { color: #907000; font-weight: bold } /* Name.Label */
37
+ .codehilite .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
38
+ .codehilite .nt { color: #007000 } /* Name.Tag */
39
+ .codehilite .nv { color: #906030 } /* Name.Variable */
40
+ .codehilite .ow { color: #000000; font-weight: bold } /* Operator.Word */
41
+ .codehilite .w { color: #bbbbbb } /* Text.Whitespace */
42
+ .codehilite .mf { color: #6000E0; font-weight: bold } /* Literal.Number.Float */
43
+ .codehilite .mh { color: #005080; font-weight: bold } /* Literal.Number.Hex */
44
+ .codehilite .mi { color: #0000D0; font-weight: bold } /* Literal.Number.Integer */
45
+ .codehilite .mo { color: #4000E0; font-weight: bold } /* Literal.Number.Oct */
46
+ .codehilite .sb { background-color: #fff0f0 } /* Literal.String.Backtick */
47
+ .codehilite .sc { color: #0040D0 } /* Literal.String.Char */
48
+ .codehilite .sd { color: #D04020 } /* Literal.String.Doc */
49
+ .codehilite .s2 { background-color: #fff0f0 } /* Literal.String.Double */
50
+ .codehilite .se { color: #606060; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */
51
+ .codehilite .sh { background-color: #fff0f0 } /* Literal.String.Heredoc */
52
+ .codehilite .si { background-color: #e0e0e0 } /* Literal.String.Interpol */
53
+ .codehilite .sx { color: #D02000; background-color: #fff0f0 } /* Literal.String.Other */
54
+ .codehilite .sr { color: #000000; background-color: #fff0ff } /* Literal.String.Regex */
55
+ .codehilite .s1 { background-color: #fff0f0 } /* Literal.String.Single */
56
+ .codehilite .ss { color: #A06000 } /* Literal.String.Symbol */
57
+ .codehilite .bp { color: #007020 } /* Name.Builtin.Pseudo */
58
+ .codehilite .vc { color: #306090 } /* Name.Variable.Class */
59
+ .codehilite .vg { color: #d07000; font-weight: bold } /* Name.Variable.Global */
60
+ .codehilite .vi { color: #3030B0 } /* Name.Variable.Instance */
61
+ .codehilite .il { color: #0000D0; font-weight: bold } /* Literal.Number.Integer.Long */
@@ -0,0 +1,61 @@
1
+ .codehilite .hll { background-color: #ffffcc }
2
+ .codehilite .c { color: #999988; font-style: italic } /* Comment */
3
+ .codehilite .err { color: #a61717; background-color: #e3d2d2 } /* Error */
4
+ .codehilite .k { color: #000000; font-weight: bold } /* Keyword */
5
+ .codehilite .o { color: #000000; font-weight: bold } /* Operator */
6
+ .codehilite .cm { color: #999988; font-style: italic } /* Comment.Multiline */
7
+ .codehilite .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
8
+ .codehilite .c1 { color: #999988; font-style: italic } /* Comment.Single */
9
+ .codehilite .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
10
+ .codehilite .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
11
+ .codehilite .ge { color: #000000; font-style: italic } /* Generic.Emph */
12
+ .codehilite .gr { color: #aa0000 } /* Generic.Error */
13
+ .codehilite .gh { color: #999999 } /* Generic.Heading */
14
+ .codehilite .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
15
+ .codehilite .go { color: #888888 } /* Generic.Output */
16
+ .codehilite .gp { color: #555555 } /* Generic.Prompt */
17
+ .codehilite .gs { font-weight: bold } /* Generic.Strong */
18
+ .codehilite .gu { color: #aaaaaa } /* Generic.Subheading */
19
+ .codehilite .gt { color: #aa0000 } /* Generic.Traceback */
20
+ .codehilite .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
21
+ .codehilite .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
22
+ .codehilite .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
23
+ .codehilite .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
24
+ .codehilite .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
25
+ .codehilite .kt { color: #445588; font-weight: bold } /* Keyword.Type */
26
+ .codehilite .m { color: #009999 } /* Literal.Number */
27
+ .codehilite .s { color: #d01040 } /* Literal.String */
28
+ .codehilite .na { color: #008080 } /* Name.Attribute */
29
+ .codehilite .nb { color: #0086B3 } /* Name.Builtin */
30
+ .codehilite .nc { color: #445588; font-weight: bold } /* Name.Class */
31
+ .codehilite .no { color: #008080 } /* Name.Constant */
32
+ .codehilite .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
33
+ .codehilite .ni { color: #800080 } /* Name.Entity */
34
+ .codehilite .ne { color: #990000; font-weight: bold } /* Name.Exception */
35
+ .codehilite .nf { color: #990000; font-weight: bold } /* Name.Function */
36
+ .codehilite .nl { color: #990000; font-weight: bold } /* Name.Label */
37
+ .codehilite .nn { color: #555555 } /* Name.Namespace */
38
+ .codehilite .nt { color: #000080 } /* Name.Tag */
39
+ .codehilite .nv { color: #008080 } /* Name.Variable */
40
+ .codehilite .ow { color: #000000; font-weight: bold } /* Operator.Word */
41
+ .codehilite .w { color: #bbbbbb } /* Text.Whitespace */
42
+ .codehilite .mf { color: #009999 } /* Literal.Number.Float */
43
+ .codehilite .mh { color: #009999 } /* Literal.Number.Hex */
44
+ .codehilite .mi { color: #009999 } /* Literal.Number.Integer */
45
+ .codehilite .mo { color: #009999 } /* Literal.Number.Oct */
46
+ .codehilite .sb { color: #d01040 } /* Literal.String.Backtick */
47
+ .codehilite .sc { color: #d01040 } /* Literal.String.Char */
48
+ .codehilite .sd { color: #d01040 } /* Literal.String.Doc */
49
+ .codehilite .s2 { color: #d01040 } /* Literal.String.Double */
50
+ .codehilite .se { color: #d01040 } /* Literal.String.Escape */
51
+ .codehilite .sh { color: #d01040 } /* Literal.String.Heredoc */
52
+ .codehilite .si { color: #d01040 } /* Literal.String.Interpol */
53
+ .codehilite .sx { color: #d01040 } /* Literal.String.Other */
54
+ .codehilite .sr { color: #009926 } /* Literal.String.Regex */
55
+ .codehilite .s1 { color: #d01040 } /* Literal.String.Single */
56
+ .codehilite .ss { color: #990073 } /* Literal.String.Symbol */
57
+ .codehilite .bp { color: #999999 } /* Name.Builtin.Pseudo */
58
+ .codehilite .vc { color: #008080 } /* Name.Variable.Class */
59
+ .codehilite .vg { color: #008080 } /* Name.Variable.Global */
60
+ .codehilite .vi { color: #008080 } /* Name.Variable.Instance */
61
+ .codehilite .il { color: #009999 } /* Literal.Number.Integer.Long */