@atb-as/theme 11.0.0-alpha.12 → 11.0.0-alpha.13
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.js +22 -8
- package/lib/theme.js.map +1 -1
- package/lib/themes/fram-theme/theme.css +763 -0
- package/lib/themes/fram-theme/theme.d.ts +215 -0
- package/lib/themes/fram-theme/theme.js +622 -0
- package/lib/themes/fram-theme/theme.js.map +1 -0
- package/lib/themes/fram-theme/theme.module.css +763 -0
- package/lib/themes/index.d.ts +4 -0
- package/lib/themes/index.js +9 -5
- package/lib/themes/index.js.map +1 -1
- package/lib/themes/innlandet-theme/theme.css +763 -0
- package/lib/themes/innlandet-theme/theme.d.ts +113 -0
- package/lib/themes/innlandet-theme/theme.js +502 -0
- package/lib/themes/innlandet-theme/theme.js.map +1 -0
- package/lib/themes/innlandet-theme/theme.module.css +763 -0
- package/lib/themes/nfk-theme/theme.css +763 -0
- package/lib/themes/nfk-theme/theme.d.ts +185 -0
- package/lib/themes/nfk-theme/theme.js +595 -0
- package/lib/themes/nfk-theme/theme.js.map +1 -0
- package/lib/themes/nfk-theme/theme.module.css +763 -0
- package/lib/themes/troms-theme/dark.d.ts +418 -0
- package/lib/themes/troms-theme/dark.js +420 -0
- package/lib/themes/troms-theme/dark.js.map +1 -0
- package/lib/themes/troms-theme/light.d.ts +427 -0
- package/lib/themes/troms-theme/light.js +429 -0
- package/lib/themes/troms-theme/light.js.map +1 -0
- package/lib/themes/troms-theme/theme.css +786 -0
- package/lib/themes/troms-theme/theme.d.ts +843 -0
- package/lib/themes/troms-theme/theme.js +16 -0
- package/lib/themes/troms-theme/theme.js.map +1 -0
- package/lib/themes/troms-theme/theme.module.css +786 -0
- package/lib/themes-fs/index.d.ts +1 -0
- package/lib/themes-fs/index.js +3 -2
- package/lib/themes-fs/index.js.map +1 -1
- package/lib/themes-fs/troms-theme/dark.d.ts +708 -0
- package/lib/themes-fs/troms-theme/dark.js +710 -0
- package/lib/themes-fs/troms-theme/dark.js.map +1 -0
- package/lib/themes-fs/troms-theme/light.d.ts +750 -0
- package/lib/themes-fs/troms-theme/light.js +752 -0
- package/lib/themes-fs/troms-theme/light.js.map +1 -0
- package/lib/themes-fs/troms-theme/theme.d.ts +1456 -0
- package/lib/themes-fs/troms-theme/theme.js +16 -0
- package/lib/themes-fs/troms-theme/theme.js.map +1 -0
- package/package.json +2 -2
package/lib/theme.js
CHANGED
|
@@ -46,14 +46,28 @@ function createThemesFor(themeVariant, themeOptions) {
|
|
|
46
46
|
return themes_1.AtBThemes;
|
|
47
47
|
;
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
49
|
+
case ThemeVariant.Troms:
|
|
50
|
+
if (themeOptions === null || themeOptions === void 0 ? void 0 : themeOptions.useFigmaStructure) {
|
|
51
|
+
return themes_fs_1.TromsThemesFs;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
return themes_1.TromsThemes;
|
|
55
|
+
}
|
|
56
|
+
case ThemeVariant.Nfk:
|
|
57
|
+
if (themeOptions.useFigmaStructure) {
|
|
58
|
+
console.log("Note that Nfk does not support the Figma structure yet. Return old structure.");
|
|
59
|
+
}
|
|
60
|
+
return themes_1.NfkThemes;
|
|
61
|
+
case ThemeVariant.FRAM:
|
|
62
|
+
if (themeOptions.useFigmaStructure) {
|
|
63
|
+
console.log("Note that FRAM does not support the Figma structure yet. Return old structure.");
|
|
64
|
+
}
|
|
65
|
+
return themes_1.FRAMThemes;
|
|
66
|
+
case ThemeVariant.Innlandet:
|
|
67
|
+
if (themeOptions.useFigmaStructure) {
|
|
68
|
+
console.log("Note that Innlandet does not support the Figma structure yet. Return old structure.");
|
|
69
|
+
}
|
|
70
|
+
return themes_1.InnlandetThemes;
|
|
57
71
|
default:
|
|
58
72
|
throw Error('A valid ThemeVariant must be provided');
|
|
59
73
|
}
|
package/lib/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":";;;;;;AAgTA,
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":";;;;;;AAgTA,0CAmCC;AAsBD,oCAMC;AAuBD,oDAWC;AAjZD,8DAAiC;AACjC,2DAA8E;AAC9E,mCAMkB;AAElB,yCAMqB;AAqCrB,+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,mCAAnB,mBAAmB,QAK9B;AA8NA,CAAC;AAIF,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,6CAAG,CAAA;IACH,6CAAG,CAAA;IACH,+CAAI,CAAA;IACJ,iDAAK,CAAA;IACL,yDAAS,CAAA;AACX,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAMD;;;;;;GAMG;AACH,SAAgB,eAAe,CAC7B,YAA0B,EAC1B,YAAmD;IAAnD,6BAAA,EAAA,eAAkB,EAAE,iBAAiB,EAAE,KAAK,EAAO;IAEnD,QAAQ,YAAY,EAAE,CAAC;QACrB,KAAK,YAAY,CAAC,GAAG;YACnB,IAAI,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,iBAAiB,EAAE,CAAC;gBACpC,OAAO,uBAA+F,CAAC;YACzG,CAAC;iBAAM,CAAC;gBACN,OAAO,kBAA6F,CAAC;gBAAA,CAAC;YACxG,CAAC;QACH,KAAK,YAAY,CAAC,KAAK;YACrB,IAAI,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,iBAAiB,EAAE,CAAC;gBACpC,OAAO,yBAAiG,CAAC;YAC3G,CAAC;iBAAM,CAAC;gBACN,OAAO,oBAA+F,CAAC;YAC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