@pubinfo/config 2.0.0-beta.3 → 2.0.0-beta.30
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/eslint/index.d.ts +1 -1
- package/dist/eslint/index.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +4 -5
- package/dist/shared/{config.DPEra-Xx.mjs → config.D4FYsBnQ.mjs} +0 -8
- package/dist/stylelint.d.ts +1 -1
- package/dist/themes/index.d.mts +2 -8
- package/dist/themes/index.d.ts +2 -8
- package/dist/themes/index.mjs +610 -3
- package/dist/unocss/index.d.mts +8 -0
- package/dist/unocss/index.d.ts +8 -0
- package/dist/unocss/index.mjs +103 -0
- package/package.json +16 -21
- package/src/eslint/config/ignores.ts +10 -0
- package/src/eslint/config/stylistic.ts +21 -0
- package/src/eslint/config/vue.ts +54 -0
- package/src/eslint/factory.ts +20 -0
- package/src/eslint/globs.ts +86 -0
- package/src/eslint/index.ts +3 -0
- package/src/index.ts +4 -0
- package/src/stylelint.ts +135 -0
- package/src/themes/index.ts +3 -0
- package/src/themes/system/dark/dark.ts +47 -0
- package/src/themes/system/dark/dracula.ts +47 -0
- package/src/themes/system/dark/luxury.ts +47 -0
- package/src/themes/system/dark/night.ts +47 -0
- package/src/themes/system/dark/stone.ts +47 -0
- package/src/themes/system/dark/synthwave.ts +47 -0
- package/src/themes/system/light/barbie.ts +47 -0
- package/src/themes/system/light/classic.ts +47 -0
- package/src/themes/system/light/cyberpunk.ts +47 -0
- package/src/themes/system/light/light.ts +47 -0
- package/src/themes/system/light/naive.ts +47 -0
- package/src/themes/system/light/winter.ts +47 -0
- package/src/themes/theme.ts +18 -0
- package/src/themes/unocss-utils.ts +52 -0
- package/src/themes/utils.ts +81 -0
- package/src/unocss/index.ts +61 -0
- package/src/unocss/presetThemes.ts +57 -0
- package/dist/eslint/index.cjs +0 -8
- package/dist/eslint/index.d.cts +0 -6
- package/dist/index.cjs +0 -21
- package/dist/index.d.cts +0 -6
- package/dist/shared/config.BDKVPKTO.mjs +0 -635
- package/dist/shared/config.CSqBb4YU.d.cts +0 -5
- package/dist/shared/config.YMrrkzU5.cjs +0 -641
- package/dist/shared/config.wdnazHMp.cjs +0 -147
- package/dist/stylelint.cjs +0 -139
- package/dist/stylelint.d.cts +0 -106
- package/dist/themes/index.cjs +0 -13
- package/dist/themes/index.d.cts +0 -33
- package/dist/unocss.cjs +0 -59
- package/dist/unocss.d.cts +0 -5
- package/dist/unocss.d.mts +0 -5
- package/dist/unocss.d.ts +0 -5
- package/dist/unocss.mjs +0 -57
package/dist/eslint/index.d.ts
CHANGED
package/dist/eslint/index.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { p as eslint } from './shared/config.CSqBb4YU.mjs';
|
|
2
2
|
export { default as stylelint } from './stylelint.mjs';
|
|
3
|
-
export { colorScheme, cssVarKey, customColorKey, defineTheme,
|
|
4
|
-
export { default as presetPubinfo } from './unocss.mjs';
|
|
3
|
+
export { colorScheme, cssVarKey, customColorKey, defineTheme, getThemes, globalTheme, themeOptions } from './themes/index.mjs';
|
|
4
|
+
export { default as presetPubinfo } from './unocss/index.mjs';
|
|
5
5
|
import '@antfu/eslint-config';
|
|
6
6
|
import 'unocss';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { p as eslint } from './shared/config.CSqBb4YU.js';
|
|
2
2
|
export { default as stylelint } from './stylelint.js';
|
|
3
|
-
export { colorScheme, cssVarKey, customColorKey, defineTheme,
|
|
4
|
-
export { default as presetPubinfo } from './unocss.js';
|
|
3
|
+
export { colorScheme, cssVarKey, customColorKey, defineTheme, getThemes, globalTheme, themeOptions } from './themes/index.js';
|
|
4
|
+
export { default as presetPubinfo } from './unocss/index.js';
|
|
5
5
|
import '@antfu/eslint-config';
|
|
6
6
|
import 'unocss';
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export { p as eslint } from './shared/config.
|
|
1
|
+
export { p as eslint } from './shared/config.D4FYsBnQ.mjs';
|
|
2
2
|
export { default as stylelint } from './stylelint.mjs';
|
|
3
|
-
export {
|
|
4
|
-
export { default as presetPubinfo } from './unocss.mjs';
|
|
3
|
+
export { customColorKey, defineTheme, getThemes } from './themes/index.mjs';
|
|
4
|
+
export { default as presetPubinfo } from './unocss/index.mjs';
|
|
5
5
|
import '@antfu/eslint-config';
|
|
6
|
-
import '@unocss/core';
|
|
7
|
-
import '@unocss/preset-mini/utils';
|
|
8
6
|
import 'unocss';
|
|
7
|
+
import '@unocss/core';
|
package/dist/stylelint.d.ts
CHANGED
package/dist/themes/index.d.mts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import * as unocss from 'unocss';
|
|
2
|
-
|
|
3
|
-
declare const presetThemes: unocss.PresetFactory<object, undefined>;
|
|
4
|
-
|
|
5
1
|
type CSSColorValue = string;
|
|
6
2
|
type manColor = 'bg' | 'container-bg' | 'border-color';
|
|
7
3
|
type headerColor = 'header-bg' | 'header-color' | 'header-menu-color' | 'header-menu-hover-bg' | 'header-menu-hover-color' | 'header-menu-active-bg' | 'header-menu-active-color';
|
|
@@ -25,9 +21,7 @@ declare const customColorKey: readonly ["--ui-primary", "--ui-text"];
|
|
|
25
21
|
interface globalTheme {
|
|
26
22
|
[key: string]: colorScheme;
|
|
27
23
|
}
|
|
28
|
-
declare function
|
|
24
|
+
declare function getThemes(): globalTheme;
|
|
29
25
|
declare function defineTheme(theme: themeOptions): globalTheme;
|
|
30
26
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
export { type colorScheme, type cssVarKey, customColorKey, defineTheme, type globalTheme, mergeTheme, presetThemes, type themeOptions, themes };
|
|
27
|
+
export { type colorScheme, type cssVarKey, customColorKey, defineTheme, getThemes, type globalTheme, type themeOptions };
|
package/dist/themes/index.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import * as unocss from 'unocss';
|
|
2
|
-
|
|
3
|
-
declare const presetThemes: unocss.PresetFactory<object, undefined>;
|
|
4
|
-
|
|
5
1
|
type CSSColorValue = string;
|
|
6
2
|
type manColor = 'bg' | 'container-bg' | 'border-color';
|
|
7
3
|
type headerColor = 'header-bg' | 'header-color' | 'header-menu-color' | 'header-menu-hover-bg' | 'header-menu-hover-color' | 'header-menu-active-bg' | 'header-menu-active-color';
|
|
@@ -25,9 +21,7 @@ declare const customColorKey: readonly ["--ui-primary", "--ui-text"];
|
|
|
25
21
|
interface globalTheme {
|
|
26
22
|
[key: string]: colorScheme;
|
|
27
23
|
}
|
|
28
|
-
declare function
|
|
24
|
+
declare function getThemes(): globalTheme;
|
|
29
25
|
declare function defineTheme(theme: themeOptions): globalTheme;
|
|
30
26
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
export { type colorScheme, type cssVarKey, customColorKey, defineTheme, type globalTheme, mergeTheme, presetThemes, type themeOptions, themes };
|
|
27
|
+
export { type colorScheme, type cssVarKey, customColorKey, defineTheme, getThemes, type globalTheme, type themeOptions };
|