compost-jekyll-theme 0.4.1 → 0.4.2

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: e90cbd1e396703823e39542792e4f17d841d193d58f1a22406a727c8c17d0c01
4
- data.tar.gz: a59ad815f897d2187944bd2299f3ba671f02ca68f1c0b53522b4a5e0fbd5d5b1
3
+ metadata.gz: 5d1681b99017bd3e3359f75d1143b5c46f5e4096d8c99151ca18e1ea6c30cf4d
4
+ data.tar.gz: 55b3003d25b495347730d8686cd6e9565e36f13556a0e6363bd3d1c949e8519c
5
5
  SHA512:
6
- metadata.gz: 51dc89367a1443d08923c5a938664341b742ce645fb32de933ab55ff65f192416ad199695f6bccd8dba3812f995126df2d0947997de9f6121957d88af28964f8
7
- data.tar.gz: 63ad113eafc55fe65aa890586908445cd4dc1b153330464db10b50fc76fb644deed026bfcc24e1aeee5fcd8f2708f75f97b09046b85c56fe872b98e358cde7df
6
+ metadata.gz: 5697d4a50464bf0b0ab4270859a6c5508c19f836f4d95d77fa0ccb0d9791e50f169e8a48837345154d3c7e71566506b2a92aeb93516ec49520a034ff17fba1ac
7
+ data.tar.gz: 4f7636fdaf461a9c52c9dd185d88e28513e5f3fd0cd31cb3710315c3172bd8cdd575646e627358baec0403eed51f3cf09125f2c0ae57204e6ab16f5d5e9e9c28
@@ -24,10 +24,14 @@ font_family_sans_serif:
24
24
  "": "Default"
25
25
  Roboto: "Roboto"
26
26
  Open Sans: "Open Sans"
27
+ Work Sans: "Work Sans"
28
+ Source Serif 4: "Source Serif 4"
27
29
  es:
28
30
  "": "Default"
29
31
  Roboto: "Roboto"
30
32
  Open Sans: "Open Sans"
33
+ Work Sans: "Work Sans"
34
+ Source Serif 4: "Source Serif 4"
31
35
  font_family_monospace:
32
36
  type: "predefined_value"
33
37
  label:
@@ -64,10 +68,62 @@ headings_font_family:
64
68
  "": "Default"
65
69
  Roboto: "Roboto"
66
70
  Open Sans: "Open Sans"
71
+ Work Sans: "Work Sans"
72
+ Source Serif 4: "Source Serif 4"
67
73
  es:
68
74
  "": "Default"
69
75
  Roboto: "Roboto"
70
76
  Open Sans: "Open Sans"
77
+ Work Sans: "Work Sans"
78
+ Source Serif 4: "Source Serif 4"
79
+ font_family_primary:
80
+ type: "predefined_value"
81
+ label:
82
+ en: "Select a typography for biography and home heading"
83
+ es: "Selecciona una tipografía para la biografía y el titular de portada"
84
+ help:
85
+ en: ""
86
+ es: ""
87
+ default:
88
+ en: ""
89
+ es: ""
90
+ values:
91
+ en:
92
+ "": "Default"
93
+ Roboto: "Roboto"
94
+ Open Sans: "Open Sans"
95
+ Work Sans: "Work Sans"
96
+ Source Serif 4: "Source Serif 4"
97
+ es:
98
+ "": "Default"
99
+ Roboto: "Roboto"
100
+ Open Sans: "Open Sans"
101
+ Work Sans: "Work Sans"
102
+ Source Serif 4: "Source Serif 4"
103
+ font_family_secondary:
104
+ type: "predefined_value"
105
+ label:
106
+ en: "Select a typography for secondary elements such as author's names, about, etc."
107
+ es: "Selecciona una tipografía para elementos secundarios como los nombres de autores, acerca, etc."
108
+ help:
109
+ en: ""
110
+ es: ""
111
+ default:
112
+ en: ""
113
+ es: ""
114
+ values:
115
+ en:
116
+ "": "Default"
117
+ Roboto: "Roboto"
118
+ Open Sans: "Open Sans"
119
+ Work Sans: "Work Sans"
120
+ Source Serif 4: "Source Serif 4"
121
+ es:
122
+ "": "Default"
123
+ Roboto: "Roboto"
124
+ Open Sans: "Open Sans"
125
+ Work Sans: "Work Sans"
126
+ Source Serif 4: "Source Serif 4"
71
127
  enable_rounded:
