jekyll-glass 0.2.2 → 0.2.3

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: eddfc93d4a3232f78b2162db72db6c49f1252210b66acd637f0d059ee1ebec2f
4
- data.tar.gz: a9cef10141eb390e71b410e6c9bddf4dc779b98486b9caabeb7aa5c3ab0af134
3
+ metadata.gz: 585e3f83017e9d3075b7f9ec53d1c023dcad22f587995c66d699bdcdc398546b
4
+ data.tar.gz: 55823585a2a03197b34eb863521ccf9d8b5362a7ca9f1bc7d39269bb45366878
5
5
  SHA512:
6
- metadata.gz: 139126e916c8caba229a7ab5ab738e50d73220138ea7fb19d0786575cca45d19a8bb798ae96394fea0b87a137b62a4d2963fc8c62fc7eb91ac24ae8f8ed2c34d
7
- data.tar.gz: b2370133f34c662b3b3539fcfd34374666ddf0023db7767473fe3e4de788c9ba6b4580991ef8a11bbefbf3636b959b6fc6da2a873e95630e413d141151e474b7
6
+ metadata.gz: 424044997782088a85c29fa8719712ed4460de572f6e1d156e08923030cfbaaa34224ae5b1e42d5f6120b0980d47fc8526d3b8b6224587782cd96fb98b7efdab
7
+ data.tar.gz: a1563ba5ba7cda84bcbfb32da919b232823a15b2f9241e1a9398ff358e0f81027e123a75d1dc73ec5f4abc3f39151bbc3421f09b43242d0abc9b3d1989c18967
data/README.md CHANGED
@@ -68,6 +68,15 @@ The following configuration options are available:
68
68
  - `show_page_titles`, a boolean to show titles on pages. Defaults to `true`. The title of `/index` is only shown in the browser title bar.
69
69
  - `tag_page_dir`, the directory where tag pages are generated.
70
70
 
71
+ ### Custom Sass
72
+ If you want to modify the theme's CSS, you can override the theme's styles by creating a file in your Jekyll site's `_sass` directory. The file must be named `_custom.scss` (or `_custom.sass`, if you like suffering from indentation-based syntax), and it will be automatically included in the theme. Of course, you can import more partials there.
73
+
74
+ Import the theme's variables by adding the following line to your `_custom.scss`:
75
+
76
+ ```scss
77
+ @import "variables";
78
+ ```
79
+
71
80
  ## A note on GitHub Pages
72
81
  The default "Publish from Branch" option on GitHub Pages does not support custom Gems. While you can use this theme using `jekyll-remote-theme`, this will break tags. Use a GitHub Actions workflow to build the site instead. The Jekyll team have written a simple [guide](https://jekyllrb.com/docs/continuous-integration/github-actions/) for this.
73
82
 
data/_sass/_custom.scss CHANGED
@@ -0,0 +1 @@
1
+ @import "variables";
@@ -0,0 +1,21 @@
1
+ // Define defaults for each variable.
2
+
3
+ $base-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",
4
+ "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", Roboto, Helvetica,
5
+ Arial, sans-serif !default;
6
+ $code-font-family: "Menlo", "Inconsolata", "Consolas", "Roboto Mono",
7
+ "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
8
+
9
+ // https://coolors.co/1b2f33-28502e-47682c-8c7051-ef3054
10
+ $dark-color: #1b2f33ff !default; // Dark color used e.g. for the background
11
+ $color-2: #28502eff !default;
12
+ $color-3: #47682cff !default;
13
+ $color-4: #8c7051ff !default;
14
+ $color-5: #ef3054ff !default;
15
+ $light-color: #fff !default; // Light color used e.g. for foreground text
16
+ $link-color: #bbb !default;
17
+ $link-color-visited: #888 !default;
18
+
19
+ $spacing-unit: 30px !default;
20
+
21
+ $table-text-align: left !default;
data/assets/css/main.scss CHANGED
@@ -3,28 +3,7 @@
3
3
 
4
4
  @charset "utf-8";
5
5
  @import "custom";
6
-
7
- // Define defaults for each variable.
8
-
9
- $base-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",
10
- "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", Roboto, Helvetica,
11
- Arial, sans-serif !default;
12
- $code-font-family: "Menlo", "Inconsolata", "Consolas", "Roboto Mono",
13
- "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
14
-
15
- // https://coolors.co/1b2f33-28502e-47682c-8c7051-ef3054
16
- $dark-color: #1b2f33ff !default; // Dark color used e.g. for the background
17
- $color-2: #28502eff !default;
18
- $color-3: #47682cff !default;
19
- $color-4: #8c7051ff !default;
20
- $color-5: #ef3054ff !default;
21
- $light-color: #fff !default; // Light color used e.g. for foreground text
22
- $link-color: #bbb !default;
23
- $link-color-visited: #888 !default;
24
-
25
- $spacing-unit: 30px !default;
26
-
27
- $table-text-align: left !default;
6
+ @import "variables";
28
7
 
29
8
  body {
30
9
  font-family: $base-font-family;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-glass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linus Warnatz
@@ -118,6 +118,7 @@ files:
118
118
  - _layouts/post.html
119
119
  - _layouts/tag.html
120
120
  - _sass/_custom.scss
121
+ - _sass/_variables.scss
121
122
  - assets/css/main.scss
122
123
  homepage: https://github.com/libewa/jekyll-glass
123
124
  licenses: