nuxt-hs-ui 2.0.13 → 2.0.14

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/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.15.0"
6
6
  },
7
- "version": "2.0.13",
7
+ "version": "2.0.14",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -1,4 +1,4 @@
1
- import _appConfig from "#build/app.config";
1
+ import { useAppConfig } from "nuxt/app";
2
2
  export const Theme = {
3
3
  main0: "main0",
4
4
  main1: "main1",
@@ -22,7 +22,7 @@ export const Theme = {
22
22
  };
23
23
  export const ThemeKyes = Object.keys(Theme);
24
24
  export const GetGolorCode = (code) => {
25
- const colors = _appConfig.tv.twMergeConfig.theme.extend.colors || {};
25
+ const colors = useAppConfig().tv.twMergeConfig.theme.extend.colors || {};
26
26
  if (code in colors) {
27
27
  return colors[code] || "#000000";
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-hs-ui",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "https://github.com/hare-systems-ryo/nuxt-hs-ui",
6
6
  "license": "MIT",