jekyll-theme-graphite 0.2.1 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e13cec039528b3f9c8c86b11e56f9dbcd4cb5a0244e629124560dbc21d2ad57d
4
- data.tar.gz: 4d3cfb74d0e15781930f0bc3fe3132b596807c66ab002d461fde5466148baf31
3
+ metadata.gz: d5351cc5fbbb3ca7818793a841e534260cc5a18c9f69f023c675f28fd574a827
4
+ data.tar.gz: 5c7382da2f791fede18fc6bd264a23d804ca354314b30ed54b8f96bae9636a9f
5
5
  SHA512:
6
- metadata.gz: fe129ff6bc8e5d5e5ecee42d41ad2235f3a893b76e8c88f52723ab844eef6d19a6ca22234e08dee5fa3d0ee0c1910b04d214ec31f694ed4cb535e0b417fe414d
7
- data.tar.gz: f0ec2863cf174ee7c8cfaa5b07be7ac90e6810a2a9963b7aa6f447a61898b6d2af71932d7873cc03b19cdea44568ed74193d9fdb0269418c3c399542869ec98e
6
+ metadata.gz: a160d4998dda0a8bf033713f9df431bd9445176465666801c3f09ae9b8f8ec2a3fa2078cb08b98e513ef7908c9442c3dc1cb42ec5a5765f2303d0e72101cda2d
7
+ data.tar.gz: af19218d94bedf5ee3302ec80bd3470b8b20594d51d6c17ed2899b5b33710fa8a1c9331942ab94c8a14b6202fd8c9d73349290653661924a69f4b10db0bd6286
data/README.md CHANGED
@@ -1,13 +1,24 @@
1
1
  # jekyll-theme-graphite
2
2
 
3
- Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
3
+ Graphite is a minimal, text-focused blog theme—built around the [IBM Plex](https://www.ibm.com/plex/) typeface— for Jekyll.
4
4
 
5
- To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
5
+ ![graphite theme screenshot](/screenshot.png)
6
6
 
7
- TODO: Delete this and the text above, and describe your gem
7
+ ## Installation
8
8
 
9
+ Make sure you already have a [full Ruby installation](https://jekyllrb.com/docs/installation/).
9
10
 
10
- ## Installation
11
+ Install Jekyll and bundler gems:
12
+
13
+ $ gem install bundler
14
+
15
+ Create a new Jekyll site at `/myblog`:
16
+
17
+ $ jekyll new myblog
18
+
19
+ Change into your new directory:
20
+
21
+ $ cd myblog
11
22
 
12
23
  Add this line to your Jekyll site's `Gemfile`:
13
24
 
@@ -29,13 +40,45 @@ Or install it yourself as:
29
40
 
30
41
  $ gem install jekyll-theme-graphite
31
42
 
43
+ Build the site and make it available on a local server:
44
+
45
+ $ bundle exec jekyll serve
46
+
32
47
  ## Usage
33
48
 
34
- TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
49
+ Edit `_config.yml` to customize color and social media icons. Graphite uses [Font Awesome](https://fontawesome.com/icons?d=gallery) to generate social media icons by class name.
50
+
51
+ ```yaml
52
+ title: Graphite theme
53
+ author: GitHub User
54
+ email: your-email@domain.com
55
+
56
+ theme: jekyll-theme-graphite
57
+
58
+ social_media_links:
59
+ - link: https://twitter.com/jekyllrb/
60
+ icon: fa-twitter
61
+ - link: https://github.com/jekyll/
62
+ icon: fa-github
63
+
64
+ theme_colors: # enclose hex codes in ' '
65
+ theme: '#be5141'
66
+ text: '#58595e'
67
+ background: '#fff'
68
+ code-block: '#fbf8f4'
69
+
70
+ show_rss: true # set to false to exclude rss icon from footer
71
+
72
+ plugins:
73
+ - jekyll-feed
74
+ - jekyll-seo-tag
75
+ ```
76
+
77
+ For further customization, check out [Jekyll themes](https://jekyllrb.com/docs/themes/).
35
78
 
36
79
  ## Contributing
37
80
 
38
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
81
+ Bug reports and pull requests are welcome [on GitHub](https://github.com/curtisupdike/graphite). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
82
 
40
83
  ## Development
41
84
 
@@ -49,4 +92,3 @@ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-t
49
92
  ## License
50
93
 
51
94
  The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
-
@@ -0,0 +1,3 @@
1
+ ---
2
+ layout: blog
3
+ ---
@@ -10,7 +10,6 @@ html
10
10
  body
11
11
  box-sizing: border-box
12
12
  border-top: .5rem solid $theme-color
13
- border-bottom: .5rem solid $theme-color
14
13
  align-items: center
15
14
  display: flex
16
15
  flex-direction: column
@@ -71,6 +70,7 @@ pre, code
71
70
  border-radius: 2px
72
71
 
73
72
  pre
73
+ overflow: auto
74
74
  padding: .5rem 1rem
75
75
 
76
76
  code
@@ -85,6 +85,10 @@ blockquote
85
85
  font-size: .9rem
86
86
  padding: .5rem 0
87
87
 
88
+ img
89
+ height: auto
90
+ max-width: 100%
91
+
88
92
  @media all and (max-width:520px)
89
93
  html
90
94
  font-size: 16px
@@ -35,7 +35,7 @@
35
35
 
36
36
  // _includes/social-media.html
37
37
  .social-media
38
- font-size: 18px
38
+ font-size: 20px
39
39
  margin: 0
40
40
  padding: 0
41
41
  & li
@@ -60,7 +60,7 @@
60
60
  display: inline-block
61
61
  font-size: 1.2rem
62
62
  font-weight: 400
63
- margin: 0 0 1.5rem 0
63
+ margin: 0 0 1rem 0
64
64
  padding: 0
65
65
  text-transform: none
66
66
 
@@ -1,4 +1,18 @@
1
1
  ---
2
2
  ---
3
+ {% assign colors = site.theme_colors %}
4
+ {% if colors.background %}
5
+ $backgroud-color: {{ colors.background }}
6
+ {% endif %}
7
+ {% if colors.text %}
8
+ $text-color: {{ colors.text }}
9
+ {% endif %}
10
+ {% if colors.theme %}
11
+ $theme-color: {{ colors.theme }}
12
+ {% endif %}
13
+ {% if colors.code-background %}
14
+ $code-background-color: {{ colors.code-block }}
15
+ {% endif %}
16
+
3
17
 
4
18
  @import "main"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-graphite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Curtis Updike
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-24 00:00:00.000000000 Z
11
+ date: 2019-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -97,6 +97,7 @@ files:
97
97
  - _includes/social-media.html
98
98
  - _layouts/blog.html
99
99
  - _layouts/default.html
100
+ - _layouts/home.html
100
101
  - _layouts/page.html
101
102
  - _layouts/post.html
102
103
  - _sass/main.sass
@@ -105,11 +106,12 @@ files:
105
106
  - _sass/theme/_syntax-highlighting.scss
106
107
  - _sass/theme/_trac-syntax-highlighting.scss
107
108
  - assets/css/styles.sass
108
- homepage: https://jekyllrb.com/
109
+ homepage: https://curtisupdike.github.io/graphite/
109
110
  licenses:
110
111
  - MIT
111
112
  metadata:
112
113
  plugin_type: theme
114
+ source_code_uri: https://github.com/curtisupdike/graphite
113
115
  post_install_message:
114
116
  rdoc_options: []
115
117
  require_paths: