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 +4 -4
- data/README.md +9 -0
- data/_sass/_custom.scss +1 -0
- data/_sass/_variables.scss +21 -0
- data/assets/css/main.scss +1 -22
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 585e3f83017e9d3075b7f9ec53d1c023dcad22f587995c66d699bdcdc398546b
|
4
|
+
data.tar.gz: 55823585a2a03197b34eb863521ccf9d8b5362a7ca9f1bc7d39269bb45366878
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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:
|