gatsby-core-theme 44.25.3 → 44.26.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
# [44.26.0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.25.3...v44.26.0) (2026-06-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
* Merge branch 'EN-494/content-template-four' into 'master' ([2029c81](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/2029c81166c9c3ada7c133831d62c377fe7ab887))
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* add content template four ([217253c](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/217253c8f3eeab92639ec5d004c343b1e61f441c))
|
|
10
|
+
|
|
1
11
|
## [44.25.3](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.25.2...v44.25.3) (2026-06-08)
|
|
2
12
|
|
|
3
13
|
|
package/package.json
CHANGED
|
@@ -317,3 +317,50 @@ ul, ol{
|
|
|
317
317
|
.three-column-block {
|
|
318
318
|
grid-template-columns: repeat(3, 1fr);
|
|
319
319
|
}
|
|
320
|
+
|
|
321
|
+
.templateFour {
|
|
322
|
+
h2 {
|
|
323
|
+
margin-top: 0;
|
|
324
|
+
margin-bottom: 2.4rem;
|
|
325
|
+
color: #1B1B1C;
|
|
326
|
+
text-transform: capitalize;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
img {
|
|
330
|
+
min-width: 34.3rem;
|
|
331
|
+
width: 100%;
|
|
332
|
+
height: auto;
|
|
333
|
+
border-radius: 1.6rem;
|
|
334
|
+
|
|
335
|
+
@include min(desktop) {
|
|
336
|
+
min-width: 46rem;
|
|
337
|
+
border-radius: 2.4rem;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
/* stylelint-disable no-descending-specificity */
|
|
341
|
+
p {
|
|
342
|
+
--paragraph-content-first-margin-bottom: 0;
|
|
343
|
+
|
|
344
|
+
color: #515156;
|
|
345
|
+
text-align: left;
|
|
346
|
+
margin-bottom: 0 !important;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.column {
|
|
350
|
+
display: flex;
|
|
351
|
+
flex-direction: column;
|
|
352
|
+
gap: 4rem;
|
|
353
|
+
|
|
354
|
+
@include min(tablet) {
|
|
355
|
+
display: grid;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
>:has(p > img) {
|
|
359
|
+
order: 2;
|
|
360
|
+
|
|
361
|
+
@include min(tablet) {
|
|
362
|
+
order: unset;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
@@ -40,6 +40,8 @@ const Content = ({
|
|
|
40
40
|
return `${table.templateTwo || ''}`
|
|
41
41
|
case 'template_three':
|
|
42
42
|
return `${table.templateOne || ''} ${frame.frame || ''}`
|
|
43
|
+
case 'template_four':
|
|
44
|
+
return `${styles.templateFour || ''}`
|
|
43
45
|
default:
|
|
44
46
|
return `${table.templateOne || ''}`
|
|
45
47
|
}
|
|
@@ -29,4 +29,14 @@
|
|
|
29
29
|
|
|
30
30
|
.archiveModule_suspense {
|
|
31
31
|
min-height: 100rem;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.content-module:has([class*="templateFour"]) {
|
|
35
|
+
--max-width-content: 96rem;
|
|
36
|
+
|
|
37
|
+
background-color: var(--content-template-four-bg-color, #fff);
|
|
38
|
+
|
|
39
|
+
@include min(desktop) {
|
|
40
|
+
--padding-content-min-tablet: 0;
|
|
41
|
+
}
|
|
32
42
|
}
|