benjeto-jekyll-theme 0.0.6 → 0.0.7

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: acd01b582d3e3465c449f498070b34ed801bd3d1ae06606fae034ea2a7e339b0
4
- data.tar.gz: 33ec129a6f14a273fcb136ff3735a810ace6e824727a27a6e1714c5a2373984a
3
+ metadata.gz: ffe247dfe7d48981f04fefb4a4520e45a3ad427772fd1c825ef1488373c6e3ae
4
+ data.tar.gz: d05b62c226856c32535da1c0a2e9bb5e4f645b026b7342c4909cdb3cd7899aca
5
5
  SHA512:
6
- metadata.gz: 43d5f45222fff03ce1759a50880350f7376c01ebfe28d731d975d54bad05f0c273c852550f830a798eeaeee85d96e9d690c9c49b40a63ec4b7596c4cf4454fee
7
- data.tar.gz: e8620a5a792bfa4b1ac63456dafdf3b1c503e5265811cfc4356fbc062feedba78aa32c4d883a8daf220bcff7e76806bfe7114f4dbce79c43fbdbd2b6a41a21db
6
+ metadata.gz: 654f29aaff3a7c5a28db988fe29cfe6e85b5bac3ffe3253134e1982227ef6166325e53cbfc20e887cc1a1be89d4a3b17154459aa9c9549c13623fd963d849dee
7
+ data.tar.gz: 02b8704f6966db940896c17aacd894e9f96fc0c9dd84c9f77b7f40f5880f796002013521e7a499f7592a75f075d7ab7964c226c5208a14b6a138b2768528f9df
@@ -1,5 +1,4 @@
1
1
  ---
2
- title: false
3
2
  ---
4
3
  document.addEventListener('DOMContentLoaded', function() {
5
4
  const languages = {{ site.languages | jsonify }};
data/assets/js/share.js CHANGED
@@ -1,5 +1,4 @@
1
1
  ---
2
- title: false
3
2
  ---
4
3
  {%- assign texts = site.data.texts -%}
5
4
  document.addEventListener('DOMContentLoaded', function () {
@@ -0,0 +1,47 @@
1
+ ---
2
+ styles: true
3
+ ---
4
+ {%- assign profile = site.data.profile -%}
5
+ {%- assign settings = site.data.settings -%}
6
+
7
+ {% if settings.style.highlight == true %}
8
+ @import "benjeto/css/highlight.scss";
9
+ {% endif %}
10
+
11
+ // System styles
12
+ @import
13
+ "benjeto/base.scss",
14
+ {% if settings.style.menu == true %}
15
+ "benjeto/css/menu.scss",
16
+ {% endif %}
17
+ {% if settings.style.figure == true %}
18
+ "benjeto/css/figure.scss",
19
+ {% endif %}
20
+ {% if settings.style.home_tab == true %}
21
+ "benjeto/css/home-tab.scss",
22
+ {% endif %}
23
+ {% if settings.style.paginate == true %}
24
+ "benjeto/css/paginate.scss",
25
+ {% endif %}
26
+ {% if settings.style.app_box == true %}
27
+ "benjeto/css/app-box.scss",
28
+ {% endif %}
29
+ {% if settings.style.section_box == true %}
30
+ "benjeto/css/section-box.scss",
31
+ {% endif %}
32
+ "benjeto/custom.scss"
33
+ ;
34
+
35
+ // Dark mode
36
+ {% if settings.style.darkmode == "true" %}
37
+ @import "benjeto/dark.scss";
38
+ {% else %}
39
+ @import "benjeto/light.scss";
40
+ {% if settings.style.darkmode == "allow" %}
41
+ @media(prefers-color-scheme:dark) {
42
+ @import "benjeto/light.scss";
43
+ @import "benjeto/dark.scss";
44
+ }
45
+ {% endif %}
46
+ {% endif %}
47
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benjeto-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cizzuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-05 00:00:00.000000000 Z
11
+ date: 2024-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -129,6 +129,7 @@ files:
129
129
  - assets/js/lang-redirect.js
130
130
  - assets/js/menu.js
131
131
  - assets/js/share.js
132
+ - assets/styles.scss
132
133
  homepage: https://cizzuk.net/app/benjeto
133
134
  licenses:
134
135
  - MIT