@gjfleo/theme 0.2.0 → 0.2.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/index.js +1 -2
- package/dist/naive-ui/index.d.ts +33 -6
- package/dist/naive-ui/index.js +1309 -77
- package/dist/unocss/index.js +18 -19
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -961,7 +961,6 @@ var themeVariables = {
|
|
|
961
961
|
dangerHover: createHoverColor("#E7000B"),
|
|
962
962
|
dangerPressed: createPressedColor("#E7000B")
|
|
963
963
|
};
|
|
964
|
-
var theme_variables_default = themeVariables;
|
|
965
964
|
export {
|
|
966
|
-
|
|
965
|
+
themeVariables
|
|
967
966
|
};
|
package/dist/naive-ui/index.d.ts
CHANGED
|
@@ -1,13 +1,40 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
3
|
import { GlobalThemeOverrides } from 'naive-ui';
|
|
4
|
+
import { DeepPartial } from 'unocss';
|
|
4
5
|
|
|
5
|
-
declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
declare const themeVariables: {
|
|
7
|
+
light: string;
|
|
8
|
+
dark: string;
|
|
9
|
+
primary: string;
|
|
10
|
+
primaryHover: string;
|
|
11
|
+
primaryPressed: string;
|
|
12
|
+
secondary: string;
|
|
13
|
+
secondaryHover: string;
|
|
14
|
+
secondaryPressed: string;
|
|
15
|
+
info: string;
|
|
16
|
+
infoHover: string;
|
|
17
|
+
infoPressed: string;
|
|
18
|
+
success: string;
|
|
19
|
+
successHover: string;
|
|
20
|
+
successPressed: string;
|
|
21
|
+
warning: string;
|
|
22
|
+
warningHover: string;
|
|
23
|
+
warningPressed: string;
|
|
24
|
+
danger: string;
|
|
25
|
+
dangerHover: string;
|
|
26
|
+
dangerPressed: string;
|
|
11
27
|
};
|
|
28
|
+
export type ThemeVariables = typeof themeVariables;
|
|
29
|
+
export declare function getThemeOverridesDark(options?: {
|
|
30
|
+
theme?: DeepPartial<ThemeVariables>;
|
|
31
|
+
unocss?: boolean;
|
|
32
|
+
}): GlobalThemeOverrides;
|
|
33
|
+
export declare const themeOverridesDark: GlobalThemeOverrides;
|
|
34
|
+
export declare function getThemeOverridesLight(options?: {
|
|
35
|
+
theme?: DeepPartial<ThemeVariables>;
|
|
36
|
+
unocss?: boolean;
|
|
37
|
+
}): GlobalThemeOverrides;
|
|
38
|
+
export declare const themeOverridesLight: GlobalThemeOverrides;
|
|
12
39
|
|
|
13
40
|
export {};
|