72
128
  type: "boolean"
73
129
  label:
@@ -145,6 +201,28 @@ link_hover_color:
145
201
  default:
146
202
  es: "#0056b3"
147
203
  en: "#0056b3"
204
+ footer_color:
205
+ type: "color"
206
+ label:
207
+ en: "Footer text color"
208
+ es: "Color del texto del pie"
209
+ help:
210
+ en: ""
211
+ es: ""
212
+ default:
213
+ es: "#000000"
214
+ en: "#000000"
215
+ lead_font_size:
216
+ type: "string"
217
+ label:
218
+ en: "Height for descriptions"
219
+ es: "Altura de las descripciones"
220
+ help:
221
+ en: ""
222
+ es: ""
223
+ default:
224
+ es: "1.25rem"
225
+ en: "1.25rem"
148
226
  h1_font_size:
149
227
  type: "string"
150
228
  label:
data/_data/theme.yml CHANGED
@@ -30,6 +30,7 @@ colors:
30
30
  post: "rgba(230, 230, 230, 0.1)"
31
31
  footnote: "#888888"
32
32
  primary: "$primary"
33
+ footer: "$footer-color"
33
34
  letter_spacings:
34
35
  1: "0.1rem"
35
36
  2: "0.16rem"
@@ -12,7 +12,7 @@ Author block
12
12
  <div class="">
13
13
  <div class="py-3">
14
14
  <a href="{{include.title.url}}" class="hover-black">
15
- {% include headings/h3.html text=include.title.alias class="black source-serif font-weight-bold" %}
15
+ {% include headings/h3.html text=include.title.alias class="black font-family-secondary font-weight-bold" %}
16
16
  </a>
17
17
  </div>
18
18
 
@@ -5,6 +5,6 @@ La biografía de le autore que aparece al final de los artículos.
5
5
  @param :text [html] El contenido con formato
6
6
  {%- endcomment -%}
7
7
 
8
- <div class="f-14 f-md-19 work-sans content font-weight-light font-italic pb-3">
8
+ <div class="f-14 f-md-19 font-family-primary content font-weight-light font-italic pb-3">
9
9
  {{- include.text -}}
10
10
  </div>
@@ -17,12 +17,12 @@ Card horizontal
17
17
 
18
18
  <div class="col-12 col-md pl-xl-5 pt-5 pt-md-0">
19
19
  <div class="">
20
- {% include headings/h1.html text=include.title class="d-inline-flex font-italic border-width-1 border-black border-bottom-dashed display-3 work-sans" %}
20
+ {% include headings/h1.html text=include.title class="d-inline-flex font-italic border-width-1 border-black border-bottom-dashed font-family-primary" %}
21
21
  </div>
22
22
 
23
23
  <p class="my-3 text-monospace lead">{{ include.subtitle }}</p>
24
24
 
25
- <div class="content f-19 lead-md">
25
+ <div class="content lead">
26
26
  {{ include.content }}
27
27
  </div>
28
28
  </div>
@@ -19,5 +19,5 @@ La ficha de post en el índice de artículos del home.
19
19
  href=include.href
20
20
  title_class="font-weight-bold text-uppercase m-0 pt-3 pb-2 letter-spacing-6 display-4 f-xl-25"
21
21
  author_class="text-uppercase letter-spacing-4 f-16 lead-md f-xl-17"
22
- description_class="source-serif f-16 lead-md f-xl-17 mt-12"
22
+ description_class="font-family-secondary f-16 lead-md f-xl-17 mt-12"
23
23
  %}
@@ -12,7 +12,7 @@ Footer
12
12
  {%- assign code_of_conduct = site.posts | find: "layout", "code_of_conduct" -%}
13
13
  {%- assign privacy_policy = site.posts | find: "layout", "privacy_policy" -%}
14
14
 
15
- <footer class="d-flex justify-content-center background-size-cover background-position-top-left background-image-footer">
15
+ <footer class="d-flex justify-content-center background-size-cover background-position-top-left background-image-footer footer">
16
16
  <div class="row row-cols-md-1 row-cols-lg-3 justify-content-center container-lg mx-auto pt-150 pb-5 f-14 px-4">
