@atb-as/theme 7.3.0 → 8.1.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/sizes.d.ts +1 -0
- package/lib/sizes.js +2 -1
- package/lib/sizes.js.map +1 -1
- package/lib/theme.d.ts +2 -1
- package/lib/theme.js +3 -0
- package/lib/theme.js.map +1 -1
- package/lib/themes/atb-theme/theme.css +6 -3
- package/lib/themes/atb-theme/theme.module.css +6 -3
- package/lib/themes/fram-theme/theme.css +6 -3
- package/lib/themes/fram-theme/theme.module.css +6 -3
- package/lib/themes/index.d.ts +1 -0
- package/lib/themes/index.js +3 -1
- package/lib/themes/index.js.map +1 -1
- package/lib/themes/nfk-theme/theme.css +6 -3
- package/lib/themes/nfk-theme/theme.module.css +6 -3
- package/lib/themes/troms-theme/theme.css +759 -0
- package/lib/themes/troms-theme/theme.d.ts +109 -0
- package/lib/themes/troms-theme/theme.js +403 -0
- package/lib/themes/troms-theme/theme.js.map +1 -0
- package/lib/themes/troms-theme/theme.module.css +759 -0
- package/package.json +2 -2
package/lib/sizes.d.ts
CHANGED
package/lib/sizes.js
CHANGED
package/lib/sizes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sizes.js","sourceRoot":"","sources":["../src/sizes.ts"],"names":[],"mappings":";;;AAAa,QAAA,QAAQ,GAAG;IACtB,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;CACV,CAAC;AAEW,QAAA,SAAS,GAAG;IACvB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"sizes.js","sourceRoot":"","sources":["../src/sizes.ts"],"names":[],"mappings":";;;AAAa,QAAA,QAAQ,GAAG;IACtB,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;CACV,CAAC;AAEW,QAAA,SAAS,GAAG;IACvB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;CACX,CAAC;AAEW,QAAA,YAAY,GAAG;IAC1B,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,CAAC;IACV,KAAK,EAAE,CAAC;CACA,CAAC;AAEE,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;CACV,CAAC"}
|
package/lib/theme.d.ts
CHANGED
package/lib/theme.js
CHANGED
|
@@ -12,6 +12,7 @@ var ThemeVariant;
|
|
|
12
12
|
ThemeVariant[ThemeVariant["AtB"] = 0] = "AtB";
|
|
13
13
|
ThemeVariant[ThemeVariant["Nfk"] = 1] = "Nfk";
|
|
14
14
|
ThemeVariant[ThemeVariant["FRAM"] = 2] = "FRAM";
|
|
15
|
+
ThemeVariant[ThemeVariant["Troms"] = 3] = "Troms";
|
|
15
16
|
})(ThemeVariant = exports.ThemeVariant || (exports.ThemeVariant = {}));
|
|
16
17
|
function createThemesFor(themeVariant) {
|
|
17
18
|
switch (themeVariant) {
|
|
@@ -21,6 +22,8 @@ function createThemesFor(themeVariant) {
|
|
|
21
22
|
return themes_1.NfkThemes;
|
|
22
23
|
case ThemeVariant.FRAM:
|
|
23
24
|
return themes_1.FRAMThemes;
|
|
25
|
+
case ThemeVariant.Troms:
|
|
26
|
+
return themes_1.TromsThemes;
|
|
24
27
|
default:
|
|
25
28
|
throw Error('A valid ThemeVariant must be provided');
|
|
26
29
|
}
|
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
|
+
{"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
--icon-size-normal: 1.25rem;
|
|
22
|
-
--icon-size-small:
|
|
22
|
+
--icon-size-small: 1rem;
|
|
23
|
+
--icon-size-xSmall: 0.75rem;
|
|
23
24
|
|
|
24
25
|
--text-colors-primary: #000000;
|
|
25
26
|
--text-colors-secondary: #555E65;
|
|
@@ -189,7 +190,8 @@
|
|
|
189
190
|
|
|
190
191
|
--icon-size-large: 1.75rem;
|
|
191
192
|
--icon-size-normal: 1.25rem;
|
|
192
|
-
--icon-size-small:
|
|
193
|
+
--icon-size-small: 1rem;
|
|
194
|
+
--icon-size-xSmall: 0.75rem;
|
|
193
195
|
|
|
194
196
|
--text-colors-primary: #FFFFFF;
|
|
195
197
|
--text-colors-secondary: #E3E5E6;
|
|
@@ -359,7 +361,8 @@
|
|
|
359
361
|
|
|
360
362
|
--icon-size-large: 1.75rem;
|
|
361
363
|
--icon-size-normal: 1.25rem;
|
|
362
|
-
--icon-size-small:
|
|
364
|
+
--icon-size-small: 1rem;
|
|
365
|
+
--icon-size-xSmall: 0.75rem;
|
|
363
366
|
|
|
364
367
|
--text-colors-primary: #FFFFFF;
|
|
365
368
|
--text-colors-secondary: #E3E5E6;
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
|
|
20
20
|
--icon-size-large: 1.75rem;
|
|
21
21
|
--icon-size-normal: 1.25rem;
|
|
22
|
-
--icon-size-small:
|
|
22
|
+
--icon-size-small: 1rem;
|
|
23
|
+
--icon-size-xSmall: 0.75rem;
|
|
23
24
|
|
|
24
25
|
--text-colors-primary: #000000;
|
|
25
26
|
--text-colors-secondary: #555E65;
|
|
@@ -189,7 +190,8 @@
|
|
|
189
190
|
|
|
190
191
|
--icon-size-large: 1.75rem;
|
|
191
192
|
--icon-size-normal: 1.25rem;
|
|
192
|
-
--icon-size-small:
|
|
193
|
+
--icon-size-small: 1rem;
|
|
194
|
+
--icon-size-xSmall: 0.75rem;
|
|
193
195
|
|
|
194
196
|
--text-colors-primary: #FFFFFF;
|
|
195
197
|
--text-colors-secondary: #E3E5E6;
|
|
@@ -359,7 +361,8 @@
|
|
|
359
361
|
|
|
360
362
|
--icon-size-large: 1.75rem;
|
|
361
363
|
--icon-size-normal: 1.25rem;
|
|
362
|
-
--icon-size-small:
|
|
364
|
+
--icon-size-small: 1rem;
|
|
365
|
+
--icon-size-xSmall: 0.75rem;
|
|
363
366
|
|
|
364
367
|
--text-colors-primary: #FFFFFF;
|
|
365
368
|
--text-colors-secondary: #E3E5E6;
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
|
|
20
20
|
--icon-size-large: 1.75rem;
|
|
21
21
|
--icon-size-normal: 1.25rem;
|
|
22
|
-
--icon-size-small:
|
|
22
|
+
--icon-size-small: 1rem;
|
|
23
|
+
--icon-size-xSmall: 0.75rem;
|
|
23
24
|
|
|
24
25
|
--text-colors-primary: #000000;
|
|
25
26
|
--text-colors-secondary: #555E65;
|
|
@@ -189,7 +190,8 @@
|
|
|
189
190
|
|
|
190
191
|
--icon-size-large: 1.75rem;
|
|
191
192
|
--icon-size-normal: 1.25rem;
|
|
192
|
-
--icon-size-small:
|
|
193
|
+
--icon-size-small: 1rem;
|
|
194
|
+
--icon-size-xSmall: 0.75rem;
|
|
193
195
|
|
|
194
196
|
--text-colors-primary: #FFFFFF;
|
|
195
197
|
--text-colors-secondary: #F1F2F2;
|
|
@@ -359,7 +361,8 @@
|
|
|
359
361
|
|
|
360
362
|
--icon-size-large: 1.75rem;
|
|
361
363
|
--icon-size-normal: 1.25rem;
|
|
362
|
-
--icon-size-small:
|
|
364
|
+
--icon-size-small: 1rem;
|
|
365
|
+
--icon-size-xSmall: 0.75rem;
|
|
363
366
|
|
|
364
367
|
--text-colors-primary: #FFFFFF;
|
|
365
368
|
--text-colors-secondary: #F1F2F2;
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
|
|
20
20
|
--icon-size-large: 1.75rem;
|
|
21
21
|
--icon-size-normal: 1.25rem;
|
|
22
|
-
--icon-size-small:
|
|
22
|
+
--icon-size-small: 1rem;
|
|
23
|
+
--icon-size-xSmall: 0.75rem;
|
|
23
24
|
|
|
24
25
|
--text-colors-primary: #000000;
|
|
25
26
|
--text-colors-secondary: #555E65;
|
|
@@ -189,7 +190,8 @@
|
|
|
189
190
|
|
|
190
191
|
--icon-size-large: 1.75rem;
|
|
191
192
|
--icon-size-normal: 1.25rem;
|
|
192
|
-
--icon-size-small:
|
|
193
|
+
--icon-size-small: 1rem;
|
|
194
|
+
--icon-size-xSmall: 0.75rem;
|
|
193
195
|
|
|
194
196
|
--text-colors-primary: #FFFFFF;
|
|
195
197
|
--text-colors-secondary: #F1F2F2;
|
|
@@ -359,7 +361,8 @@
|
|
|
359
361
|
|
|
360
362
|
--icon-size-large: 1.75rem;
|
|
361
363
|
--icon-size-normal: 1.25rem;
|
|
362
|
-
--icon-size-small:
|
|
364
|
+
--icon-size-small: 1rem;
|
|
365
|
+
--icon-size-xSmall: 0.75rem;
|
|
363
366
|
|
|
364
367
|
--text-colors-primary: #FFFFFF;
|
|
365
368
|
--text-colors-secondary: #F1F2F2;
|
package/lib/themes/index.d.ts
CHANGED
package/lib/themes/index.js
CHANGED
|
@@ -3,11 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FRAMThemes = exports.NfkThemes = exports.AtBThemes = void 0;
|
|
6
|
+
exports.TromsThemes = exports.FRAMThemes = exports.NfkThemes = exports.AtBThemes = void 0;
|
|
7
7
|
var theme_1 = require("./atb-theme/theme");
|
|
8
8
|
Object.defineProperty(exports, "AtBThemes", { enumerable: true, get: function () { return __importDefault(theme_1).default; } });
|
|
9
9
|
var theme_2 = require("./nfk-theme/theme");
|
|
10
10
|
Object.defineProperty(exports, "NfkThemes", { enumerable: true, get: function () { return __importDefault(theme_2).default; } });
|
|
11
11
|
var theme_3 = require("./fram-theme/theme");
|
|
12
12
|
Object.defineProperty(exports, "FRAMThemes", { enumerable: true, get: function () { return __importDefault(theme_3).default; } });
|
|
13
|
+
var theme_4 = require("./troms-theme/theme");
|
|
14
|
+
Object.defineProperty(exports, "TromsThemes", { enumerable: true, get: function () { return __importDefault(theme_4).default; } });
|
|
13
15
|
//# sourceMappingURL=index.js.map
|
package/lib/themes/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/themes/index.ts"],"names":[],"mappings":";;;;;;AAAA,2CAAuD;AAA/C,mHAAA,OAAO,OAAa;AAC5B,2CAAuD;AAA/C,mHAAA,OAAO,OAAa;AAC5B,4CAAyD;AAAjD,oHAAA,OAAO,OAAc"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/themes/index.ts"],"names":[],"mappings":";;;;;;AAAA,2CAAuD;AAA/C,mHAAA,OAAO,OAAa;AAC5B,2CAAuD;AAA/C,mHAAA,OAAO,OAAa;AAC5B,4CAAyD;AAAjD,oHAAA,OAAO,OAAc;AAC7B,6CAA2D;AAAnD,qHAAA,OAAO,OAAe"}
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
|
|
20
20
|
--icon-size-large: 1.75rem;
|
|
21
21
|
--icon-size-normal: 1.25rem;
|
|
22
|
-
--icon-size-small:
|
|
22
|
+
--icon-size-small: 1rem;
|
|
23
|
+
--icon-size-xSmall: 0.75rem;
|
|
23
24
|
|
|
24
25
|
--text-colors-primary: #003441;
|
|
25
26
|
--text-colors-secondary: rgba(0, 52, 65, 0.7);
|
|
@@ -189,7 +190,8 @@
|
|
|
189
190
|
|
|
190
191
|
--icon-size-large: 1.75rem;
|
|
191
192
|
--icon-size-normal: 1.25rem;
|
|
192
|
-
--icon-size-small:
|
|
193
|
+
--icon-size-small: 1rem;
|
|
194
|
+
--icon-size-xSmall: 0.75rem;
|
|
193
195
|
|
|
194
196
|
--text-colors-primary: #FFFFFF;
|
|
195
197
|
--text-colors-secondary: rgba(255, 255, 255, 0.6);
|
|
@@ -359,7 +361,8 @@
|
|
|
359
361
|
|
|
360
362
|
--icon-size-large: 1.75rem;
|
|
361
363
|
--icon-size-normal: 1.25rem;
|
|
362
|
-
--icon-size-small:
|
|
364
|
+
--icon-size-small: 1rem;
|
|
365
|
+
--icon-size-xSmall: 0.75rem;
|
|
363
366
|
|
|
364
367
|
--text-colors-primary: #FFFFFF;
|
|
365
368
|
--text-colors-secondary: rgba(255, 255, 255, 0.6);
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
|
|
20
20
|
--icon-size-large: 1.75rem;
|
|
21
21
|
--icon-size-normal: 1.25rem;
|
|
22
|
-
--icon-size-small:
|
|
22
|
+
--icon-size-small: 1rem;
|
|
23
|
+
--icon-size-xSmall: 0.75rem;
|
|
23
24
|
|
|
24
25
|
--text-colors-primary: #003441;
|
|
25
26
|
--text-colors-secondary: rgba(0, 52, 65, 0.7);
|
|
@@ -189,7 +190,8 @@
|
|
|
189
190
|
|
|
190
191
|
--icon-size-large: 1.75rem;
|
|
191
192
|
--icon-size-normal: 1.25rem;
|
|
192
|
-
--icon-size-small:
|
|
193
|
+
--icon-size-small: 1rem;
|
|
194
|
+
--icon-size-xSmall: 0.75rem;
|
|
193
195
|
|
|
194
196
|
--text-colors-primary: #FFFFFF;
|
|
195
197
|
--text-colors-secondary: rgba(255, 255, 255, 0.6);
|
|
@@ -359,7 +361,8 @@
|
|
|
359
361
|
|
|
360
362
|
--icon-size-large: 1.75rem;
|
|
361
363
|
--icon-size-normal: 1.25rem;
|
|
362
|
-
--icon-size-small:
|
|
364
|
+
--icon-size-small: 1rem;
|
|
365
|
+
--icon-size-xSmall: 0.75rem;
|
|
363
366
|
|
|
364
367
|
--text-colors-primary: #FFFFFF;
|
|
365
368
|
--text-colors-secondary: rgba(255, 255, 255, 0.6);
|