@xhsreds/reds-token-next 0.2.7-test202412262314 → 0.2.8
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/lib/types/index.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ import * as fontWeight from './const/const/fontWeight.js';
|
|
|
12
12
|
export { fontWeight };
|
|
13
13
|
import * as adapterTypography from './const/typography/adapterTypography.js';
|
|
14
14
|
export { adapterTypography };
|
|
15
|
-
export { AlwaysToken, DarkToken, LightToken } from './interface/index.js';
|
|
15
|
+
export { AdapterTypography, AlwaysToken, DarkToken, LightToken } from './interface/index.js';
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as always from '../const/colors/always.js';
|
|
2
2
|
import * as light from '../const/colors/light.js';
|
|
3
3
|
import * as dark from '../const/colors/dark.js';
|
|
4
|
+
import * as adapterTypography from '../const/typography/adapterTypography.js';
|
|
4
5
|
|
|
5
6
|
type LightToken = keyof typeof light;
|
|
6
7
|
type DarkToken = keyof typeof dark;
|
|
7
8
|
type AlwaysToken = keyof typeof always;
|
|
9
|
+
type AdapterTypography = keyof typeof adapterTypography;
|
|
8
10
|
|
|
9
|
-
export type { AlwaysToken, DarkToken, LightToken };
|
|
11
|
+
export type { AdapterTypography, AlwaysToken, DarkToken, LightToken };
|
package/package.json
CHANGED
package/src/interface/index.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { alwaysColor, lightColor, darkColor } from "../const";
|
|
1
|
+
import { alwaysColor, lightColor, darkColor, adapterTypography } from "../const";
|
|
2
2
|
|
|
3
3
|
export type LightToken = keyof typeof lightColor;
|
|
4
4
|
|
|
5
5
|
export type DarkToken = keyof typeof darkColor;
|
|
6
6
|
|
|
7
7
|
export type AlwaysToken = keyof typeof alwaysColor;
|
|
8
|
+
|
|
9
|
+
export type AdapterTypography = keyof typeof adapterTypography;
|