@atb-as/theme 10.4.0 → 10.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/lib/theme.d.ts +3 -1
- package/lib/theme.js +6 -0
- package/lib/theme.js.map +1 -1
- package/lib/themes/atb-theme/theme.css +7 -7
- package/lib/themes/atb-theme/theme.js +3 -3
- package/lib/themes/atb-theme/theme.module.css +7 -7
- package/lib/themes/farte-theme/theme.css +803 -0
- package/lib/themes/farte-theme/theme.d.ts +113 -0
- package/lib/themes/farte-theme/theme.js +483 -0
- package/lib/themes/farte-theme/theme.js.map +1 -0
- package/lib/themes/farte-theme/theme.module.css +803 -0
- package/lib/themes/index.d.ts +2 -0
- package/lib/themes/index.js +5 -1
- package/lib/themes/index.js.map +1 -1
- package/lib/themes/vkt-theme/theme.css +803 -0
- package/lib/themes/vkt-theme/theme.d.ts +113 -0
- package/lib/themes/vkt-theme/theme.js +483 -0
- package/lib/themes/vkt-theme/theme.js.map +1 -0
- package/lib/themes/vkt-theme/theme.module.css +803 -0
- package/package.json +2 -2
package/lib/theme.d.ts
CHANGED
package/lib/theme.js
CHANGED
|
@@ -22,6 +22,8 @@ var ThemeVariant;
|
|
|
22
22
|
ThemeVariant[ThemeVariant["FRAM"] = 2] = "FRAM";
|
|
23
23
|
ThemeVariant[ThemeVariant["Troms"] = 3] = "Troms";
|
|
24
24
|
ThemeVariant[ThemeVariant["Innlandet"] = 4] = "Innlandet";
|
|
25
|
+
ThemeVariant[ThemeVariant["VKT"] = 5] = "VKT";
|
|
26
|
+
ThemeVariant[ThemeVariant["Farte"] = 6] = "Farte";
|
|
25
27
|
})(ThemeVariant = exports.ThemeVariant || (exports.ThemeVariant = {}));
|
|
26
28
|
function createThemesFor(themeVariant) {
|
|
27
29
|
switch (themeVariant) {
|
|
@@ -35,6 +37,10 @@ function createThemesFor(themeVariant) {
|
|
|
35
37
|
return themes_1.TromsThemes;
|
|
36
38
|
case ThemeVariant.Innlandet:
|
|
37
39
|
return themes_1.InnlandetThemes;
|
|
40
|
+
case ThemeVariant.VKT:
|
|
41
|
+
return themes_1.VKTThemes;
|
|
42
|
+
case ThemeVariant.Farte:
|
|
43
|
+
return themes_1.FarteThemes;
|
|
38
44
|
default:
|
|
39
45
|
throw Error('A valid ThemeVariant must be provided');
|
|
40
46
|
}
|
package/lib/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAiC;AAEjC,2DAA8E;AAC9E,
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAiC;AAEjC,2DAA8E;AAC9E,mCAQkB;AAkClB,+EAA+E;AAC/E,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,oCAAa,CAAA;IACb,8CAAuB,CAAA;IACvB,0CAAmB,CAAA;AACrB,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B;AAsFD,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,6CAAG,CAAA;IACH,6CAAG,CAAA;IACH,+CAAI,CAAA;IACJ,iDAAK,CAAA;IACL,yDAAS,CAAA;IACT,6CAAG,CAAA;IACH,iDAAK,CAAA;AACP,CAAC,EARW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAQvB;AAED,SAAgB,eAAe,CAAC,YAA0B;IACxD,QAAQ,YAAY,EAAE;QACpB,KAAK,YAAY,CAAC,GAAG;YACnB,OAAO,kBAAS,CAAC;QACnB,KAAK,YAAY,CAAC,GAAG;YACnB,OAAO,kBAAS,CAAC;QACnB,KAAK,YAAY,CAAC,IAAI;YACpB,OAAO,mBAAU,CAAC;QACpB,KAAK,YAAY,CAAC,KAAK;YACrB,OAAO,oBAAW,CAAC;QACrB,KAAK,YAAY,CAAC,SAAS;YACzB,OAAO,wBAAe,CAAC;QACzB,KAAK,YAAY,CAAC,GAAG;YACnB,OAAO,kBAAS,CAAC;QACnB,KAAK,YAAY,CAAC,KAAK;YACrB,OAAO,oBAAW,CAAC;QACrB;YACE,MAAM,KAAK,CAAC,uCAAuC,CAAC,CAAC;KACxD;AACH,CAAC;AAnBD,0CAmBC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,YAAY,CAC1B,MAAc,EACd,SAAyC;IAEzC,IAAI,CAAC,SAAS;QAAE,OAAO,MAAM,CAAC;IAC9B,OAAO,IAAA,gCAAc,EAAC,MAAM,EAAE,SAAS,CAAC,CAAC;AAC3C,CAAC;AAND,oCAMC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,oBAAoB,CAClC,MAAc,EACd,SAA8B;IAE9B,OAAO;QACL,KAAK,EAAE,IAAA,sBAAK,EAAC,MAAM,CAAC,KAAK,EAAE,SAAS,CAAC,KAAK,CAAC;QAC3C,IAAI,EAAE,IAAA,sBAAK,EAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC;KACzC,CAAC;AACJ,CAAC;AARD,oDAQC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/* Light theme data */
|
|
4
4
|
.light {
|
|
5
|
-
--border-primary: #
|
|
5
|
+
--border-primary: #EEF3F6;
|
|
6
6
|
--border-secondary: #000000;
|
|
7
7
|
--border-focus: #007C92;
|
|
8
8
|
--border-radius-circle: 1.25rem;
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
|
|
29
29
|
--static-background-background_0-background: #FFFFFF;
|
|
30
30
|
--static-background-background_0-text: #000000;
|
|
31
|
-
--static-background-background_1-background: #
|
|
31
|
+
--static-background-background_1-background: #EEF3F6;
|
|
32
32
|
--static-background-background_1-text: #000000;
|
|
33
|
-
--static-background-background_2-background: #
|
|
33
|
+
--static-background-background_2-background: #E1E7EB;
|
|
34
34
|
--static-background-background_2-text: #000000;
|
|
35
|
-
--static-background-background_3-background: #
|
|
35
|
+
--static-background-background_3-background: #D5DCE0;
|
|
36
36
|
--static-background-background_3-text: #000000;
|
|
37
37
|
--static-background-background_accent_0-background: #37424A;
|
|
38
38
|
--static-background-background_accent_0-text: #FFFFFF;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
--interactive-interactive_3-hover-text: #000000;
|
|
94
94
|
--interactive-interactive_3-active-background: #A6D1D9;
|
|
95
95
|
--interactive-interactive_3-active-text: #000000;
|
|
96
|
-
--interactive-interactive_3-disabled-background: #
|
|
96
|
+
--interactive-interactive_3-disabled-background: #E1E7EB;
|
|
97
97
|
--interactive-interactive_3-disabled-text: #000000;
|
|
98
98
|
--interactive-interactive_3-outline-background: #004E5C;
|
|
99
99
|
--interactive-interactive_3-outline-text: #FFFFFF;
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
--icon-size-xSmall: 0.75rem;
|
|
204
204
|
|
|
205
205
|
--text-colors-primary: #FFFFFF;
|
|
206
|
-
--text-colors-secondary: #
|
|
206
|
+
--text-colors-secondary: #E1E7EB;
|
|
207
207
|
--text-colors-disabled: #A9AEB1;
|
|
208
208
|
|
|
209
209
|
--static-background-background_0-background: #000000;
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
--icon-size-xSmall: 0.75rem;
|
|
384
384
|
|
|
385
385
|
--text-colors-primary: #FFFFFF;
|
|
386
|
-
--text-colors-secondary: #
|
|
386
|
+
--text-colors-secondary: #E1E7EB;
|
|
387
387
|
--text-colors-disabled: #A9AEB1;
|
|
388
388
|
|
|
389
389
|
--static-background-background_0-background: #000000;
|
|
@@ -18,9 +18,9 @@ var contrastColor = function (background, textColorType) {
|
|
|
18
18
|
exports.baseColors = {
|
|
19
19
|
// gray
|
|
20
20
|
gray_0: contrastColor('#FFFFFF', 'dark'),
|
|
21
|
-
gray_50: contrastColor('#
|
|
22
|
-
gray_100: contrastColor('#
|
|
23
|
-
gray_150: contrastColor('#
|
|
21
|
+
gray_50: contrastColor('#EEF3F6', 'dark'),
|
|
22
|
+
gray_100: contrastColor('#E1E7EB', 'dark'),
|
|
23
|
+
gray_150: contrastColor('#D5DCE0', 'dark'),
|
|
24
24
|
gray_200: contrastColor('#C7CACC', 'dark'),
|
|
25
25
|
gray_300: contrastColor('#A9AEB1', 'dark'),
|
|
26
26
|
gray_400: contrastColor('#8D9398', 'dark'),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/* Light theme data */
|
|
4
4
|
.light {
|
|
5
|
-
--border-primary: #
|
|
5
|
+
--border-primary: #EEF3F6;
|
|
6
6
|
--border-secondary: #000000;
|
|
7
7
|
--border-focus: #007C92;
|
|
8
8
|
--border-radius-circle: 1.25rem;
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
|
|
29
29
|
--static-background-background_0-background: #FFFFFF;
|
|
30
30
|
--static-background-background_0-text: #000000;
|
|
31
|
-
--static-background-background_1-background: #
|
|
31
|
+
--static-background-background_1-background: #EEF3F6;
|
|
32
32
|
--static-background-background_1-text: #000000;
|
|
33
|
-
--static-background-background_2-background: #
|
|
33
|
+
--static-background-background_2-background: #E1E7EB;
|
|
34
34
|
--static-background-background_2-text: #000000;
|
|
35
|
-
--static-background-background_3-background: #
|
|
35
|
+
--static-background-background_3-background: #D5DCE0;
|
|
36
36
|
--static-background-background_3-text: #000000;
|
|
37
37
|
--static-background-background_accent_0-background: #37424A;
|
|
38
38
|
--static-background-background_accent_0-text: #FFFFFF;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
--interactive-interactive_3-hover-text: #000000;
|
|
94
94
|
--interactive-interactive_3-active-background: #A6D1D9;
|
|
95
95
|
--interactive-interactive_3-active-text: #000000;
|
|
96
|
-
--interactive-interactive_3-disabled-background: #
|
|
96
|
+
--interactive-interactive_3-disabled-background: #E1E7EB;
|
|
97
97
|
--interactive-interactive_3-disabled-text: #000000;
|
|
98
98
|
--interactive-interactive_3-outline-background: #004E5C;
|
|
99
99
|
--interactive-interactive_3-outline-text: #FFFFFF;
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
--icon-size-xSmall: 0.75rem;
|
|
204
204
|
|
|
205
205
|
--text-colors-primary: #FFFFFF;
|
|
206
|
-
--text-colors-secondary: #
|
|
206
|
+
--text-colors-secondary: #E1E7EB;
|
|
207
207
|
--text-colors-disabled: #A9AEB1;
|
|
208
208
|
|
|
209
209
|
--static-background-background_0-background: #000000;
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
--icon-size-xSmall: 0.75rem;
|
|
384
384
|
|
|
385
385
|
--text-colors-primary: #FFFFFF;
|
|
386
|
-
--text-colors-secondary: #
|
|
386
|
+
--text-colors-secondary: #E1E7EB;
|
|
387
387
|
--text-colors-disabled: #A9AEB1;
|
|
388
388
|
|
|
389
389
|
--static-background-background_0-background: #000000;
|