nve-designsystem 4.0.0 → 4.0.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/components/nve-navigation-card/nve-navigation-card.styles.js +1 -0
- package/css/nve.css +5 -1
- package/css/nve_dark.css +5 -1
- package/css/rme.css +5 -1
- package/css/rme_dark.css +5 -1
- package/css/varsom.css +5 -1
- package/css/varsom_dark.css +5 -1
- package/custom-elements.json +480 -480
- package/package.json +1 -1
- package/vscode.css-custom-data.json +4 -4
- package/vscode.html-custom-data.json +49 -49
package/css/nve.css
CHANGED
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
--color-shades-grey-900: #222325;
|
|
44
44
|
--color-shades-grey-950: #171a1c;
|
|
45
45
|
--color-shades-grey-999: #141414;
|
|
46
|
+
--color-shades-grey-999-040: rgba(20, 20, 20, 0.4);
|
|
47
|
+
--color-shades-grey-999-080: rgba(20, 20, 20, 0.8);
|
|
46
48
|
--color-shades-grey-000: #ffffff;
|
|
47
49
|
--color-shades-grey-050: #f7f7f8;
|
|
48
50
|
--color-shades-data-color-a-100: #ff858d;
|
|
@@ -257,6 +259,7 @@
|
|
|
257
259
|
--boolean-brand-varsom: false;
|
|
258
260
|
--boolean-brand-rme: false;
|
|
259
261
|
--boolean-brand-nve-rme: true;
|
|
262
|
+
--text-brand-name: Norges vassdrags- og energidirektorat;
|
|
260
263
|
--color-brand-background-primary: var(--color-shades-brand-500);
|
|
261
264
|
--color-brand-background-secondary: var(--color-shades-brand-400);
|
|
262
265
|
--color-brand-background-tertiary: var(--color-shades-brand-150);
|
|
@@ -276,6 +279,7 @@
|
|
|
276
279
|
--color-neutrals-background-secondary: var(--color-shades-grey-150);
|
|
277
280
|
--color-neutrals-background-secondary-dim: var(--color-shades-grey-850);
|
|
278
281
|
--color-neutrals-background-tertiary-dim: var(--color-shades-grey-800);
|
|
282
|
+
--color-neutrals-background-modal-overlay: var(--color-shades-grey-999-040); /** transparent */
|
|
279
283
|
--color-neutrals-foreground-primary: var(--color-shades-grey-999);
|
|
280
284
|
--color-neutrals-foreground-secondary: var(--color-shades-functional-neutralgrey-800);
|
|
281
285
|
--color-neutrals-foreground-subtle: var(--color-shades-functional-neutralgrey-600);
|
|
@@ -623,7 +627,7 @@
|
|
|
623
627
|
--sizing-device-content-max-width-medium: var(--sizing-1000x);
|
|
624
628
|
--sizing-device-content-max-width-small: var(--sizing-572x);
|
|
625
629
|
--sizing-device-content-max-width-x-small: var(--sizing-232x);
|
|
626
|
-
--sizing-brand-logo-medium: var(--sizing-
|
|
630
|
+
--sizing-brand-logo-medium: var(--sizing-84x);
|
|
627
631
|
--sizing-brand-illustration-medium: var(--sizing-40x);
|
|
628
632
|
--sizing-image-x-small: var(--sizing-84x);
|
|
629
633
|
--sizing-image-large: var(--sizing-750x);
|
package/css/nve_dark.css
CHANGED
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
--color-shades-grey-900: #222325;
|
|
44
44
|
--color-shades-grey-950: #171a1c;
|
|
45
45
|
--color-shades-grey-999: #141414;
|
|
46
|
+
--color-shades-grey-999-040: rgba(20, 20, 20, 0.4);
|
|
47
|
+
--color-shades-grey-999-080: rgba(20, 20, 20, 0.8);
|
|
46
48
|
--color-shades-grey-000: #ffffff;
|
|
47
49
|
--color-shades-grey-050: #f7f7f8;
|
|
48
50
|
--color-shades-data-color-a-100: #ff858d;
|
|
@@ -257,6 +259,7 @@
|
|
|
257
259
|
--boolean-brand-varsom: false;
|
|
258
260
|
--boolean-brand-rme: false;
|
|
259
261
|
--boolean-brand-nve-rme: true;
|
|
262
|
+
--text-brand-name: Norges vassdrags- og energidirektorat;
|
|
260
263
|
--color-brand-background-primary: var(--color-shades-brand-500); /** Primarily used on logo backgrounds */
|
|
261
264
|
--color-brand-background-secondary: var(--color-shades-brand-250);
|
|
262
265
|
--color-brand-background-tertiary: var(--color-shades-brand-800);
|
|
@@ -276,10 +279,11 @@
|
|
|
276
279
|
--color-neutrals-background-secondary: var(--color-shades-grey-700);
|
|
277
280
|
--color-neutrals-background-secondary-dim: var(--color-shades-grey-850);
|
|
278
281
|
--color-neutrals-background-tertiary-dim: var(--color-shades-grey-800);
|
|
282
|
+
--color-neutrals-background-modal-overlay: var(--color-shades-grey-999-080); /** transparent */
|
|
279
283
|
--color-neutrals-foreground-primary: var(--color-shades-grey-000);
|
|
280
284
|
--color-neutrals-foreground-secondary: var(--color-shades-functional-neutralgrey-200);
|
|
281
285
|
--color-neutrals-foreground-subtle: var(--color-shades-functional-neutralgrey-400);
|
|
282
|
-
--color-neutrals-foreground-faint: var(--color-shades-functional-neutralgrey-
|
|
286
|
+
--color-neutrals-foreground-faint: var(--color-shades-functional-neutralgrey-300);
|
|
283
287
|
--color-neutrals-foreground-inverted: var(--color-shades-functional-neutralgrey-999);
|
|
284
288
|
--color-neutrals-foreground-white: var(--color-shades-functional-neutralgrey-000); /** Fargen forblir hvit i darkmode */
|
|
285
289
|
--color-neutrals-border-default: var(--color-shades-grey-300);
|
package/css/rme.css
CHANGED
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
--color-shades-grey-900: #141e29;
|
|
44
44
|
--color-shades-grey-950: #0f1926;
|
|
45
45
|
--color-shades-grey-999: #0d0d0e;
|
|
46
|
+
--color-shades-grey-999-040: rgba(13, 13, 14, 0.4);
|
|
47
|
+
--color-shades-grey-999-080: rgba(13, 13, 14, 0.8);
|
|
46
48
|
--color-shades-grey-000: #ffffff;
|
|
47
49
|
--color-shades-grey-050: #f6f7f9;
|
|
48
50
|
--color-shades-data-color-a-100: #b0bbe8;
|
|
@@ -257,6 +259,7 @@
|
|
|
257
259
|
--boolean-brand-varsom: false;
|
|
258
260
|
--boolean-brand-rme: true;
|
|
259
261
|
--boolean-brand-nve-rme: true;
|
|
262
|
+
--text-brand-name: Reguleringsmyndigheten for energi;
|
|
260
263
|
--color-brand-background-primary: var(--color-shades-brand-500);
|
|
261
264
|
--color-brand-background-secondary: var(--color-shades-brand-400);
|
|
262
265
|
--color-brand-background-tertiary: var(--color-shades-brand-150);
|
|
@@ -276,6 +279,7 @@
|
|
|
276
279
|
--color-neutrals-background-secondary: var(--color-shades-grey-150);
|
|
277
280
|
--color-neutrals-background-secondary-dim: var(--color-shades-grey-850);
|
|
278
281
|
--color-neutrals-background-tertiary-dim: var(--color-shades-grey-800);
|
|
282
|
+
--color-neutrals-background-modal-overlay: var(--color-shades-grey-999-040); /** transparent */
|
|
279
283
|
--color-neutrals-foreground-primary: var(--color-shades-grey-999);
|
|
280
284
|
--color-neutrals-foreground-secondary: var(--color-shades-functional-neutralgrey-800);
|
|
281
285
|
--color-neutrals-foreground-subtle: var(--color-shades-functional-neutralgrey-600);
|
|
@@ -623,7 +627,7 @@
|
|
|
623
627
|
--sizing-device-content-max-width-medium: var(--sizing-1000x);
|
|
624
628
|
--sizing-device-content-max-width-small: var(--sizing-572x);
|
|
625
629
|
--sizing-device-content-max-width-x-small: var(--sizing-232x);
|
|
626
|
-
--sizing-brand-logo-medium: var(--sizing-
|
|
630
|
+
--sizing-brand-logo-medium: var(--sizing-84x);
|
|
627
631
|
--sizing-brand-illustration-medium: var(--sizing-40x);
|
|
628
632
|
--sizing-image-x-small: var(--sizing-84x);
|
|
629
633
|
--sizing-image-large: var(--sizing-750x);
|
package/css/rme_dark.css
CHANGED
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
--color-shades-grey-900: #141e29;
|
|
44
44
|
--color-shades-grey-950: #0f1926;
|
|
45
45
|
--color-shades-grey-999: #0d0d0e;
|
|
46
|
+
--color-shades-grey-999-040: rgba(13, 13, 14, 0.4);
|
|
47
|
+
--color-shades-grey-999-080: rgba(13, 13, 14, 0.8);
|
|
46
48
|
--color-shades-grey-000: #ffffff;
|
|
47
49
|
--color-shades-grey-050: #f6f7f9;
|
|
48
50
|
--color-shades-data-color-a-100: #b0bbe8;
|
|
@@ -257,6 +259,7 @@
|
|
|
257
259
|
--boolean-brand-varsom: false;
|
|
258
260
|
--boolean-brand-rme: true;
|
|
259
261
|
--boolean-brand-nve-rme: true;
|
|
262
|
+
--text-brand-name: Reguleringsmyndigheten for energi;
|
|
260
263
|
--color-brand-background-primary: var(--color-shades-brand-500); /** Primarily used on logo backgrounds */
|
|
261
264
|
--color-brand-background-secondary: var(--color-shades-brand-250);
|
|
262
265
|
--color-brand-background-tertiary: var(--color-shades-brand-800);
|
|
@@ -276,10 +279,11 @@
|
|
|
276
279
|
--color-neutrals-background-secondary: var(--color-shades-grey-700);
|
|
277
280
|
--color-neutrals-background-secondary-dim: var(--color-shades-grey-850);
|
|
278
281
|
--color-neutrals-background-tertiary-dim: var(--color-shades-grey-800);
|
|
282
|
+
--color-neutrals-background-modal-overlay: var(--color-shades-grey-999-080); /** transparent */
|
|
279
283
|
--color-neutrals-foreground-primary: var(--color-shades-grey-000);
|
|
280
284
|
--color-neutrals-foreground-secondary: var(--color-shades-functional-neutralgrey-200);
|
|
281
285
|
--color-neutrals-foreground-subtle: var(--color-shades-functional-neutralgrey-400);
|
|
282
|
-
--color-neutrals-foreground-faint: var(--color-shades-functional-neutralgrey-
|
|
286
|
+
--color-neutrals-foreground-faint: var(--color-shades-functional-neutralgrey-300);
|
|
283
287
|
--color-neutrals-foreground-inverted: var(--color-shades-functional-neutralgrey-999);
|
|
284
288
|
--color-neutrals-foreground-white: var(--color-shades-functional-neutralgrey-000); /** Fargen forblir hvit i darkmode */
|
|
285
289
|
--color-neutrals-border-default: var(--color-shades-grey-300);
|
package/css/varsom.css
CHANGED
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
--color-shades-grey-900: #003147;
|
|
44
44
|
--color-shades-grey-950: #002b3d;
|
|
45
45
|
--color-shades-grey-999: #00070a;
|
|
46
|
+
--color-shades-grey-999-040: rgba(0, 7, 10, 0.4);
|
|
47
|
+
--color-shades-grey-999-080: rgba(0, 7, 10, 0.8);
|
|
46
48
|
--color-shades-grey-000: #ffffff;
|
|
47
49
|
--color-shades-grey-050: #eaf6fb;
|
|
48
50
|
--color-shades-data-color-a-100: #98d3ec;
|
|
@@ -257,6 +259,7 @@
|
|
|
257
259
|
--boolean-brand-varsom: true;
|
|
258
260
|
--boolean-brand-rme: false;
|
|
259
261
|
--boolean-brand-nve-rme: false;
|
|
262
|
+
--text-brand-name: Varsom – en tjeneste levert av NVE, MET og Statens vegvesen;
|
|
260
263
|
--color-brand-background-primary: var(--color-shades-brand-500);
|
|
261
264
|
--color-brand-background-secondary: var(--color-shades-brand-400);
|
|
262
265
|
--color-brand-background-tertiary: var(--color-shades-brand-150);
|
|
@@ -276,6 +279,7 @@
|
|
|
276
279
|
--color-neutrals-background-secondary: var(--color-shades-grey-150);
|
|
277
280
|
--color-neutrals-background-secondary-dim: var(--color-shades-grey-850);
|
|
278
281
|
--color-neutrals-background-tertiary-dim: var(--color-shades-grey-800);
|
|
282
|
+
--color-neutrals-background-modal-overlay: var(--color-shades-grey-999-040); /** transparent */
|
|
279
283
|
--color-neutrals-foreground-primary: var(--color-shades-grey-999);
|
|
280
284
|
--color-neutrals-foreground-secondary: var(--color-shades-functional-neutralgrey-800);
|
|
281
285
|
--color-neutrals-foreground-subtle: var(--color-shades-functional-neutralgrey-600);
|
|
@@ -623,7 +627,7 @@
|
|
|
623
627
|
--sizing-device-content-max-width-medium: var(--sizing-1000x);
|
|
624
628
|
--sizing-device-content-max-width-small: var(--sizing-572x);
|
|
625
629
|
--sizing-device-content-max-width-x-small: var(--sizing-232x);
|
|
626
|
-
--sizing-brand-logo-medium: var(--sizing-
|
|
630
|
+
--sizing-brand-logo-medium: var(--sizing-84x);
|
|
627
631
|
--sizing-brand-illustration-medium: var(--sizing-40x);
|
|
628
632
|
--sizing-image-x-small: var(--sizing-84x);
|
|
629
633
|
--sizing-image-large: var(--sizing-750x);
|
package/css/varsom_dark.css
CHANGED
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
--color-shades-grey-900: #003147;
|
|
44
44
|
--color-shades-grey-950: #002b3d;
|
|
45
45
|
--color-shades-grey-999: #00070a;
|
|
46
|
+
--color-shades-grey-999-040: rgba(0, 7, 10, 0.4);
|
|
47
|
+
--color-shades-grey-999-080: rgba(0, 7, 10, 0.8);
|
|
46
48
|
--color-shades-grey-000: #ffffff;
|
|
47
49
|
--color-shades-grey-050: #eaf6fb;
|
|
48
50
|
--color-shades-data-color-a-100: #98d3ec;
|
|
@@ -257,6 +259,7 @@
|
|
|
257
259
|
--boolean-brand-varsom: true;
|
|
258
260
|
--boolean-brand-rme: false;
|
|
259
261
|
--boolean-brand-nve-rme: false;
|
|
262
|
+
--text-brand-name: Varsom – en tjeneste levert av NVE, MET og Statens vegvesen;
|
|
260
263
|
--color-brand-background-primary: var(--color-shades-brand-500); /** Primarily used on logo backgrounds */
|
|
261
264
|
--color-brand-background-secondary: var(--color-shades-brand-250);
|
|
262
265
|
--color-brand-background-tertiary: var(--color-shades-brand-800);
|
|
@@ -276,10 +279,11 @@
|
|
|
276
279
|
--color-neutrals-background-secondary: var(--color-shades-grey-700);
|
|
277
280
|
--color-neutrals-background-secondary-dim: var(--color-shades-grey-850);
|
|
278
281
|
--color-neutrals-background-tertiary-dim: var(--color-shades-grey-800);
|
|
282
|
+
--color-neutrals-background-modal-overlay: var(--color-shades-grey-999-080); /** transparent */
|
|
279
283
|
--color-neutrals-foreground-primary: var(--color-shades-grey-000);
|
|
280
284
|
--color-neutrals-foreground-secondary: var(--color-shades-functional-neutralgrey-200);
|
|
281
285
|
--color-neutrals-foreground-subtle: var(--color-shades-functional-neutralgrey-400);
|
|
282
|
-
--color-neutrals-foreground-faint: var(--color-shades-functional-neutralgrey-
|
|
286
|
+
--color-neutrals-foreground-faint: var(--color-shades-functional-neutralgrey-300);
|
|
283
287
|
--color-neutrals-foreground-inverted: var(--color-shades-functional-neutralgrey-999);
|
|
284
288
|
--color-neutrals-foreground-white: var(--color-shades-functional-neutralgrey-000); /** Fargen forblir hvit i darkmode */
|
|
285
289
|
--color-neutrals-border-default: var(--color-shades-grey-300);
|