@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 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
- theme_variables_default as themeVariables
965
+ themeVariables
967
966
  };
@@ -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 _default: GlobalThemeOverrides;
6
- declare const _default$1: GlobalThemeOverrides;
7
-
8
- export {
9
- _default as themeOverridesDark,
10
- _default$1 as themeOverridesLight,
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 {};