@sb1/ffe-core 27.3.2 → 27.3.4
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 +29 -0
- package/less/typography.less +2 -4
- package/package.json +2 -2
package/less/theme.less
CHANGED
|
@@ -75,6 +75,35 @@
|
|
|
75
75
|
--ffe-fontsize-form-dropdown: 1rem;
|
|
76
76
|
--ffe-fontsize-button: 1rem;
|
|
77
77
|
|
|
78
|
+
/** Breakpoints */
|
|
79
|
+
--breakpoint-sm: @breakpoint-sm;
|
|
80
|
+
--breakpoint-md: @breakpoint-md;
|
|
81
|
+
--breakpoint-lg: @breakpoint-lg;
|
|
82
|
+
--breakpoint-xl: @breakpoint-xl;
|
|
83
|
+
|
|
84
|
+
/** Dimensions */
|
|
85
|
+
--app-width: @app-width;
|
|
86
|
+
--app-width-min: @app-width-min;
|
|
87
|
+
--app-margin: @app-margin;
|
|
88
|
+
|
|
89
|
+
/** Motion */
|
|
90
|
+
--ffe-ease-in-out-back: @ffe-ease-in-out-back;
|
|
91
|
+
--ffe-ease: @ffe-ease;
|
|
92
|
+
--ffe-transition-duration: @ffe-transition-duration;
|
|
93
|
+
|
|
94
|
+
/** Spacing */
|
|
95
|
+
--ffe-spacing: @ffe-spacing;
|
|
96
|
+
--ffe-spacing-2xs: @ffe-spacing-2xs;
|
|
97
|
+
--ffe-spacing-xs: @ffe-spacing-xs;
|
|
98
|
+
--ffe-spacing-sm: @ffe-spacing-sm;
|
|
99
|
+
--ffe-spacing-md: @ffe-spacing-md;
|
|
100
|
+
--ffe-spacing-lg: @ffe-spacing-lg;
|
|
101
|
+
--ffe-spacing-xl: @ffe-spacing-xl;
|
|
102
|
+
--ffe-spacing-2xl: @ffe-spacing-2xl;
|
|
103
|
+
--ffe-spacing-3xl: @ffe-spacing-3xl;
|
|
104
|
+
--ffe-spacing-4xl: @ffe-spacing-4xl;
|
|
105
|
+
--ffe-spacing-5xl: @ffe-spacing-5xl;
|
|
106
|
+
|
|
78
107
|
@media (min-width: @breakpoint-sm) {
|
|
79
108
|
--ffe-fontsize-lead-paragraph: 1.5rem;
|
|
80
109
|
--ffe-fontsize-sub-lead-paragraph: 1.125rem;
|
package/less/typography.less
CHANGED
|
@@ -197,8 +197,7 @@
|
|
|
197
197
|
margin-bottom: @ffe-spacing-xs;
|
|
198
198
|
margin-top: 0;
|
|
199
199
|
text-wrap: balance;
|
|
200
|
-
|
|
201
|
-
hyphens: auto;
|
|
200
|
+
overflow-wrap: anywhere;
|
|
202
201
|
|
|
203
202
|
&--error {
|
|
204
203
|
color: var(--ffe-g-error-color);
|
|
@@ -475,6 +474,5 @@
|
|
|
475
474
|
.ffe-pre-text,
|
|
476
475
|
.ffe-small-text,
|
|
477
476
|
.ffe-micro-text {
|
|
478
|
-
|
|
479
|
-
hyphens: auto;
|
|
477
|
+
overflow-wrap: anywhere;
|
|
480
478
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-core",
|
|
3
|
-
"version": "27.3.
|
|
3
|
+
"version": "27.3.4",
|
|
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": "530c07f3d613834eb4d5309f53ec715a9ef83936"
|
|
35
35
|
}
|