@sito/ui 0.0.46 → 0.0.47
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.
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export default theme;
|
|
2
|
+
declare namespace theme {
|
|
3
|
+
let screens: {
|
|
4
|
+
"2xl": {
|
|
5
|
+
max: string;
|
|
6
|
+
};
|
|
7
|
+
xl: {
|
|
8
|
+
max: string;
|
|
9
|
+
};
|
|
10
|
+
lg: {
|
|
11
|
+
max: string;
|
|
12
|
+
};
|
|
13
|
+
md: {
|
|
14
|
+
max: string;
|
|
15
|
+
};
|
|
16
|
+
sm: {
|
|
17
|
+
max: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
namespace color {
|
|
21
|
+
namespace dark {
|
|
22
|
+
let _default: string;
|
|
23
|
+
export { _default as default };
|
|
24
|
+
export let alter: string;
|
|
25
|
+
}
|
|
26
|
+
namespace light {
|
|
27
|
+
let _default_1: string;
|
|
28
|
+
export { _default_1 as default };
|
|
29
|
+
let alter_1: string;
|
|
30
|
+
export { alter_1 as alter };
|
|
31
|
+
}
|
|
32
|
+
let primary: {
|
|
33
|
+
default: string;
|
|
34
|
+
200: string;
|
|
35
|
+
300: string;
|
|
36
|
+
400: string;
|
|
37
|
+
500: string;
|
|
38
|
+
};
|
|
39
|
+
let secondary: {
|
|
40
|
+
default: string;
|
|
41
|
+
200: string;
|
|
42
|
+
300: string;
|
|
43
|
+
400: string;
|
|
44
|
+
500: string;
|
|
45
|
+
};
|
|
46
|
+
let ternary: {
|
|
47
|
+
default: string;
|
|
48
|
+
200: string;
|
|
49
|
+
300: string;
|
|
50
|
+
400: string;
|
|
51
|
+
500: string;
|
|
52
|
+
};
|
|
53
|
+
let error: string;
|
|
54
|
+
let warning: string;
|
|
55
|
+
let success: string;
|
|
56
|
+
let info: string;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import theme from "../assets/styles/theme";
|
|
1
2
|
import { ReactNode } from "react";
|
|
2
3
|
export interface StyleProviderProps {
|
|
3
4
|
children: ReactNode;
|
|
4
5
|
}
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
declare const StyleProvider: (props: StyleProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const useStyle: () => {};
|
|
8
|
+
export { StyleProvider, useStyle, theme };
|