17
17
  <div class="col-12 px-3 content">
18
18
  {{ include.col_1 }}
data/_layouts/about.html CHANGED
@@ -5,5 +5,5 @@ layout: "default_with_menu"
5
5
  <article id="{{ page.slug }}" class="container mx-auto max-w-780px py-4 px-20 mt-lg-5">
6
6
  {% include headings/h1.html class="text-uppercase black hover-black letter-spacing-4 font-weight-bold mb-4" text=page.title %}
7
7
 
8
- <div class="lead-md content pt-2 source-serif">{{ page.content }}</div>
8
+ <div class="lead-md content pt-2 font-family-secondary">{{ page.content }}</div>
9
9
  </article>
@@ -34,7 +34,7 @@ layout: "default_with_menu"
34
34
  {% endunless %}
35
35
 
36
36
  {% unless page.content == empty %}
37
- <div class="source-serif lead-md pt-2 content">
37
+ <div class="font-family-secondary lead-md pt-2 content">
38
38
  {{ content }}
39
39
  </div>
40
40
  {% endunless %}
@@ -56,7 +56,7 @@ layout: "default_with_menu"
56
56
  {% endunless %}
57
57
 
58
58
  {% unless page.final_message == empty %}
59
- <p class="font-italic source-serif lead-md border-bottom border-gray border-width-2 py-3">{{ page.final_message }}</p>
59
+ <p class="font-italic font-family-secondary lead-md border-bottom border-gray border-width-2 py-3">{{ page.final_message }}</p>
60
60
  {% endunless %}
61
61
  </div>
62
62
 
@@ -11,7 +11,7 @@ layout: "default_with_menu"
11
11
  {% endif %}
12
12
 
13
13
  <div
14
- class="source-serif lead-md pt-20 content"
14
+ class="font-family-secondary lead-md pt-20 content"
15
15
  data-controller="footnotes"
16
16
  data-action="resize@window->footnotes#resize"
17
17
  data-footnotes-container-width-value="{{ site.data.theme.footnotes_container_width }}"
@@ -11,7 +11,7 @@ layout: "default_with_menu"
11
11
  {% endif %}
12
12
 
13
13
  <div
14
- class="source-serif lead-md pt-20 content"
14
+ class="font-family-secondary lead-md pt-20 content"
15
15
  data-controller="footnotes"
16
16
  data-action="resize@window->footnotes#resize"
17
17
  data-footnotes-container-width-value="{{ site.data.theme.footnotes_container_width }}"
data/_layouts/post.html CHANGED
@@ -41,7 +41,7 @@ layout: "default_with_menu"
41
41
  data-footnotes-footnote-class="{{ site.data.theme.footnotes_footnote_class | join: " " }}"
42
42
  data-footnotes-footnote-toggled-class="{{ site.data.theme.footnotes_footnote_toggled_class | join: " " }}"
43
43
  data-footnotes-sidenote-class="{{ site.data.theme.footnotes_sidenote_class | join: " " }}"
44
- class="source-serif lead-md pt-20 content"
44
+ class="font-family-secondary lead-md pt-20 content"
45
45
  data-controller="footnotes"
46
46
  data-action="resize@window->footnotes#resize"
47
47
  >
@@ -11,7 +11,7 @@ layout: "default_with_menu"
11
11
  {% endif %}
12
12
 
13
13
  <div
14
- class="source-serif lead-md pt-20 content"
14
+ class="font-family-secondary lead-md pt-20 content"
15
15
  data-controller="footnotes"
16
16
  data-action="resize@window->footnotes#resize"
17
17
  data-footnotes-container-width-value="{{ site.data.theme.footnotes_container_width }}"
data/_sass/utilities.scss CHANGED
@@ -251,6 +251,14 @@
251
251
  font-family: 'Source Serif 4';
252
252
  }
253
253
 
254
+ .font-family-primary {
255
+ font-family: $font-family-primary;
256
+ }
257
+
258
+ .font-family-secondary {
259
+ font-family: $font-family-secondary;
260
+ }
261
+
254
262
  .zindex-dropdown { z-index: 1000; }
255
263
  .zindex-sticky { z-index: 1020; }
256
264
  .zindex-fixed { z-index: 1030; }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compost-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-18 00:00:00.000000000 Z
11
+ date: 2025-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll