@imiobe/plonetheme-smartweb-base 0.3.8 → 0.3.9

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.
@@ -1,6 +1,8 @@
1
1
  //*// COLORS
2
2
  $primary: #222831 !default;
3
3
  $primary-svg: #235789 !default;
4
+ $grey-bg: #ebebeb !default;
5
+ $black-color: #1f1f1f !default;
4
6
 
5
7
  //*// TYPOGRAPHY
6
8
 
@@ -11,7 +13,7 @@ $font-family-base: "Roboto", sans-serif !default;
11
13
  $font-family-title: "Nunito", sans-serif !default;
12
14
  $font-title-color: $primary !default;
13
15
  $font-title-color-light: #fff !default;
14
- $font-title-color-dark: #000 !default;
16
+ $font-title-color-dark: $black-color !default;
15
17
  $font-title-weight: 700 !default;
16
18
 
17
19
  // $font-size-base affects the font size of the body text
@@ -46,7 +48,6 @@ $home-section-title-margin: 0 0 2rem 0 !default;
46
48
  $home-section-title-padding: 0 !default;
47
49
  $home-section-title-align: left !default;
48
50
  $section-padding-top: 0 !default;
49
- $to-portal-link-color: #282828 !default;
50
51
  $img-placeholder: #f2f2f2 !default;
51
52
 
52
53
  //swiper
@@ -68,7 +69,7 @@ $header-top-background: #fff !default;
68
69
  $header-center-nav: false !default;
69
70
  $header-nav-margin: 0 1rem 0 1rem !default;
70
71
  $header-nav-link-color: $primary !default;
71
- $header-nav-link-font-size: 16px !default;
72
+ $header-nav-link-font-size: 1rem !default;
72
73
  $header-nav-link-font-family: $font-family-base !default;
73
74
  $header-links-color: $primary !default;
74
75
  $header-links-account-margin: 0 !default;
@@ -110,7 +111,7 @@ $nav-sub-link-font-size: $nav-link-font-size !default;
110
111
  $nav-sub-link-font-weight: $nav-link-font-weight !default;
111
112
  $nav-overlay-radius: $global-radius !default;
112
113
  $nav-overlay-title-color: $primary !default;
113
- $nav-overlay-title-font-size: 24px !default;
114
+ $nav-overlay-title-font-size: 1.5rem !default;
114
115
  $nav-overlay-title-font-weight: bold !default;
115
116
  $nav-overlay-next-color-hover: $primary !default;
116
117
  $nav-overlay-next-icon-color: #000;
@@ -141,11 +142,11 @@ $banner-content-margin: 0 !default;
141
142
  $banner-content-padding: 1rem !default;
142
143
  $banner-content-background: rgb(256 256 256 / 50%) !default;
143
144
  $banner-content-is-vertical-center: true !default;
144
- $banner-content-title-font-size: 50px !default;
145
+ $banner-content-title-font-size: 3.125rem !default;
145
146
  $banner-content-title-color: black !default;
146
147
  $banner-content-title-text-transform: initial !default;
147
148
  $banner-content-text-align: left !default;
148
- $banner-content-description-font-size: 18px !default;
149
+ $banner-content-description-font-size: 1.125rem !default;
149
150
  $banner-content-description-color: black !default;
150
151
 
151
152
  // see_all
@@ -156,7 +157,7 @@ $see-all-color: $primary !default;
156
157
  $see-all-radius: $global-radius !default;
157
158
  $see-all-border: solid 0 $primary !default;
158
159
  $see-all-text-transform: none !default;
159
- $see-all-font-size: 16px !default;
160
+ $see-all-font-size: 1rem !default;
160
161
  $see-all-font-weight: 700 !default;
161
162
  $see-all-transition: all 0.2s ease !default;
162
163
  $see-all-hover-bg: transparent !default;
@@ -184,7 +185,7 @@ $quick-access-shadow: none !default;
184
185
  $quick-access-svg-width: 40px !default;
185
186
  $quick-access-svg-color: $primary !default;
