@forsakringskassan/docs-generator 2.32.0 → 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.
@@ -181,9 +181,9 @@ h5 + h6 {
181
181
  }
182
182
 
183
183
  .docs-paragraph {
184
- font-size: var(--f-font-size-standard);
185
- font-weight: var(--f-font-weight-normal);
186
- line-height: var(--f-line-height-large);
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(--f-font-size-standard);
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(--f-background-code);
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;
@@ -1268,7 +1268,6 @@ kbd {
1268
1268
  border: 1px solid #bbbbbd;
1269
1269
  color: #5f6165;
1270
1270
  padding: 0.1rem 0.5rem;
1271
- margin-left: 0.5rem;
1272
1271
  border-radius: 6px;
1273
1272
  font-family: var(--docs-font-family);
1274
1273
  }
@@ -181,9 +181,9 @@ h5 + h6 {
181
181
  }
182
182
 
183
183
  .docs-paragraph {
184
- font-size: var(--f-font-size-standard);
185
- font-weight: var(--f-font-weight-normal);
186
- line-height: var(--f-line-height-large);
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(--f-font-size-standard);
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(--f-background-code);
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;
@@ -1268,7 +1268,6 @@ kbd {
1268
1268
  border: 1px solid #bbbbbd;
1269
1269
  color: #5f6165;
1270
1270
  padding: 0.1rem 0.5rem;
1271
- margin-left: 0.5rem;
1272
1271
  border-radius: 6px;
1273
1272
  font-family: var(--docs-font-family);
1274
1273
  }
@@ -1337,6 +1336,8 @@ kbd {
1337
1336
 
1338
1337
  :root {
1339
1338
  --docs-font-family: "Inter Variable", sans-serif;
1339
+ --docs-font-line-height: 1.5;
1340
+ --docs-font-size: 16px;
1340
1341
  --docs-font-weight: normal;
1341
1342
  --docs-text-color-default: #1b1e23;
1342
1343
  --docs-text-color-discrete: #5f6165;
@@ -1582,24 +1583,16 @@ html {
1582
1583
 
1583
1584
  html,
1584
1585
  body {
1585
- font-family: var(--docs-font-family);
1586
- font-weight: var(--docs-font-weight);
1587
- font-size: var(--f-font-size-default-rem);
1588
- font-feature-settings: "liga" 1, "calt" 1;
1589
1586
  min-width: 400px;
1590
1587
  }
1591
- @media (width >= 1024px) {
1592
- html,
1593
- body {
1594
- font-size: var(--f-font-size-default-large-up-rem);
1595
- }
1596
- }
1597
1588
 
1598
1589
  body {
1599
- color: var(--f-text-color-default);
1600
- font-size: var(--f-font-size-standard);
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);
1601
1594
  font-weight: var(--docs-font-weight);
1602
- line-height: var(--f-line-height-large);
1595
+ line-height: var(--docs-line-height);
1603
1596
  }
1604
1597
 
1605
1598
  .page-header {
@@ -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(--f-text-color-default);
269
- font-size: var(--f-font-size-standard);
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(--f-line-height-large);
265
+ line-height: var(--docs-line-height);
272
266
  }
273
267
 
274
268
  .page-header {
@@ -1,9 +1,12 @@
1
1
  /**
2
- Re map Docs variables to FKUI theme variable
3
- https://designsystem.forsakringskassan.se/latest/styles/colors.html
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-color-text-primary: var(--fkds-color-text-primary);
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/docs-generator",
3
- "version": "2.32.0",
3
+ "version": "2.32.2",
4
4
  "description": "Documentation generator",
5
5
  "keywords": [
6
6
  "documentation"