@sb1/ffe-context-message 5.0.6 → 5.0.10

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.
@@ -81,12 +81,21 @@
81
81
  border-radius: 50%;
82
82
  height: 4em;
83
83
  width: 4em;
84
-
84
+ .native & {
85
+ @media (prefers-color-scheme: dark) {
86
+ background-color: @ffe-farge-svart;
87
+ }
88
+ }
85
89
  &-svg {
86
90
  height: 2.2em;
87
91
  width: 2.2em;
88
92
  padding: @ffe-spacing-2xs;
89
93
  fill: @ffe-farge-fjell;
94
+ .native & {
95
+ @media (prefers-color-scheme: dark) {
96
+ fill: @ffe-farge-vann-70;
97
+ }
98
+ }
90
99
  }
91
100
 
92
101
  @media (min-width: @breakpoint-sm) {
@@ -158,6 +167,11 @@
158
167
  width: 1.5em;
159
168
  padding: @ffe-spacing-2xs;
160
169
  fill: @ffe-farge-fjell;
170
+ .native & {
171
+ @media (prefers-color-scheme: dark) {
172
+ fill: @ffe-farge-vann-70;
173
+ }
174
+ }
161
175
  }
162
176
  }
163
177
 
@@ -182,7 +196,7 @@
182
196
  &--success {
183
197
  background-color: @ffe-farge-nordlys-30;
184
198
  .ffe-context-message-content__icon-svg {
185
- fill: @ffe-farge-nordlys-wcag;
199
+ fill: @ffe-farge-nordlys;
186
200
  }
187
201
  }
188
202
 
@@ -194,7 +208,7 @@
194
208
  }
195
209
 
196
210
  .ffe-context-message-content__icon-svg {
197
- fill: @ffe-farge-baer-wcag;
211
+ fill: @ffe-farge-baer;
198
212
  }
199
213
  }
200
214
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-context-message",
3
- "version": "5.0.6",
3
+ "version": "5.0.10",
4
4
  "description": "Messagebox showing non-critical tip or information about a page or product",
5
5
  "keywords": [
6
6
  "ffe"
@@ -19,7 +19,7 @@
19
19
  "test": "npm run lint"
20
20
  },
21
21
  "devDependencies": {
22
- "@sb1/ffe-core": "^19.1.0"
22
+ "@sb1/ffe-core": "^19.2.0"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@sb1/ffe-core": "*"
@@ -27,5 +27,5 @@
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "8886f3c7f73c8dc931a338ef3ad3d504a068c2ed"
30
+ "gitHead": "1c792a461d9c000bef0abb115457cb40f0b8e1cc"
31
31
  }