@moser-inc/moser-labs-themes 0.1.0 → 1.0.1

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.d.mts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as _primeuix_themes_types0 from "@primeuix/themes/types";
2
+ export * from "@primeuix/themes/lara/base";
2
3
 
3
4
  //#region src/presets/base.d.ts
4
5
  declare const Base: _primeuix_themes_types0.Preset;
package/dist/base.mjs CHANGED
@@ -1,19 +1,11 @@
1
1
  import { definePreset } from "@primeuix/themes";
2
2
  import Lara from "@primeuix/themes/lara";
3
3
 
4
+ export * from "@primeuix/themes/lara/base"
5
+
4
6
  //#region src/presets/base.ts
5
7
  const Base = definePreset(Lara, { semantic: { colorScheme: {
6
8
  light: {
7
- primary: {
8
- color: "{primary.500}",
9
- hoverColor: "{primary.600}",
10
- activeColor: "{primary.700}"
11
- },
12
- secondary: {
13
- color: "{secondary.500}",
14
- hoverColor: "{secondary.600}",
15
- activeColor: "{secondary.700}"
16
- },
17
9
  surface: {
18
10
  0: "#ffffff",
19
11
  50: "{gray.50}",
@@ -35,16 +27,6 @@ const Base = definePreset(Lara, { semantic: { colorScheme: {
35
27
  }
36
28
  },
37
29
  dark: {
38
- primary: {
39
- color: "{primary.500}",
40
- hoverColor: "{primary.400}",
41
- activeColor: "{primary.300}"
42
- },
43
- secondary: {
44
- color: "{secondary.500}",
45
- hoverColor: "{secondary.400}",
46
- activeColor: "{secondary.300}"
47
- },
48
30
  surface: {
49
31
  0: "#ffffff",
50
32
  50: "{gray.50}",
package/dist/labs.mjs CHANGED
@@ -4,10 +4,37 @@ import { definePreset, palette } from "@primeuix/themes";
4
4
  //#region src/presets/labs.ts
5
5
  const primaryLight = "#a51080";
6
6
  const primaryDark = "#dc19a4";
7
- const Labs = definePreset(Base, { semantic: { colorScheme: {
8
- light: { primary: palette(primaryLight) },
9
- dark: { primary: palette(primaryDark) }
10
- } } });
7
+ const primaryLightPalette = palette(primaryLight);
8
+ const primaryDarkPalette = palette(primaryDark);
9
+ const Labs = definePreset(Base, { semantic: {
10
+ secondary: {
11
+ 50: "{blue.50}",
12
+ 100: "{blue.100}",
13
+ 200: "{blue.200}",
14
+ 300: "{blue.300}",
15
+ 400: "{blue.400}",
16
+ 500: "{blue.500}",
17
+ 600: "{blue.600}",
18
+ 700: "{blue.700}",
19
+ 800: "{blue.800}",
20
+ 900: "{blue.900}",
21
+ 950: "{blue.950}"
22
+ },
23
+ colorScheme: {
24
+ light: { primary: typeof primaryLightPalette === "string" ? primaryLightPalette : {
25
+ ...primaryLightPalette,
26
+ color: "{primary.500}",
27
+ hoverColor: "{primary.600}",
28
+ activeColor: "{primary.700}"
29
+ } },
30
+ dark: { primary: typeof primaryDarkPalette === "string" ? primaryDarkPalette : {
31
+ ...primaryDarkPalette,
32
+ color: "{primary.500}",
33
+ hoverColor: "{primary.400}",
34
+ activeColor: "{primary.300}"
35
+ } }
36
+ }
37
+ } });
11
38
 
12
39
  //#endregion
13
40
  export { Labs };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@moser-inc/moser-labs-themes",
3
3
  "description": "PrimeUIX themes for Moser Labs applications.",
4
4
  "type": "module",
5
- "version": "0.1.0",
5
+ "version": "1.0.1",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/moser-inc/moser-labs.git"
@@ -23,9 +23,9 @@
23
23
  },
24
24
  "scripts": {
25
25
  "build": "tsdown",
26
- "lint": "eslint",
26
+ "lint": "eslint --max-warnings 0",
27
27
  "prepack": "npm run build",
28
- "type-check": "tsc"
28
+ "type-check": "tsc --noEmit"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@primeuix/themes": ">=2.0.3 <3.0.0"