@sb1/ffe-grid 14.0.7 → 14.2.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.
Files changed (2) hide show
  1. package/less/ffe-grid.less +48 -0
  2. package/package.json +2 -2
@@ -246,6 +246,30 @@
246
246
  }
247
247
  }
248
248
  }
249
+
250
+ &--bg-dark-svart {
251
+ .native & {
252
+ @media (prefers-color-scheme: dark) {
253
+ background-color: var(--ffe-farge-svart);
254
+ }
255
+ }
256
+ }
257
+
258
+ &--bg-dark-natt {
259
+ .native & {
260
+ @media (prefers-color-scheme: dark) {
261
+ background-color: var(--ffe-farge-natt);
262
+ }
263
+ }
264
+ }
265
+
266
+ &--bg-dark-koksgraa {
267
+ .native & {
268
+ @media (prefers-color-scheme: dark) {
269
+ background-color: var(--ffe-farge-koksgraa);
270
+ }
271
+ }
272
+ }
249
273
  }
250
274
 
251
275
  [class*='ffe-grid__row--bg-'] {
@@ -344,6 +368,30 @@
344
368
  }
345
369
  }
346
370
 
371
+ &--bg-dark-svart {
372
+ .native & {
373
+ @media (prefers-color-scheme: dark) {
374
+ background-color: var(--ffe-farge-svart);
375
+ }
376
+ }
377
+ }
378
+
379
+ &--bg-dark-natt {
380
+ .native & {
381
+ @media (prefers-color-scheme: dark) {
382
+ background-color: var(--ffe-farge-natt);
383
+ }
384
+ }
385
+ }
386
+
387
+ &--bg-dark-koksgraa {
388
+ .native & {
389
+ @media (prefers-color-scheme: dark) {
390
+ background-color: var(--ffe-farge-koksgraa);
391
+ }
392
+ }
393
+ }
394
+
347
395
  &--center-text {
348
396
  text-align: center;
349
397
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-grid",
3
- "version": "14.0.7",
3
+ "version": "14.2.0",
4
4
  "description": "A grid component for use within the FFE framework",
5
5
  "keywords": [
6
6
  "ffe"
@@ -27,5 +27,5 @@
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "cc263235739eb3dc241a230b0b446ea89659ea77"
30
+ "gitHead": "2fbed8952cbf28eb2fde5a97d00cf4e48a18f535"
31
31
  }