@leuffen/themejs1 2.0.16 → 3.0.1

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/late.scss ADDED
@@ -0,0 +1,3 @@
1
+ /* Very imporant for Pagespeed: Load fonts last */
2
+ @import "themes/_vendor/font-bootstrap-icons";
3
+ @import "themes/_vendor/font-ubuntu";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leuffen/themejs1",
3
- "version": "2.0.16",
3
+ "version": "3.0.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.module.js",
package/theme1.scss CHANGED
@@ -1,3 +1,2 @@
1
1
  @import "themes/theme1/index";
2
- @import "themes/_vendor/font-bootstrap-icons";
3
- @import "themes/_vendor/font-ubuntu";
2
+
@@ -3,6 +3,7 @@
3
3
  .tjs__root-format {
4
4
 
5
5
 
6
+
6
7
  color: var(--t-text-color);
7
8
  background: var(--t-background);
8
9
 
@@ -31,6 +32,7 @@
31
32
  line-height: 1.2em;
32
33
  color: var(--t-text-color) !important;
33
34
  margin: var(--t-header-margin, 0 0 20px 0);
35
+ hyphens: manual;
34
36
  }
35
37
 
36
38
  .table {
@@ -86,7 +88,7 @@
86
88
 
87
89
  p {
88
90
  margin: var(--t-paragraf-margin);
89
-
91
+ hyphens: auto; // Wortumbruch
90
92
  }
91
93
 
92
94
  p:first-child {
@@ -5,9 +5,9 @@ $bootstrap-icons-font-file: #{$bootstrap-icons-font-dir}/#{$bootstrap-icons-font
5
5
  $bootstrap-icons-font-src: url("#{$bootstrap-icons-font-file}.woff2") format("woff2"), url("#{$bootstrap-icons-font-file}.woff") format("woff") !default;
6
6
 
7
7
  @font-face {
8
- font-display: block;
9
- font-family: $bootstrap-icons-font;
10
- src: $bootstrap-icons-font-src;
8
+ font-family: $bootstrap-icons-font;
9
+ src: $bootstrap-icons-font-src;
10
+ font-display: swap;
11
11
  }
12
12
 
13
13
  .bi::before,