@join-x5/react-theme 1.0.2 → 1.0.3
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/colors/index.d.ts +2 -26
- package/dist/colors/types.d.ts +3 -4
- package/dist/index.d.ts +2 -26
- package/package.json +1 -1
package/dist/colors/index.d.ts
CHANGED
|
@@ -4,30 +4,6 @@ export declare const colors: {
|
|
|
4
4
|
readonly additional: import('./types').AdditionalPalette;
|
|
5
5
|
readonly theme: Record<import('..').ThemeName, import('./types').UIPalette>;
|
|
6
6
|
readonly more: import('./types').MorePalette;
|
|
7
|
-
readonly grey:
|
|
8
|
-
|
|
9
|
-
10: string;
|
|
10
|
-
20: string;
|
|
11
|
-
30: string;
|
|
12
|
-
40: string;
|
|
13
|
-
50: string;
|
|
14
|
-
60: string;
|
|
15
|
-
70: string;
|
|
16
|
-
80: string;
|
|
17
|
-
90: string;
|
|
18
|
-
100: string;
|
|
19
|
-
};
|
|
20
|
-
readonly accent: {
|
|
21
|
-
5: string;
|
|
22
|
-
10: string;
|
|
23
|
-
20: string;
|
|
24
|
-
30: string;
|
|
25
|
-
40: string;
|
|
26
|
-
50: string;
|
|
27
|
-
60: string;
|
|
28
|
-
70: string;
|
|
29
|
-
80: string;
|
|
30
|
-
90: string;
|
|
31
|
-
100: string;
|
|
32
|
-
};
|
|
7
|
+
readonly grey: import('./types').ColorTokenGroup;
|
|
8
|
+
readonly accent: import('./types').ColorTokenGroup;
|
|
33
9
|
};
|
package/dist/colors/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
type ColorTokenWeight = 5 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100;
|
|
2
|
-
type ColorTokenGroup = Record<ColorTokenWeight, string>;
|
|
3
|
-
type ColorTokenMoreGroup = Record<Exclude<ColorTokenWeight, 5>, string>;
|
|
1
|
+
export type ColorTokenWeight = 5 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100;
|
|
2
|
+
export type ColorTokenGroup = Record<ColorTokenWeight, string>;
|
|
3
|
+
export type ColorTokenMoreGroup = Record<Exclude<ColorTokenWeight, 5>, string>;
|
|
4
4
|
export type MorePalette = {
|
|
5
5
|
uiGrey: Record<5, string>;
|
|
6
6
|
uiAccent: Record<5, string>;
|
|
@@ -41,4 +41,3 @@ export type Colors = {
|
|
|
41
41
|
white: string;
|
|
42
42
|
additional: AdditionalPalette;
|
|
43
43
|
} & UIPalette;
|
|
44
|
-
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -21,32 +21,8 @@ declare const _default: {
|
|
|
21
21
|
readonly additional: import('./colors').AdditionalPalette;
|
|
22
22
|
readonly theme: Record<ThemeName, import('./colors').UIPalette>;
|
|
23
23
|
readonly more: import('./colors').MorePalette;
|
|
24
|
-
readonly grey:
|
|
25
|
-
|
|
26
|
-
10: string;
|
|
27
|
-
20: string;
|
|
28
|
-
30: string;
|
|
29
|
-
40: string;
|
|
30
|
-
50: string;
|
|
31
|
-
60: string;
|
|
32
|
-
70: string;
|
|
33
|
-
80: string;
|
|
34
|
-
90: string;
|
|
35
|
-
100: string;
|
|
36
|
-
};
|
|
37
|
-
readonly accent: {
|
|
38
|
-
5: string;
|
|
39
|
-
10: string;
|
|
40
|
-
20: string;
|
|
41
|
-
30: string;
|
|
42
|
-
40: string;
|
|
43
|
-
50: string;
|
|
44
|
-
60: string;
|
|
45
|
-
70: string;
|
|
46
|
-
80: string;
|
|
47
|
-
90: string;
|
|
48
|
-
100: string;
|
|
49
|
-
};
|
|
24
|
+
readonly grey: import('./colors').ColorTokenGroup;
|
|
25
|
+
readonly accent: import('./colors').ColorTokenGroup;
|
|
50
26
|
};
|
|
51
27
|
scroll: import('@emotion/utils').SerializedStyles;
|
|
52
28
|
shadows: {
|