@sb1/ffe-core 27.4.1 → 27.5.0

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/body.less CHANGED
@@ -1,6 +1,5 @@
1
- // Sets default body color and background color for light and dark themes
1
+ // Sets default body color, font styles and background color for light and dark themes
2
2
  .ffe-body {
3
- color: @ffe-farge-svart;
4
3
  background-color: @ffe-farge-hvit;
5
4
  &.native {
6
5
  @media (prefers-color-scheme: dark) {
@@ -8,4 +7,27 @@
8
7
  background-color: @ffe-farge-svart;
9
8
  }
10
9
  }
10
+
11
+ font-family: var(--ffe-g-font);
12
+ color: var(--ffe-g-text-color);
13
+ font-variant-numeric: tabular-nums;
14
+
15
+ strong {
16
+ font-family: var(--ffe-g-font-strong);
17
+ font-weight: normal;
18
+ }
19
+
20
+ small {
21
+ font-size: var(--ffe-fontsize-small-text);
22
+ }
23
+
24
+ em {
25
+ font-family: var(--ffe-g-font-italic);
26
+ font-weight: normal;
27
+ font-style: normal;
28
+ }
29
+
30
+ pre {
31
+ font-family: consolas, menlo, monaco, monospace;
32
+ }
11
33
  }
package/less/theme.less CHANGED
@@ -114,7 +114,7 @@
114
114
  --ffe-fontsize-h5: 1.125rem;
115
115
  }
116
116
 
117
- @media (min-width: @breakpoint-md) {
117
+ @media (min-width: @breakpoint-lg) {
118
118
  --ffe-fontsize-h1: 2.875rem;
119
119
  --ffe-fontsize-h2: 2.25rem;
120
120
  --ffe-fontsize-h3: 1.75rem;
@@ -322,7 +322,7 @@
322
322
  }
323
323
  }
324
324
 
325
- @media (min-width: @breakpoint-md) {
325
+ @media (min-width: @breakpoint-lg) {
326
326
  .ffe-h1,
327
327
  .ffe-h2,
328
328
  .ffe-h3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-core",
3
- "version": "27.4.1",
3
+ "version": "27.5.0",
4
4
  "description": "Rammeverk for Felles Front End",
5
5
  "license": "MIT",
6
6
  "author": "SpareBank 1",
@@ -22,7 +22,7 @@
22
22
  "build": "./scripts/build.js tokens.config.js && ./scripts/build-custom-mq.js less/breakpoints.less css/custom-media-queries.css && tsc gen-src/index.ts --declaration --outDir lib"
23
23
  },
24
24
  "devDependencies": {
25
- "@sb1/ffe-buildtool": "^0.6.2",
25
+ "@sb1/ffe-buildtool": "^0.6.3",
26
26
  "case": "^1.5.5",
27
27
  "less": "^4.1.2",
28
28
  "postcss": "^8.3.6"
@@ -30,5 +30,5 @@
30
30
  "publishConfig": {
31
31
  "access": "public"
32
32
  },
33
- "gitHead": "9ac84c1d8650f7626876a864cc0dc73a67fa241b"
33
+ "gitHead": "0cfbcbb128afea5d20840a42d605fa3b888b1b35"
34
34
  }