aurora-theme 1.0.18.130 → 1.0.18.130.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1f685d6c371c4970d69ab4087b96c4962c243ec58307f73e6947dbef84829ae
4
- data.tar.gz: 24424031c3e083e87e5fe13910606bef4cec32e4cc469ab3459fe65dd5b84d82
3
+ metadata.gz: 78d8e2a9653ced79244ca4076a3c30d9b92cb04a6d36cf2653ae684fd2a8e235
4
+ data.tar.gz: 20c0a54bec498161b2d4d5702e73b05ca5f3120c8b0fa697e0a0fc536f3f2337
5
5
  SHA512:
6
- metadata.gz: eb1e3667ed8f0be1f65238906768851eb7d181a1f0be9e6a286c2aeee3da5c079d56d5197e2ea55a5487ee83d1f70fb3f03d6c0141e35bdf9821f28a483a3fff
7
- data.tar.gz: e13fcae5e5711874d7756c6a9ab553e4b176da54c009022e5f932beed93f47431c7086c0928637e43d8dd479d09428636e87e4502c92626992852bba4f848717
6
+ metadata.gz: a64256826b7a98f1d00e955108a6a2df09f2c0e907bd4769583daff027a2b5d1e66cfeecbd38f95beaf7f1a0b33c9045254c2f8c763c4656510d7dcf02a21148
7
+ data.tar.gz: 3bfa3450258d2b5c0862400752fbe99f26d9fe6f3e8d4b76c182379ca166bd41402097e3a6d13465e7ff5b8145282089b72bbdc08a982b05619ebe342a33599a
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Aurora theme
2
2
 
3
- [![Build Status](https://travis-ci.org/iBug/aurora-theme.svg?branch=master)](https://travis-ci.org/iBug/aurora-theme)
3
+ [![Build Status](https://travis-ci.org/iBug/aurora-theme.svg?branch=master)](https://travis-ci.org/iBug/aurora-theme) [![Gem Version](https://badge.fury.io/rb/aurora-theme.svg)](https://badge.fury.io/rb/aurora-theme)
4
4
 
5
5
  *Aurora is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](https://ibug.github.io/aurora-theme), or even [use it today](#usage).*
6
6
 
@@ -10,7 +10,19 @@
10
10
 
11
11
  To use the Aurora theme:
12
12
 
13
- 1. Add the following to your site's `_config.yml`:
13
+ 1. Install the gem:
14
+
15
+ ```
16
+ gem install aurora-theme
17
+ ```
18
+
19
+ Add the following to your site's `_config.yml`:
20
+
21
+ ```yml
22
+ theme: aurora-theme
23
+ ```
24
+
25
+ If you're building your site with GitHub Pages, replace `theme` with this:
14
26
 
15
27
  ```yml
16
28
  remote_theme: iBug/aurora-theme
@@ -19,7 +31,7 @@ To use the Aurora theme:
19
31
  2. Optionally, if you'd like to preview your site on your computer, add the following to your site's `Gemfile`:
20
32
 
21
33
  ```ruby
22
- gem "github-pages", group: :jekyll_plugins
34
+ gem "aurora-theme", group: :jekyll_plugins
23
35
  ```
24
36
 
25
37
  ## Customizing
@@ -63,6 +75,24 @@ If you'd like to add your own custom styles:
63
75
 
64
76
  *Note: If you'd like to change the theme's Sass variables, you must set new values before the `@import` line in your stylesheet.*
65
77
 
78
+ ### Background image
79
+
80
+ By default, the background image is hosted on my GitHub Pages.
81
+
82
+ ```
83
+ https://ibug.github.io/image/aurora.jpg
84
+ ```
85
+
86
+ If you want to replace it with another image, override the Sass variable that contains the image url in `/assets/css/style.scss`:
87
+
88
+ ```scss
89
+ ---
90
+ ---
91
+
92
+ $bg-image-url: 'https://example.com/image.jpg'
93
+ @import 'aurora';
94
+ ```
95
+
66
96
  ### Layouts
67
97
 
68
98
  If you'd like to change the theme's HTML layout:
@@ -108,7 +108,7 @@ a {
108
108
  color: $header-heading-color;
109
109
  text-align: center;
110
110
  background-color: $header-bg-color;
111
- background-image: url('https://ibug.github.io/image/pp-bg.jpg'), linear-gradient(120deg, $header-bg-color-secondary, $header-bg-color);
111
+ background-image: url($bg-image-url), linear-gradient(120deg, $header-bg-color-secondary, $header-bg-color);
112
112
  background-size: cover;
113
113
  background-position: center;
114
114
  background-repeat: no-repeat;
data/_sass/variables.scss CHANGED
@@ -6,6 +6,7 @@ $medium-breakpoint: 42em !default;
6
6
  $header-heading-color: #fff !default;
7
7
  $header-bg-color: #991557 !default;
8
8
  $header-bg-color-secondary: #571599 !default;
9
+ $bg-image-url: 'https://ibug.github.io/image/aurora.jpg' !default;
9
10
 
10
11
  // Text
11
12
  $section-headings-color: #991557 !default;
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  ---
3
3
 
4
- @import 'ibug';
4
+ @import 'aurora';
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aurora-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18.130
4
+ version: 1.0.18.130.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - iBug
@@ -91,7 +91,7 @@ files:
91
91
  - _includes/gh-icon.html
92
92
  - _includes/so-icon.html
93
93
  - _layouts/default.html
94
- - _sass/ibug.scss
94
+ - _sass/aurora.scss
95
95
  - _sass/normalize.scss
96
96
  - _sass/rouge-github.scss
97
97
  - _sass/variables.scss
@@ -109,7 +109,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - ">="
111
111
  - !ruby/object:Gem::Version
112
- version: '0'
112
+ version: '2.1'
113
113
  required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="