186
187
  $quick-access-item-title-margin: 1rem 0 0 0 !default;
187
- $quick-access-title-font-size: 18px !default;
188
+ $quick-access-title-font-size: 1.125rem !default;
188
189
  $quick-access-title-color: $primary !default;
189
190
  $quick-access-title-text-transform: initial !default;
190
191
  $quick-access-title-weight: 400 !default;
@@ -231,7 +232,7 @@ $actu-category-padding: 0.5rem 1rem !default;
231
232
  $actu-category-color: #fff !default;
232
233
  $actu-category-bg-color: $primary-svg !default;
233
234
  $actu-category-text-transform: uppercase !default;
234
- $actu-category-font-size: 14px !default;
235
+ $actu-category-font-size: 0.875rem !default;
235
236
  $actu-category-font-weight: initial !default;
236
237
  $actu-category-radius: $global-radius !default;
237
238
  $actu-item-title-margin: 0 0 0 0 !default;
@@ -249,7 +250,7 @@ $actu-item-description-font-family: $font-family-base !default;
249
250
  $actu-date-margin: 0 0 0.5rem 0 !default;
250
251
  $actu-date-padding: 0 1rem !default;
251
252
  $actu-date-color: $primary !default;
252
- $actu-date-font-size: 14px !default;
253
+ $actu-date-font-size: 0.875rem !default;
253
254
  $actu-date-align: left !default;
254
255
  $actu-see-all-justify-content: $see-all-justify-content !default;
255
256
 
@@ -271,7 +272,7 @@ $event-category-padding: 0.5rem 1rem !default;
271
272
  $event-category-color: #fff !default;
272
273
  $event-category-bg-color: $primary-svg !default;
273
274
  $event-category-text-transform: uppercase !default;
274
- $event-category-font-size: 14px !default;
275
+ $event-category-font-size: 0.875rem !default;
275
276
  $event-category-font-weight: initial !default;
276
277
  $event-category-radius: $global-radius !default;
277
278
  $event-item-title-margin: 0 !default;
@@ -288,7 +289,7 @@ $event-item-description-font-family: $font-family-base !default;
288
289
  $event-date-margin: 0 0 0.5rem 0 !default;
289
290
  $event-date-padding: 0 1rem !default;
290
291
  $event-date-color: $primary !default;
291
- $event-date-font-size: 14px !default;
292
+ $event-date-font-size: 0.875rem !default;
292
293
  $event-see-all-justify-content: $see-all-justify-content !default;
293
294
 
294
295
  // footer
@@ -315,7 +316,7 @@ $album-category-padding: 0 !default;
315
316
  $album-category-color: $primary !default;
316
317
  $album-category-bg-color: #000 !default;
317
318
  $album-category-text-transform: uppurcase !default;
318
- $album-category-font-size: 14px !default;
319
+ $album-category-font-size: 0.875rem !default;
319
320
  $album-category-font-weight: initial !default;
320
321
  $album-category-radius: $global-radius !default;
321
322
  $album-item-title-margin: 1rem 0 !default;
@@ -327,7 +328,7 @@ $album-item-title-font-weight: initial !default;
327
328
  $album-date-margin: 0 !default;
328
329
  $album-date-padding: 0 !default;
329
330
  $album-date-color: $primary !default;
330
- $album-date-font-size: 14px !default;
331
+ $album-date-font-size: 0.875rem !default;
331
332
  $album-see-all-justify-content: $see-all-justify-content !default;
332
333
 
333
334
  // Newsletter
@@ -397,9 +398,14 @@ $list-group-item-padding-x: 0;
397
398
 
398
399
  // Message Viewlets
399
400
 
400
- $message-info: #27789c;
401
- $message-warning: #c06d01;
402
- $message-error: #ae2609;
401
+ $message-info-bg: $primary;
402
+ $message-info-color: #fff;
403
+
404
+ $message-warning-bg: oklch(82.8% 0.189 84.429deg);
405
+ $message-warning-color: $black-color;
406
+
407
+ $message-error-bg: oklch(50.5% 0.213 27.518deg);
408
+ $message-error-color: #fff;
403
409
 
