@pubinfo/config 2.0.0-beta.31 → 2.0.0-beta.33

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.
@@ -1,6 +1,2 @@
1
- import { p as pubinfo } from '../shared/config.CSqBb4YU.js';
2
- import '@antfu/eslint-config';
3
-
4
-
5
-
6
- export { pubinfo as default };
1
+ import { pubinfo } from "../index-BlfMIrXI.js";
2
+ export { pubinfo as default };
@@ -0,0 +1,3 @@
1
+ import { eslint_default } from "../eslint-B0bQR0lJ.js";
2
+
3
+ export { eslint_default as default };
@@ -0,0 +1,121 @@
1
+ import antfu from "@antfu/eslint-config";
2
+
3
+ //#region src/eslint/globs.ts
4
+ const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
5
+ const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
6
+ const GLOB_MARKDOWN = "**/*.md";
7
+ const GLOB_MARKDOWN_CODE = `${GLOB_MARKDOWN}/${GLOB_SRC}`;
8
+ const GLOB_TESTS = [
9
+ `**/__tests__/**/*.${GLOB_SRC_EXT}`,
10
+ `**/*.spec.${GLOB_SRC_EXT}`,
11
+ `**/*.test.${GLOB_SRC_EXT}`,
12
+ `**/*.bench.${GLOB_SRC_EXT}`,
13
+ `**/*.benchmark.${GLOB_SRC_EXT}`
14
+ ];
15
+ const GLOB_EXCLUDE = [
16
+ "**/node_modules",
17
+ "**/dist",
18
+ "**/package-lock.json",
19
+ "**/yarn.lock",
20
+ "**/pnpm-lock.yaml",
21
+ "**/bun.lockb",
22
+ "**/output",
23
+ "**/coverage",
24
+ "**/temp",
25
+ "**/.temp",
26
+ "**/tmp",
27
+ "**/.tmp",
28
+ "**/.history",
29
+ "**/.vitepress/cache",
30
+ "**/.nuxt",
31
+ "**/.next",
32
+ "**/.vercel",
33
+ "**/.changeset",
34
+ "**/.idea",
35
+ "**/.cache",
36
+ "**/.output",
37
+ "**/.vite-inspect",
38
+ "**/es",
39
+ "**/lib",
40
+ "**/CHANGELOG*.md",
41
+ "**/*.min.*",
42
+ "**/LICENSE*",
43
+ "**/__snapshots__",
44
+ "**/auto-import?(s).d.ts",
45
+ "**/components.d.ts",
46
+ "**/*.cjs",
47
+ "**/*.mjs",
48
+ "**/assets/**/*.json"
49
+ ];
50
+
51
+ //#endregion
52
+ //#region src/eslint/config/ignores.ts
53
+ async function ignores() {
54
+ return [{ ignores: GLOB_EXCLUDE }];
55
+ }
56
+
57
+ //#endregion
58
+ //#region src/eslint/config/stylistic.ts
59
+ async function stylistic() {
60
+ return [{ rules: {
61
+ "eslint-comments/no-unlimited-disable": "off",
62
+ "curly": ["error", "all"],
63
+ "antfu/consistent-list-newline": "off",
64
+ "regexp/no-unused-capturing-group": "off",
65
+ "unused-imports/no-unused-vars": "off",
66
+ "unicorn/consistent-function-scoping": "off"
67
+ } }, { rules: { "style/semi": ["error", "always"] } }];
68
+ }
69
+
70
+ //#endregion
71
+ //#region src/eslint/config/vue.ts
72
+ async function vue() {
73
+ return [{
74
+ files: ["**/*.vue"],
75
+ rules: {
76
+ "vue/block-order": ["error", { order: [
77
+ "route",
78
+ "i18n",
79
+ "script",
80
+ "template",
81
+ "style"
82
+ ] }],
83
+ "vue/component-api-style": ["error", ["script-setup", "composition"]],
84
+ "vue/match-component-import-name": ["error"],
85
+ "vue/new-line-between-multi-line-property": ["error"],
86
+ "vue/no-empty-component-block": ["error"],
87
+ "vue/no-potential-component-option-typo": ["error", { presets: ["all"] }],
88
+ "vue/prefer-define-options": ["error"],
89
+ "vue/valid-define-options": ["error"],
90
+ "vue/require-macro-variable-name": ["error", {
91
+ defineProps: "props",
92
+ defineEmits: "emit",
93
+ defineSlots: "slots",
94
+ useSlots: "slots",
95
+ useAttrs: "attrs"
96
+ }],
97
+ "vue/no-unused-emit-declarations": ["error"],
98
+ "vue/attribute-hyphenation": [
99
+ "warn",
100
+ "always",
101
+ {}
102
+ ]
103
+ }
104
+ }, {
105
+ files: ["**/views/**/*.vue"],
106
+ rules: { "vue/no-multiple-template-root": ["error"] }
107
+ }];
108
+ }
109
+
110
+ //#endregion
111
+ //#region src/eslint/factory.ts
112
+ async function pubinfo(...userConfigs) {
113
+ return antfu({ unocss: false }, vue(), stylistic(), ignores(), ...userConfigs);
114
+ }
115
+
116
+ //#endregion
117
+ //#region src/eslint/index.ts
118
+ var eslint_default = pubinfo;
119
+
120
+ //#endregion
121
+ export { eslint_default };
@@ -0,0 +1,6 @@
1
+ import antfu, { TypedFlatConfigItem } from "@antfu/eslint-config";
2
+
3
+ //#region src/eslint/factory.d.ts
4
+ declare function pubinfo(...userConfigs: Parameters<typeof antfu>[1][]): Promise<TypedFlatConfigItem[]>;
5
+ //#endregion
6
+ export { pubinfo };
@@ -0,0 +1,9 @@
1
+ import { globalTheme } from "./index-xzslCJW7.js";
2
+ import * as unocss0 from "unocss";
3
+
4
+ //#region src/unocss/index.d.ts
5
+ declare const _default: unocss0.PresetFactory<object, {
6
+ themes?: globalTheme[];
7
+ }>;
8
+ //#endregion
9
+ export { _default };
@@ -1,3 +1,4 @@
1
+ //#region src/themes/utils.d.ts
1
2
  type CSSColorValue = string;
