jekyll-theme-console 0.2.8 → 0.3.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: c5e6fcc9f6764349aa5c243de2a2d1afd2091b1b3597c2da388e429d729e96ba
4
- data.tar.gz: 9184d01fe8372558ff0af5579ba622c444e37f3011df556b687f0a3c55d281bf
3
+ metadata.gz: dbfab9e6d7420ee10a6dc3aebd9540afc57b4d0f68e6c470ed33be8b1e5dc2f5
4
+ data.tar.gz: 6af40d37206410a41b3e9db9d5dcdca31c26d6f9eec9112ea91c43009fa35a8e
5
5
  SHA512:
6
- metadata.gz: '01799abca5ee5213fb30e96af6201f7b87845f7afc6592236cf1d2a4381e229292554ecc37f42d519f72bafcfd0d54d9ba306f024b25d071e02116362c3b8bf1'
7
- data.tar.gz: 18184a2b4212cc121aa5d1d75cb28c0098702de1fb959c362e408b6532f9c9638e85d13da6ac5bef98a6d35ffd054623d888d37327602ae59c31b7ca0e85fa14
6
+ metadata.gz: 36b389b0521f9b062333ca67d5b9467387a63e4783dca625fc53f06a782704b67bde4919e648eb0cf905c79250215d9d85b9eed24407e129c9ec1b03306719d9
7
+ data.tar.gz: 21ede9db10bc8d29541f65493059cc5da6db8f1b22c5cb3fc95c76dc79a87c56c656a82d0ebbce4574721f1f6dbc54282fc412332d0fa66a33026428262a9297
@@ -4,7 +4,13 @@
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
5
5
  <title>{{ site.title }}{{ page.title }}</title>
6
6
  {%- seo title=false -%}
7
- <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
7
+
8
+ {%- if site.style == 'light' -%}
9
+ <link rel="stylesheet" type="text/css" href="{{ "/assets/main-light.css" | relative_url }}">
10
+ {%- else -%}
11
+ <link rel="stylesheet" type="text/css" href="{{ "/assets/main-dark.css" | relative_url }}">
12
+ {%- endif -%}
13
+
8
14
  {%- if jekyll.environment == 'production' and site.google_analytics -%}
9
15
  {%- include google-analytics.html -%}
10
16
  {%- endif -%}
@@ -16,5 +16,4 @@
16
16
 
17
17
  </div>
18
18
  </body>
19
-
20
19
  </html>
File without changes
@@ -8,15 +8,6 @@ $base-font-family: 'Source Code Pro', monospace !default;
8
8
  $base-font-size: 12.5px !default;
9
9
  $mobile-font-size: 12px !default;
10
10
  $base-line-height: 1.5 !default;
11
- $base-color: #DBDBDB !default;
12
- $primary-color: #a1fc8f !default;
13
- $text-color: $base-color !default;
14
- $placeholder-color: $base-color !default;
15
- $link-color: $base-color !default;
16
- $border: dashed 1px rgba(219,219,219,0.9) !default;
17
- $selection-background: rgba(219,219,219,0.99) !default;
18
- $selection-text: #000 !default;
19
- $background-color: #000 !default;
20
11
  $container-width: 90% !default;
21
12
  $container-max-width: 600px !default;
22
13
 
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Style variables
3
+ */
4
+ $base-color: #DBDBDB !default;
5
+ $primary-color: #a1fc8f !default;
6
+ $text-color: $base-color !default;
7
+ $placeholder-color: $base-color !default;
8
+ $link-color: $base-color !default;
9
+ $border: dashed 1px rgba(219,219,219,0.9) !default;
10
+ $selection-background: rgba(219,219,219,0.99) !default;
11
+ $selection-text: #000 !default;
12
+ $background-color: #000 !default;
13
+
14
+
15
+ @import "base";
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Style variables
3
+ */
4
+ $base-color: #000 !default;
5
+ $primary-color: #0000EE !default;
6
+ $text-color: $base-color !default;
7
+ $placeholder-color: $base-color !default;
8
+ $link-color: $base-color !default;
9
+ $border: dashed 1px rgba(0,0,0,1) !default;
10
+ $selection-background: rgba(0,0,0,0.99) !default;
11
+ $selection-text: #fff !default;
12
+ $background-color: #fff !default;
13
+
14
+
15
+ @import "base";
@@ -2,4 +2,4 @@
2
2
  # Only the main Sass file needs front matter (the dashes are enough)
3
3
  ---
4
4
 
5
- @import "jekyll-theme-console";
5
+ @import "dark";
@@ -0,0 +1,5 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+
5
+ @import "light";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-console
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - b2a3e8
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-15 00:00:00.000000000 Z
11
+ date: 2019-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -79,12 +79,15 @@ files:
79
79
  - _includes/google-analytics.html
80
80
  - _includes/head.html
81
81
  - _includes/header.html
82
- - _layouts/blogroll.html
83
82
  - _layouts/default.html
83
+ - _layouts/home.html
84
84
  - _layouts/page.html
85
85
  - _layouts/post.html
86
- - _sass/jekyll-theme-console.scss
87
- - assets/main.scss
86
+ - _sass/base.scss
87
+ - _sass/dark.scss
88
+ - _sass/light.scss
89
+ - assets/main-dark.scss
90
+ - assets/main-light.scss
88
91
  homepage: https://github.com/b2a3e8/jekyll-theme-console
89
92
  licenses:
90
93
  - MIT
@@ -104,8 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
107
  - !ruby/object:Gem::Version
105
108
  version: '0'
106
109
  requirements: []
107
- rubyforge_project:
108
- rubygems_version: 2.7.6
110
+ rubygems_version: 3.0.3
109
111
  signing_key:
110
112
  specification_version: 4
111
113
  summary: A jekyll theme with inspiration from linux consoles for hackers, developers