@pubinfo/config 2.0.10 → 2.0.12

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/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { eslint_default } from "./eslint-BHbhxuPS.js";
2
2
  import { stylelint_default } from "./stylelint-QHUuft1u.js";
3
3
  import { customColorKey, defineTheme, getThemes } from "./themes-CL2YKvqM.js";
4
- import { unocss_default } from "./unocss-D2qcMD6U.js";
4
+ import { unocss_default } from "./unocss-DQy85WJV.js";
5
5
 
6
6
  export { customColorKey, defineTheme, eslint_default as eslint, getThemes, unocss_default as presetPubinfo, stylelint_default as stylelint };
@@ -1,4 +1,4 @@
1
1
  import "../themes-CL2YKvqM.js";
2
- import { unocss_default } from "../unocss-D2qcMD6U.js";
2
+ import { unocss_default } from "../unocss-DQy85WJV.js";
3
3
 
4
4
  export { unocss_default as default };
@@ -15,12 +15,10 @@ function createCssVar(key, themeName) {
15
15
  }
16
16
  return {
17
17
  light(key$1) {
18
- const preSuffix = `[data-theme="${key$1}"]`;
19
- return createSuffixScheme(preSuffix);
18
+ return createSuffixScheme(`[data-theme="${key$1}"]`);
20
19
  },
21
20
  dark(key$1) {
22
- const preSuffix = `html.dark [data-theme="${key$1}"]`;
23
- return createSuffixScheme(preSuffix);
21
+ return createSuffixScheme(`html.dark [data-theme="${key$1}"]`);
24
22
  }
25
23
  }[key](themeName);
26
24
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo/config",
3
3
  "type": "module",
4
- "version": "2.0.10",
4
+ "version": "2.0.12",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",