2
3
  type manColor = 'bg' | 'container-bg' | 'border-color';
3
4
  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';
@@ -9,19 +10,19 @@ type customColor = typeof customColorKey[number];
9
10
  type benchmark = `--g-${manColor | headerColor | mainSidebarColor | subSidebarColor | tabbarColor}`;
10
11
  type cssVarKey = customColor | benchmark;
11
12
  type colorScheme = Record<cssVarKey, CSSColorValue> & {
12
- 'color-scheme': themeScheme;
13
+ 'color-scheme': themeScheme;
13
14
  } & {
14
- label?: string;
15
+ label?: string;
15
16
  };
16
17
  interface themeOptions {
17
- name: string;
18
- colors: colorScheme;
18
+ name: string;
19
+ colors: colorScheme;
19
20
  }
20
21
  declare const customColorKey: readonly ["--ui-primary", "--ui-text"];
21
22
  interface globalTheme {
22
- [key: string]: colorScheme;
23
+ [key: string]: colorScheme;
23
24
  }
24
25
  declare function getThemes(): globalTheme;
25
26
  declare function defineTheme(theme: themeOptions): globalTheme;
26
-
27
- export { type colorScheme, type cssVarKey, customColorKey, defineTheme, getThemes, type globalTheme, type themeOptions };
27
+ //#endregion
28
+ export { colorScheme, cssVarKey, customColorKey, defineTheme, getThemes, globalTheme, themeOptions };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- export { p as eslint } from './shared/config.CSqBb4YU.js';
2
- export { default as stylelint } from './stylelint.js';
3
- export { colorScheme, cssVarKey, customColorKey, defineTheme, getThemes, globalTheme, themeOptions } from './themes/index.js';
4
- export { default as presetPubinfo } from './unocss/index.js';
5
- import '@antfu/eslint-config';
6
- import 'unocss';
1
+ import { pubinfo } from "./index-BlfMIrXI.js";
2
+ import { _default } from "./stylelint-9CMQiIxC.js";
3
+ import { colorScheme, cssVarKey, customColorKey, defineTheme, getThemes, globalTheme, themeOptions } from "./index-xzslCJW7.js";
4
+ import { _default as _default$1 } from "./index-DFGyu9wF.js";
5
+ export { colorScheme, cssVarKey, customColorKey, defineTheme, pubinfo as eslint, getThemes, globalTheme, _default$1 as presetPubinfo, _default as stylelint, themeOptions };
package/dist/index.js ADDED
@@ -0,0 +1,6 @@
1
+ import { eslint_default } from "./eslint-B0bQR0lJ.js";
2
+ import { stylelint_default } from "./stylelint-3t_nq9An.js";
3
+ import { customColorKey, defineTheme, getThemes } from "./themes-CL2YKvqM.js";
4
+ import { unocss_default } from "./unocss-Be8qA77X.js";
5
+
6
+ export { customColorKey, defineTheme, eslint_default as eslint, getThemes, unocss_default as presetPubinfo, stylelint_default as stylelint };
@@ -0,0 +1,115 @@
1
+ //#region src/stylelint.ts
2
+ var stylelint_default = {
3
+ extends: ["stylelint-config-recess-order"],
4
+ plugins: ["stylelint-scss", "@stylistic/stylelint-plugin"],
5
+ overrides: [
6
+ {
7
+ files: ["**/*.(css|html|vue)"],
8
+ customSyntax: "postcss-html"
9
+ },
10
+ {
11
+ files: ["*.less", "**/*.less"],
12
+ customSyntax: "postcss-less",
13
+ extends: ["stylelint-config-standard-less", "stylelint-config-standard-vue"]
14
+ },
15
+ {
16
+ files: ["*.scss", "**/*.scss"],
17
+ customSyntax: "postcss-scss",
18
+ extends: ["stylelint-config-standard-scss", "stylelint-config-standard-vue/scss"],
19
+ rule: {
20
+ "scss/double-slash-comment-empty-line-before": null,
21
+ "scss/no-global-function-names": null
22
+ }
23
+ }
24
+ ],
25
+ rules: {
26
+ "at-rule-no-unknown": null,
27
+ "no-descending-specificity": null,
28
+ "property-no-unknown": null,
29
+ "font-family-no-missing-generic-family-keyword": null,
30
+ "selector-class-pattern": null,
31
+ "function-no-unknown": [true, { ignoreFunctions: [
32
+ "v-bind",
33
+ "map-get",
34
+ "lighten",
35
+ "darken"
36
+ ] }],
37
+ "selector-pseudo-element-no-unknown": [true, { ignorePseudoElements: ["/^view-transition/"] }],
38
+ "@stylistic/at-rule-name-case": "lower",
39
+ "@stylistic/at-rule-name-space-after": "always-single-line",
40
+ "@stylistic/at-rule-semicolon-newline-after": "always",
41
+ "@stylistic/block-closing-brace-empty-line-before": "never",
42
+ "@stylistic/block-closing-brace-newline-before": "always-multi-line",
43
+ "@stylistic/block-closing-brace-space-before": "always-single-line",
44
+ "@stylistic/block-opening-brace-newline-after": "always-multi-line",
45
+ "@stylistic/block-opening-brace-space-after": "always-single-line",
46
+ "@stylistic/block-opening-brace-space-before": "always",
47
+ "@stylistic/color-hex-case": "lower",
48
+ "@stylistic/declaration-bang-space-after": "never",
49
+ "@stylistic/declaration-bang-space-before": "always",
50
+ "@stylistic/declaration-block-semicolon-newline-after": "always-multi-line",
51
+ "@stylistic/declaration-block-semicolon-space-after": "always-single-line",
52
+ "@stylistic/declaration-block-semicolon-space-before": "never",
53
+ "@stylistic/declaration-block-trailing-semicolon": "always",
54
+ "@stylistic/declaration-colon-newline-after": "always-multi-line",
55
+ "@stylistic/declaration-colon-space-after": "always-single-line",
56
+ "@stylistic/declaration-colon-space-before": "never",
57
+ "@stylistic/function-comma-newline-after": "always-multi-line",
58
+ "@stylistic/function-comma-space-after": "always-single-line",
59
+ "@stylistic/function-comma-space-before": "never",
60
+ "@stylistic/function-max-empty-lines": 0,
61
+ "@stylistic/function-parentheses-newline-inside": "always-multi-line",
62
+ "@stylistic/function-parentheses-space-inside": "never-single-line",
63
+ "@stylistic/function-whitespace-after": "always",
64
+ "@stylistic/indentation": 2,
65
+ "@stylistic/max-empty-lines": 1,
66
+ "@stylistic/media-feature-colon-space-after": "always",
67
+ "@stylistic/media-feature-colon-space-before": "never",
68
+ "@stylistic/media-feature-name-case": "lower",
69
+ "@stylistic/media-feature-parentheses-space-inside": "never",
70
+ "@stylistic/media-feature-range-operator-space-after": "always",
71
+ "@stylistic/media-feature-range-operator-space-before": "always",
72
+ "@stylistic/media-query-list-comma-newline-after": "always-multi-line",
73
+ "@stylistic/media-query-list-comma-space-after": "always-single-line",
74
+ "@stylistic/media-query-list-comma-space-before": "never",
75
+ "@stylistic/no-empty-first-line": true,
76
+ "@stylistic/no-eol-whitespace": true,
77
+ "@stylistic/no-extra-semicolons": true,
78
+ "@stylistic/no-missing-end-of-source-newline": true,
79
+ "@stylistic/number-leading-zero": "always",
80
+ "@stylistic/number-no-trailing-zeros": true,
81
+ "@stylistic/property-case": "lower",
82
+ "@stylistic/selector-attribute-brackets-space-inside": "never",
83
+ "@stylistic/selector-attribute-operator-space-after": "never",
84
+ "@stylistic/selector-attribute-operator-space-before": "never",
85
+ "@stylistic/selector-combinator-space-after": "always",
86
+ "@stylistic/selector-combinator-space-before": "always",
87
+ "@stylistic/selector-descendant-combinator-no-non-space": true,
88
+ "@stylistic/selector-list-comma-newline-after": "always",
89
+ "@stylistic/selector-list-comma-space-before": "never",
90
+ "@stylistic/selector-max-empty-lines": 0,
91
+ "@stylistic/selector-pseudo-class-case": "lower",
92
+ "@stylistic/selector-pseudo-class-parentheses-space-inside": "never",
93
+ "@stylistic/selector-pseudo-element-case": "lower",
94
+ "@stylistic/string-quotes": "double",
95
+ "@stylistic/unit-case": "lower",
96
+ "@stylistic/value-list-comma-newline-after": "always-multi-line",
97
+ "@stylistic/value-list-comma-space-after": "always-single-line",
98
+ "@stylistic/value-list-comma-space-before": "never",
99
+ "@stylistic/value-list-max-empty-lines": 0,
100
+ "@stylistic/max-line-length": null,
101
+ "@stylistic/block-closing-brace-newline-after": ["always", { ignoreAtRules: ["if", "else"] }]
102
+ },
103
+ allowEmptyInput: true,
104
+ ignoreFiles: [
105
+ "**/node_modules/**/*",
106
+ "**/dist*/**/*",
107
+ "**/src/assets/fonts/**/*",
108
+ "**/*.cjs",
109
+ "**/*.ejs",
110
+ "**/.pubinfo/**/*"
111
+ ]
112
+ };
113
+
114
+ //#endregion
115
+ export { stylelint_default };
@@ -0,0 +1,107 @@
1
+ //#region src/stylelint.d.ts
2
+ declare const _default: {
3
+ extends: string[];
4
+ plugins: string[];
5
+ overrides: ({
6
+ files: string[];
7
+ customSyntax: string;
8
+ extends?: undefined;
9
+ rule?: undefined;
10
+ } | {
11
+ files: string[];
12
+ customSyntax: string;
13
+ extends: string[];
14
+ rule?: undefined;
15
+ } | {
16
+ files: string[];
17
+ customSyntax: string;
18
+ extends: string[];
19
+ rule: {
20
+ 'scss/double-slash-comment-empty-line-before': null;
21
+ 'scss/no-global-function-names': null;
22
+ };
23
+ })[];
24
+ rules: {
25
+ 'at-rule-no-unknown': null;
26
+ 'no-descending-specificity': null;
27
+ 'property-no-unknown': null;
28
+ 'font-family-no-missing-generic-family-keyword': null;
29
+ 'selector-class-pattern': null;
30
+ 'function-no-unknown': (boolean | {
31
+ ignoreFunctions: string[];
32
+ })[];
33
+ 'selector-pseudo-element-no-unknown': (boolean | {
34
+ ignorePseudoElements: string[];
35
+ })[];
36
+ '@stylistic/at-rule-name-case': string;
37
+ '@stylistic/at-rule-name-space-after': string;
38
+ '@stylistic/at-rule-semicolon-newline-after': string;
39
+ '@stylistic/block-closing-brace-empty-line-before': string;
40
+ '@stylistic/block-closing-brace-newline-before': string;
41
+ '@stylistic/block-closing-brace-space-before': string;
42
+ '@stylistic/block-opening-brace-newline-after': string;
43
+ '@stylistic/block-opening-brace-space-after': string;
44
+ '@stylistic/block-opening-brace-space-before': string;
45
+ '@stylistic/color-hex-case': string;
46
+ '@stylistic/declaration-bang-space-after': string;
47
+ '@stylistic/declaration-bang-space-before': string;
48
+ '@stylistic/declaration-block-semicolon-newline-after': string;
49
+ '@stylistic/declaration-block-semicolon-space-after': string;
50
+ '@stylistic/declaration-block-semicolon-space-before': string;
51
+ '@stylistic/declaration-block-trailing-semicolon': string;
52
+ '@stylistic/declaration-colon-newline-after': string;
53
+ '@stylistic/declaration-colon-space-after': string;
54
+ '@stylistic/declaration-colon-space-before': string;
55
+ '@stylistic/function-comma-newline-after': string;
56
+ '@stylistic/function-comma-space-after': string;
57
+ '@stylistic/function-comma-space-before': string;
58
+ '@stylistic/function-max-empty-lines': number;
59
+ '@stylistic/function-parentheses-newline-inside': string;
60
+ '@stylistic/function-parentheses-space-inside': string;
61
+ '@stylistic/function-whitespace-after': string;
62
+ '@stylistic/indentation': number;
63
+ '@stylistic/max-empty-lines': number;
64
+ '@stylistic/media-feature-colon-space-after': string;
65
+ '@stylistic/media-feature-colon-space-before': string;
66
+ '@stylistic/media-feature-name-case': string;
67
+ '@stylistic/media-feature-parentheses-space-inside': string;
68
+ '@stylistic/media-feature-range-operator-space-after': string;
69
+ '@stylistic/media-feature-range-operator-space-before': string;
70
+ '@stylistic/media-query-list-comma-newline-after': string;
71
+ '@stylistic/media-query-list-comma-space-after': string;
72
+ '@stylistic/media-query-list-comma-space-before': string;
73
+ '@stylistic/no-empty-first-line': boolean;
74
+ '@stylistic/no-eol-whitespace': boolean;
75
+ '@stylistic/no-extra-semicolons': boolean;
76
+ '@stylistic/no-missing-end-of-source-newline': boolean;
77
+ '@stylistic/number-leading-zero': string;
78
+ '@stylistic/number-no-trailing-zeros': boolean;
79
+ '@stylistic/property-case': string;
80
+ '@stylistic/selector-attribute-brackets-space-inside': string;
81
+ '@stylistic/selector-attribute-operator-space-after': string;
82
+ '@stylistic/selector-attribute-operator-space-before': string;
83
+ '@stylistic/selector-combinator-space-after': string;
84
+ '@stylistic/selector-combinator-space-before': string;
85
+ '@stylistic/selector-descendant-combinator-no-non-space': boolean;
86
+ '@stylistic/selector-list-comma-newline-after': string;
87
+ '@stylistic/selector-list-comma-space-before': string;
88
+ '@stylistic/selector-max-empty-lines': number;
89
+ '@stylistic/selector-pseudo-class-case': string;
90
+ '@stylistic/selector-pseudo-class-parentheses-space-inside': string;
91
+ '@stylistic/selector-pseudo-element-case': string;
92
+ '@stylistic/string-quotes': string;
93
+ '@stylistic/unit-case': string;
94
+ '@stylistic/value-list-comma-newline-after': string;
95
+ '@stylistic/value-list-comma-space-after': string;
96
+ '@stylistic/value-list-comma-space-before': string;
97
+ '@stylistic/value-list-max-empty-lines': number;
98
+ '@stylistic/max-line-length': null;
99
+ '@stylistic/block-closing-brace-newline-after': (string | {
100
+ ignoreAtRules: string[];
101
+ })[];
102
+ };
103
+ allowEmptyInput: boolean;
104
+ ignoreFiles: string[];
105
+ };
106
+ //#endregion
107
+ export { _default };
@@ -1,106 +1,2 @@
1
- declare const _default: {
2
- extends: string[];
3
- plugins: string[];
4
- overrides: ({
5
- files: string[];
6
- customSyntax: string;
7
- extends?: undefined;
8
- rule?: undefined;
9
- } | {
10
- files: string[];
11
- customSyntax: string;
12
- extends: string[];
13
- rule?: undefined;
14
- } | {
15
- files: string[];
16
- customSyntax: string;
17
- extends: string[];
18
- rule: {
19
- 'scss/double-slash-comment-empty-line-before': null;
20
- 'scss/no-global-function-names': null;
21
- };
22
- })[];
23
- rules: {
24
- 'at-rule-no-unknown': null;
25
- 'no-descending-specificity': null;
26
- 'property-no-unknown': null;
27
- 'font-family-no-missing-generic-family-keyword': null;
28
- 'selector-class-pattern': null;
29
- 'function-no-unknown': (boolean | {
30
- ignoreFunctions: string[];
31
- })[];
32
- 'selector-pseudo-element-no-unknown': (boolean | {
33
- ignorePseudoElements: string[];
34
- })[];
35
- '@stylistic/at-rule-name-case': string;
36
- '@stylistic/at-rule-name-space-after': string;
37
- '@stylistic/at-rule-semicolon-newline-after': string;
38
- '@stylistic/block-closing-brace-empty-line-before': string;
39
- '@stylistic/block-closing-brace-newline-before': string;
40
- '@stylistic/block-closing-brace-space-before': string;
41
- '@stylistic/block-opening-brace-newline-after': string;
42
- '@stylistic/block-opening-brace-space-after': string;
43
- '@stylistic/block-opening-brace-space-before': string;
44
- '@stylistic/color-hex-case': string;
45
- '@stylistic/declaration-bang-space-after': string;
46
- '@stylistic/declaration-bang-space-before': string;
47
- '@stylistic/declaration-block-semicolon-newline-after': string;
48
- '@stylistic/declaration-block-semicolon-space-after': string;
49
- '@stylistic/declaration-block-semicolon-space-before': string;
50
- '@stylistic/declaration-block-trailing-semicolon': string;
51
- '@stylistic/declaration-colon-newline-after': string;
52
- '@stylistic/declaration-colon-space-after': string;
53
- '@stylistic/declaration-colon-space-before': string;
54
- '@stylistic/function-comma-newline-after': string;
55
- '@stylistic/function-comma-space-after': string;
56
- '@stylistic/function-comma-space-before': string;
57
- '@stylistic/function-max-empty-lines': number;
58
- '@stylistic/function-parentheses-newline-inside': string;
59
- '@stylistic/function-parentheses-space-inside': string;
60
- '@stylistic/function-whitespace-after': string;
61
- '@stylistic/indentation': number;
62
- '@stylistic/max-empty-lines': number;
63
- '@stylistic/media-feature-colon-space-after': string;
64
- '@stylistic/media-feature-colon-space-before': string;
65
- '@stylistic/media-feature-name-case': string;
66
- '@stylistic/media-feature-parentheses-space-inside': string;
67
- '@stylistic/media-feature-range-operator-space-after': string;
68
- '@stylistic/media-feature-range-operator-space-before': string;
69
- '@stylistic/media-query-list-comma-newline-after': string;
70
- '@stylistic/media-query-list-comma-space-after': string;
71
- '@stylistic/media-query-list-comma-space-before': string;
72
- '@stylistic/no-empty-first-line': boolean;
73
- '@stylistic/no-eol-whitespace': boolean;
74
- '@stylistic/no-extra-semicolons': boolean;
75
- '@stylistic/no-missing-end-of-source-newline': boolean;
76
- '@stylistic/number-leading-zero': string;
77
- '@stylistic/number-no-trailing-zeros': boolean;
78
- '@stylistic/property-case': string;
79
- '@stylistic/selector-attribute-brackets-space-inside': string;
80
- '@stylistic/selector-attribute-operator-space-after': string;
81
- '@stylistic/selector-attribute-operator-space-before': string;
82
- '@stylistic/selector-combinator-space-after': string;
83
- '@stylistic/selector-combinator-space-before': string;
84
- '@stylistic/selector-descendant-combinator-no-non-space': boolean;
85
- '@stylistic/selector-list-comma-newline-after': string;
86
- '@stylistic/selector-list-comma-space-before': string;
87
- '@stylistic/selector-max-empty-lines': number;
88
- '@stylistic/selector-pseudo-class-case': string;
89
- '@stylistic/selector-pseudo-class-parentheses-space-inside': string;
90
- '@stylistic/selector-pseudo-element-case': string;
91
- '@stylistic/string-quotes': string;
92
- '@stylistic/unit-case': string;
93
- '@stylistic/value-list-comma-newline-after': string;
94
- '@stylistic/value-list-comma-space-after': string;
95
- '@stylistic/value-list-comma-space-before': string;
96
- '@stylistic/value-list-max-empty-lines': number;
97
- '@stylistic/max-line-length': null;
98
- '@stylistic/block-closing-brace-newline-after': (string | {
99
- ignoreAtRules: string[];
100
- })[];
101
- };
102
- allowEmptyInput: boolean;
103
- ignoreFiles: string[];
104
- };
105
-
106
- export { _default as default };
1
+ import { _default } from "./stylelint-9CMQiIxC.js";
2
+ export { _default as default };
@@ -0,0 +1,3 @@
1
+ import { stylelint_default } from "./stylelint-3t_nq9An.js";
2
+
3
+ export { stylelint_default as default };
@@ -1,27 +1,2 @@
1
- type CSSColorValue = string;
2
- type manColor = 'bg' | 'container-bg' | 'border-color';
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';
4
- type mainSidebarColor = 'main-sidebar-bg' | 'main-sidebar-menu-color' | 'main-sidebar-menu-hover-bg' | 'main-sidebar-menu-hover-color' | 'main-sidebar-menu-active-bg' | 'main-sidebar-menu-active-color';
5
- type subSidebarColor = 'sub-sidebar-bg' | 'sub-sidebar-logo-bg' | 'sub-sidebar-logo-color' | 'sub-sidebar-menu-color' | 'sub-sidebar-menu-hover-bg' | 'sub-sidebar-menu-hover-color' | 'sub-sidebar-menu-active-bg' | 'sub-sidebar-menu-active-color';
6
- type tabbarColor = 'tabbar-dividers-bg' | 'tabbar-tab-color' | 'tabbar-tab-hover-bg' | 'tabbar-tab-hover-color' | 'tabbar-tab-active-color';
7
- type themeScheme = 'light' | 'dark';
8
- type customColor = typeof customColorKey[number];
9
- type benchmark = `--g-${manColor | headerColor | mainSidebarColor | subSidebarColor | tabbarColor}`;
10
- type cssVarKey = customColor | benchmark;
11
- type colorScheme = Record<cssVarKey, CSSColorValue> & {
12
- 'color-scheme': themeScheme;
13
- } & {
14
- label?: string;
15
- };
16
- interface themeOptions {
17
- name: string;
18
- colors: colorScheme;
19
- }
20
- declare const customColorKey: readonly ["--ui-primary", "--ui-text"];
21
- interface globalTheme {
22
- [key: string]: colorScheme;
23
- }
24
- declare function getThemes(): globalTheme;
25
- declare function defineTheme(theme: themeOptions): globalTheme;
26
-
27
- export { type colorScheme, type cssVarKey, customColorKey, defineTheme, getThemes, type globalTheme, type themeOptions };
1
+ import { colorScheme, cssVarKey, customColorKey, defineTheme, getThemes, globalTheme, themeOptions } from "../index-xzslCJW7.js";
2
+ export { colorScheme, cssVarKey, customColorKey, defineTheme, getThemes, globalTheme, themeOptions };
@@ -0,0 +1,3 @@
1
+ import { customColorKey, defineTheme, getThemes } from "../themes-CL2YKvqM.js";
2
+
3
+ export { customColorKey, defineTheme, getThemes };