@trackunit/ui-design-tokens 1.11.7 → 1.11.9
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/package.json
CHANGED
|
@@ -7,12 +7,12 @@ export type ColorVariants<TColorName extends ThemeColorKeys> = keyof (typeof the
|
|
|
7
7
|
export interface ThemeColorObject<TThemeColorKeys extends ThemeColorKeys> {
|
|
8
8
|
name: Lowercase<TThemeColorKeys>;
|
|
9
9
|
variants: {
|
|
10
|
-
[
|
|
10
|
+
[KeyVariant in keyof (typeof trackunitPalette)[TThemeColorKeys]]: string;
|
|
11
11
|
};
|
|
12
12
|
defaultVariant?: keyof (typeof trackunitPalette)[TThemeColorKeys];
|
|
13
13
|
}
|
|
14
14
|
export type ThemeColorsObject = {
|
|
15
|
-
[
|
|
15
|
+
[KeyThemeColor in ThemeColorKeys]: ThemeColorObject<KeyThemeColor>;
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
18
|
* An object of all the Trackunit Theme colors and their available variants.
|
|
@@ -19,7 +19,7 @@ export declare const themeFontSize: {
|
|
|
19
19
|
export type ThemeFontSize = typeof themeFontSize;
|
|
20
20
|
export type fontSizeKeys = keyof typeof themeFontSize;
|
|
21
21
|
export declare const themeLineHeight: {
|
|
22
|
-
[
|
|
22
|
+
[KeyFontSize in fontSizeKeys]: string;
|
|
23
23
|
};
|
|
24
24
|
export declare const themeFontWeight: {
|
|
25
25
|
readonly thin: 100;
|