@sb1/ffe-core 27.1.2 → 27.2.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/less/theme.less +5 -8
- package/less/typography.less +19 -0
- package/package.json +2 -2
package/less/theme.less
CHANGED
|
@@ -111,22 +111,19 @@
|
|
|
111
111
|
/** Fonts */
|
|
112
112
|
|
|
113
113
|
/* Default font */
|
|
114
|
-
--ffe-g-font: 'SpareBank1-regular',
|
|
114
|
+
--ffe-g-font: 'SpareBank1-regular', arial, sans-serif;
|
|
115
115
|
|
|
116
116
|
/* h1 - h2 */
|
|
117
|
-
--ffe-g-font-heading: 'SpareBank1-title-medium',
|
|
118
|
-
arial, sans-serif;
|
|
117
|
+
--ffe-g-font-heading: 'SpareBank1-title-medium', arial, sans-serif;
|
|
119
118
|
|
|
120
119
|
/* h3 - h6 */
|
|
121
|
-
--ffe-g-font-heading-small: 'SpareBank1-medium',
|
|
122
|
-
arial, sans-serif;
|
|
120
|
+
--ffe-g-font-heading-small: 'SpareBank1-medium', arial, sans-serif;
|
|
123
121
|
|
|
124
122
|
/* Bold text */
|
|
125
|
-
--ffe-g-font-strong: 'SpareBank1-medium',
|
|
126
|
-
sans-serif;
|
|
123
|
+
--ffe-g-font-strong: 'SpareBank1-medium', arial, sans-serif;
|
|
127
124
|
|
|
128
125
|
/* Emphasized text */
|
|
129
|
-
--ffe-g-font-italic: 'SpareBank1-italic',
|
|
126
|
+
--ffe-g-font-italic: 'SpareBank1-italic', arial, sans-serif;
|
|
130
127
|
|
|
131
128
|
/** Typography */
|
|
132
129
|
|
package/less/typography.less
CHANGED
|
@@ -196,6 +196,9 @@
|
|
|
196
196
|
font-weight: normal;
|
|
197
197
|
margin-bottom: @ffe-spacing-xs;
|
|
198
198
|
margin-top: 0;
|
|
199
|
+
text-wrap: balance;
|
|
200
|
+
word-break: break-word;
|
|
201
|
+
hyphens: auto;
|
|
199
202
|
|
|
200
203
|
&--error {
|
|
201
204
|
color: var(--ffe-g-error-color);
|
|
@@ -256,6 +259,7 @@
|
|
|
256
259
|
margin-top: 0;
|
|
257
260
|
line-height: 1.5rem;
|
|
258
261
|
color: var(--ffe-g-text-color);
|
|
262
|
+
text-wrap: balance;
|
|
259
263
|
|
|
260
264
|
&--text-center {
|
|
261
265
|
text-align: center;
|
|
@@ -272,6 +276,7 @@
|
|
|
272
276
|
font-variant-numeric: tabular-nums;
|
|
273
277
|
margin-top: 0;
|
|
274
278
|
margin-bottom: 1em;
|
|
279
|
+
text-wrap: balance;
|
|
275
280
|
}
|
|
276
281
|
|
|
277
282
|
.ffe-lead-paragraph {
|
|
@@ -459,3 +464,17 @@
|
|
|
459
464
|
}
|
|
460
465
|
}
|
|
461
466
|
}
|
|
467
|
+
|
|
468
|
+
.ffe-body-text,
|
|
469
|
+
.ffe-body-paragraph,
|
|
470
|
+
.ffe-lead-paragraph,
|
|
471
|
+
.ffe-sub-lead-paragraph,
|
|
472
|
+
.ffe-link-text,
|
|
473
|
+
.ffe-strong-text,
|
|
474
|
+
.ffe-em-text,
|
|
475
|
+
.ffe-pre-text,
|
|
476
|
+
.ffe-small-text,
|
|
477
|
+
ffe-micro-text {
|
|
478
|
+
word-break: break-word;
|
|
479
|
+
hyphens: auto;
|
|
480
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-core",
|
|
3
|
-
"version": "27.1
|
|
3
|
+
"version": "27.2.1",
|
|
4
4
|
"description": "Rammeverk for Felles Front End",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "c3320deb2b223463724c8f8dc036fd9c4ddba85a"
|
|
35
35
|
}
|