404
410
  //QUICK ACCESS
405
411
  $quick-access-title-font-family: $font-family-title !default;
@@ -407,6 +413,28 @@ $quick-access-title-font-family: $font-family-title !default;
407
413
  //SEE ALL
408
414
  $see-all-font-family: $font-family-title !default;
409
415
 
416
+ // Portal Link
417
+ $to-portal-link-bg: #f1f1f1 !default;
418
+ $to-portal-link-color: #282828 !default;
419
+ $to-portal-link-hv-bg: #000 !default;
420
+ $to-portal-link-hv-color: #fff !default;
421
+
422
+ // React back btn
423
+ $react-arrow-btn-bg: $grey-bg !default;
424
+ $react-arrow-btn-next-bg: transparent !default;
425
+ $react-arrow-btn-color: $black-color !default;
426
+ $react-arrow-btn-hv-bg: transparent !default;
427
+ $react-arrow-btn-hv-color: $black-color !default;
428
+ $react-arrow-btn-hv-radius: 5px !default;
429
+
430
+ // Cookie banner
431
+ $cookie-banner-bg: #1863dc !default;
432
+ $cookie-banner-hv-bg: transparent !default;
433
+ $cookie-banner-border: 2px solid #1863dc;
434
+ $cookie-banner-hv-border: 2px solid #1863dc;
435
+ $cookie-banner-color: #fff !default;
436
+ $cookie-banner-hv-color: #1863dc !default;
437
+
410
438
  :root {
411
439
  --bs-card-spacer-x: 1rem;
412
440
  --bs-card-spacer-y: 1rem;
package/theme.zip CHANGED
Binary file
@@ -0,0 +1,51 @@
1
+ #!/usr/bin/env node
2
+ const { execSync } = require('child_process');
3
+ const fs = require('fs');
4
+ const path = require('path');
5
+
6
+ const version = process.argv[2];
7
+ if (!version) {
8
+ console.error('Usage: node update-changelog.js <version>');
9
+ process.exit(1);
10
+ }
11
+
12
+ const date = new Date().toISOString().split('T')[0];
13
+ const repoUrl = 'https://github.com/IMIO/imio_smartweb_themes';
14
+
15
+ // Previous tag (before new one is created)
16
+ let prevTag;
17
+ try {
18
+ prevTag = execSync('git describe --tags --abbrev=0', { encoding: 'utf8' }).trim();
19
+ } catch (e) {
20
+ prevTag = null;
21
+ }
22
+
23
+ // Commits touching current directory (base/) since previous tag
24
+ let commits = '';
25
+ try {
26
+ const range = prevTag ? `${prevTag}...HEAD` : 'HEAD';
27
+ commits = execSync(`git log --pretty=format:"* %s (%h)" ${range} -- .`, { encoding: 'utf8' }).trim();
28
+ } catch (e) {
29
+ // no commits
30
+ }
31
+
32
+ // Build new CHANGELOG entry
33
+ const compareUrl = prevTag
34
+ ? `${repoUrl}/compare/${prevTag}...v${version}`
35
+ : `${repoUrl}/releases/tag/v${version}`;
36
+
37
+ const newEntry = commits
38
+ ? `## [${version}](${compareUrl}) (${date})\n\n${commits}`
39
+ : `## [${version}](${compareUrl}) (${date})`;
40
+
41
+ // Prepend to CHANGELOG.md
42
+ const infile = path.join(__dirname, 'CHANGELOG.md');
43
+ let existing = '';
44
+ try {
45
+ existing = fs.readFileSync(infile, 'utf8').trim();
46
+ } catch (e) {
47
+ // file doesn't exist yet
48
+ }
49
+
50
+ fs.writeFileSync(infile, newEntry + (existing ? '\n\n' + existing : '') + '\n');
51
+ console.log(`CHANGELOG.md updated for v${version}`);