@moser-inc/moser-labs-themes 1.1.0 → 1.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.
- package/dist/base-BEia1AB6.js +74 -0
- package/dist/base.js +1 -44
- package/dist/labs.js +1 -1
- package/dist/training.d.ts +6 -0
- package/dist/training.js +35 -0
- package/package.json +3 -1
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { definePreset } from "@primeuix/themes";
|
|
2
|
+
import Lara from "@primeuix/themes/lara";
|
|
3
|
+
//#region \0rolldown/runtime.js
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __exportAll = (all, no_symbols) => {
|
|
9
|
+
let target = {};
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: true
|
|
13
|
+
});
|
|
14
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
15
|
+
return target;
|
|
16
|
+
};
|
|
17
|
+
var __copyProps = (to, from, except, desc) => {
|
|
18
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
19
|
+
key = keys[i];
|
|
20
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
21
|
+
get: ((k) => from[k]).bind(null, key),
|
|
22
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
return to;
|
|
26
|
+
};
|
|
27
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/presets/base.ts
|
|
30
|
+
var base_exports = /* @__PURE__ */ __exportAll({ default: () => Base });
|
|
31
|
+
import * as import__primeuix_themes_lara_base from "@primeuix/themes/lara/base";
|
|
32
|
+
__reExport(base_exports, import__primeuix_themes_lara_base);
|
|
33
|
+
const Base = definePreset(Lara, { semantic: { colorScheme: {
|
|
34
|
+
light: {
|
|
35
|
+
surface: {
|
|
36
|
+
0: "#ffffff",
|
|
37
|
+
50: "{gray.50}",
|
|
38
|
+
100: "{gray.100}",
|
|
39
|
+
200: "{gray.200}",
|
|
40
|
+
300: "{gray.300}",
|
|
41
|
+
400: "{gray.400}",
|
|
42
|
+
500: "{gray.500}",
|
|
43
|
+
600: "{gray.600}",
|
|
44
|
+
700: "{gray.700}",
|
|
45
|
+
800: "{gray.800}",
|
|
46
|
+
900: "{gray.900}",
|
|
47
|
+
950: "{gray.950}"
|
|
48
|
+
},
|
|
49
|
+
formField: { background: "{surface.100}" },
|
|
50
|
+
content: {
|
|
51
|
+
background: "{surface.100}",
|
|
52
|
+
hoverBackground: "{surface.0}"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
dark: {
|
|
56
|
+
surface: {
|
|
57
|
+
0: "#ffffff",
|
|
58
|
+
50: "{gray.50}",
|
|
59
|
+
100: "{gray.100}",
|
|
60
|
+
200: "{gray.200}",
|
|
61
|
+
300: "{gray.300}",
|
|
62
|
+
400: "{gray.400}",
|
|
63
|
+
500: "{gray.500}",
|
|
64
|
+
600: "{gray.600}",
|
|
65
|
+
700: "{gray.700}",
|
|
66
|
+
800: "{gray.800}",
|
|
67
|
+
900: "{gray.900}",
|
|
68
|
+
950: "{gray.950}"
|
|
69
|
+
},
|
|
70
|
+
formField: { background: "{surface.900}" }
|
|
71
|
+
}
|
|
72
|
+
} } });
|
|
73
|
+
//#endregion
|
|
74
|
+
export { base_exports as n, Base as t };
|
package/dist/base.js
CHANGED
|
@@ -1,46 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import Lara from "@primeuix/themes/lara";
|
|
1
|
+
import { t as Base } from "./base-BEia1AB6.js";
|
|
3
2
|
export * from "@primeuix/themes/lara/base";
|
|
4
|
-
//#region src/presets/base.ts
|
|
5
|
-
const Base = definePreset(Lara, { semantic: { colorScheme: {
|
|
6
|
-
light: {
|
|
7
|
-
surface: {
|
|
8
|
-
0: "#ffffff",
|
|
9
|
-
50: "{gray.50}",
|
|
10
|
-
100: "{gray.100}",
|
|
11
|
-
200: "{gray.200}",
|
|
12
|
-
300: "{gray.300}",
|
|
13
|
-
400: "{gray.400}",
|
|
14
|
-
500: "{gray.500}",
|
|
15
|
-
600: "{gray.600}",
|
|
16
|
-
700: "{gray.700}",
|
|
17
|
-
800: "{gray.800}",
|
|
18
|
-
900: "{gray.900}",
|
|
19
|
-
950: "{gray.950}"
|
|
20
|
-
},
|
|
21
|
-
formField: { background: "{surface.100}" },
|
|
22
|
-
content: {
|
|
23
|
-
background: "{surface.100}",
|
|
24
|
-
hoverBackground: "{surface.0}"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
dark: {
|
|
28
|
-
surface: {
|
|
29
|
-
0: "#ffffff",
|
|
30
|
-
50: "{gray.50}",
|
|
31
|
-
100: "{gray.100}",
|
|
32
|
-
200: "{gray.200}",
|
|
33
|
-
300: "{gray.300}",
|
|
34
|
-
400: "{gray.400}",
|
|
35
|
-
500: "{gray.500}",
|
|
36
|
-
600: "{gray.600}",
|
|
37
|
-
700: "{gray.700}",
|
|
38
|
-
800: "{gray.800}",
|
|
39
|
-
900: "{gray.900}",
|
|
40
|
-
950: "{gray.950}"
|
|
41
|
-
},
|
|
42
|
-
formField: { background: "{surface.900}" }
|
|
43
|
-
}
|
|
44
|
-
} } });
|
|
45
|
-
//#endregion
|
|
46
3
|
export { Base as default };
|
package/dist/labs.js
CHANGED
package/dist/training.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { n as base_exports, t as Base } from "./base-BEia1AB6.js";
|
|
2
|
+
import { definePreset } from "@primeuix/themes";
|
|
3
|
+
//#region src/presets/training.ts
|
|
4
|
+
const Training = definePreset(Base, { semantic: {
|
|
5
|
+
primary: base_exports.primitive.purple,
|
|
6
|
+
secondary: base_exports.primitive.pink,
|
|
7
|
+
colorScheme: {
|
|
8
|
+
light: {
|
|
9
|
+
primary: {
|
|
10
|
+
color: "{primary.600}",
|
|
11
|
+
hoverColor: "{primary.700}",
|
|
12
|
+
activeColor: "{primary.800}"
|
|
13
|
+
},
|
|
14
|
+
secondary: {
|
|
15
|
+
color: "{secondary.600}",
|
|
16
|
+
hoverColor: "{secondary.700}",
|
|
17
|
+
activeColor: "{secondary.800}"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
dark: {
|
|
21
|
+
primary: {
|
|
22
|
+
color: "{primary.300}",
|
|
23
|
+
hoverColor: "{primary.200}",
|
|
24
|
+
activeColor: "{primary.100}"
|
|
25
|
+
},
|
|
26
|
+
secondary: {
|
|
27
|
+
color: "{secondary.300}",
|
|
28
|
+
hoverColor: "{secondary.200}",
|
|
29
|
+
activeColor: "{secondary.100}"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
} });
|
|
34
|
+
//#endregion
|
|
35
|
+
export { Training as default };
|
package/package.json
CHANGED
|
@@ -2,17 +2,19 @@
|
|
|
2
2
|
"name": "@moser-inc/moser-labs-themes",
|
|
3
3
|
"description": "PrimeUIX themes for Moser Labs applications.",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/moser-inc/moser-labs.git",
|
|
9
9
|
"directory": "packages/themes"
|
|
10
10
|
},
|
|
11
11
|
"author": "Moser Consulting",
|
|
12
|
+
"license": "UNLICENSED",
|
|
12
13
|
"exports": {
|
|
13
14
|
".": "./dist/index.js",
|
|
14
15
|
"./base": "./dist/base.js",
|
|
15
16
|
"./labs": "./dist/labs.js",
|
|
17
|
+
"./training": "./dist/training.js",
|
|
16
18
|
"./package.json": "./package.json"
|
|
17
19
|
},
|
|
18
20
|
"files": [
|