@forsakringskassan/docs-generator 2.32.1 → 2.32.2
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/dist/style/core.css +5 -5
- package/dist/style/index.css +12 -18
- package/dist/style/site.css +7 -13
- package/dist/style/theme/fkui.css +7 -4
- package/package.json +1 -1
package/dist/style/core.css
CHANGED
|
@@ -181,9 +181,9 @@ h5 + h6 {
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.docs-paragraph {
|
|
184
|
-
font-size: var(--
|
|
185
|
-
font-weight: var(--
|
|
186
|
-
line-height: var(--
|
|
184
|
+
font-size: var(--docs-font-size);
|
|
185
|
+
font-weight: var(--docs-font-weight);
|
|
186
|
+
line-height: var(--docs-line-height);
|
|
187
187
|
margin-bottom: 1rem;
|
|
188
188
|
}
|
|
189
189
|
|
|
@@ -193,10 +193,10 @@ strong {
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
code {
|
|
196
|
-
font-size: var(--
|
|
196
|
+
font-size: var(--docs-font-size);
|
|
197
197
|
border-radius: var(--f-border-radius-small);
|
|
198
198
|
font-family: var(--f-font-family-code);
|
|
199
|
-
background-color: var(--
|
|
199
|
+
background-color: var(--docs-code-background-color);
|
|
200
200
|
display: inline-block;
|
|
201
201
|
margin: 0 0.25rem;
|
|
202
202
|
padding: 0 0.25rem;
|
package/dist/style/index.css
CHANGED
|
@@ -181,9 +181,9 @@ h5 + h6 {
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.docs-paragraph {
|
|
184
|
-
font-size: var(--
|
|
185
|
-
font-weight: var(--
|
|
186
|
-
line-height: var(--
|
|
184
|
+
font-size: var(--docs-font-size);
|
|
185
|
+
font-weight: var(--docs-font-weight);
|
|
186
|
+
line-height: var(--docs-line-height);
|
|
187
187
|
margin-bottom: 1rem;
|
|
188
188
|
}
|
|
189
189
|
|
|
@@ -193,10 +193,10 @@ strong {
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
code {
|
|
196
|
-
font-size: var(--
|
|
196
|
+
font-size: var(--docs-font-size);
|
|
197
197
|
border-radius: var(--f-border-radius-small);
|
|
198
198
|
font-family: var(--f-font-family-code);
|
|
199
|
-
background-color: var(--
|
|
199
|
+
background-color: var(--docs-code-background-color);
|
|
200
200
|
display: inline-block;
|
|
201
201
|
margin: 0 0.25rem;
|
|
202
202
|
padding: 0 0.25rem;
|
|
@@ -1336,6 +1336,8 @@ kbd {
|
|
|
1336
1336
|
|
|
1337
1337
|
:root {
|
|
1338
1338
|
--docs-font-family: "Inter Variable", sans-serif;
|
|
1339
|
+
--docs-font-line-height: 1.5;
|
|
1340
|
+
--docs-font-size: 16px;
|
|
1339
1341
|
--docs-font-weight: normal;
|
|
1340
1342
|
--docs-text-color-default: #1b1e23;
|
|
1341
1343
|
--docs-text-color-discrete: #5f6165;
|
|
@@ -1581,24 +1583,16 @@ html {
|
|
|
1581
1583
|
|
|
1582
1584
|
html,
|
|
1583
1585
|
body {
|
|
1584
|
-
font-family: var(--docs-font-family);
|
|
1585
|
-
font-weight: var(--docs-font-weight);
|
|
1586
|
-
font-size: var(--f-font-size-default-rem);
|
|
1587
|
-
font-feature-settings: "liga" 1, "calt" 1;
|
|
1588
1586
|
min-width: 400px;
|
|
1589
1587
|
}
|
|
1590
|
-
@media (width >= 1024px) {
|
|
1591
|
-
html,
|
|
1592
|
-
body {
|
|
1593
|
-
font-size: var(--f-font-size-default-large-up-rem);
|
|
1594
|
-
}
|
|
1595
|
-
}
|
|
1596
1588
|
|
|
1597
1589
|
body {
|
|
1598
|
-
color: var(--
|
|
1599
|
-
font-
|
|
1590
|
+
color: var(--docs-text-color-default);
|
|
1591
|
+
font-family: var(--docs-font-family);
|
|
1592
|
+
font-feature-settings: "liga" 1, "calt" 1;
|
|
1593
|
+
font-size: var(--docs-font-size);
|
|
1600
1594
|
font-weight: var(--docs-font-weight);
|
|
1601
|
-
line-height: var(--
|
|
1595
|
+
line-height: var(--docs-line-height);
|
|
1602
1596
|
}
|
|
1603
1597
|
|
|
1604
1598
|
.page-header {
|
package/dist/style/site.css
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--docs-font-family: "Inter Variable", sans-serif;
|
|
3
|
+
--docs-font-line-height: 1.5;
|
|
4
|
+
--docs-font-size: 16px;
|
|
3
5
|
--docs-font-weight: normal;
|
|
4
6
|
--docs-text-color-default: #1b1e23;
|
|
5
7
|
--docs-text-color-discrete: #5f6165;
|
|
@@ -251,24 +253,16 @@ html {
|
|
|
251
253
|
|
|
252
254
|
html,
|
|
253
255
|
body {
|
|
254
|
-
font-family: var(--docs-font-family);
|
|
255
|
-
font-weight: var(--docs-font-weight);
|
|
256
|
-
font-size: var(--f-font-size-default-rem);
|
|
257
|
-
font-feature-settings: "liga" 1, "calt" 1;
|
|
258
256
|
min-width: 400px;
|
|
259
257
|
}
|
|
260
|
-
@media (width >= 1024px) {
|
|
261
|
-
html,
|
|
262
|
-
body {
|
|
263
|
-
font-size: var(--f-font-size-default-large-up-rem);
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
258
|
|
|
267
259
|
body {
|
|
268
|
-
color: var(--
|
|
269
|
-
font-
|
|
260
|
+
color: var(--docs-text-color-default);
|
|
261
|
+
font-family: var(--docs-font-family);
|
|
262
|
+
font-feature-settings: "liga" 1, "calt" 1;
|
|
263
|
+
font-size: var(--docs-font-size);
|
|
270
264
|
font-weight: var(--docs-font-weight);
|
|
271
|
-
line-height: var(--
|
|
265
|
+
line-height: var(--docs-line-height);
|
|
272
266
|
}
|
|
273
267
|
|
|
274
268
|
.page-header {
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*/
|
|
2
|
+
Re map Docs variables to FKUI theme variable
|
|
3
|
+
https://designsystem.forsakringskassan.se/latest/styles/colors.html
|
|
4
|
+
*/
|
|
5
5
|
:root {
|
|
6
|
-
--docs-
|
|
6
|
+
--docs-font-line-height: var(--f-line-height-large);
|
|
7
|
+
--docs-font-size: var(--f-font-size-default-rem);
|
|
8
|
+
--docs-text-color-default: var(--fkds-color-text-primary);
|
|
7
9
|
--docs-header-background-color: var(--fkds-color-background-primary);
|
|
8
10
|
--docs-header-border-color: var(--fkds-color-border-weak);
|
|
11
|
+
--docs-code-background-color: var(--f-background-code);
|
|
9
12
|
}
|