@xaui/core 0.1.9 → 0.1.10
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/theme/index.d.cts +10 -10
- package/dist/theme/index.d.ts +10 -10
- package/package.json +1 -1
package/dist/theme/index.d.cts
CHANGED
|
@@ -122,16 +122,16 @@ interface XUITheme {
|
|
|
122
122
|
shadows: ThemeShadows;
|
|
123
123
|
}
|
|
124
124
|
type PartialXUITheme = {
|
|
125
|
-
readonly mode
|
|
126
|
-
readonly palette
|
|
127
|
-
colors
|
|
128
|
-
spacing
|
|
129
|
-
borderRadius
|
|
130
|
-
borderWidth
|
|
131
|
-
fontSizes
|
|
132
|
-
fontWeights
|
|
133
|
-
fontFamilies
|
|
134
|
-
shadows
|
|
125
|
+
readonly mode?: 'light' | 'dark';
|
|
126
|
+
readonly palette?: typeof colors;
|
|
127
|
+
colors?: Partial<ThemeColors>;
|
|
128
|
+
spacing?: Partial<ThemeSpacing>;
|
|
129
|
+
borderRadius?: Partial<ThemeBorderRadius>;
|
|
130
|
+
borderWidth?: Partial<ThemeBorderWidth>;
|
|
131
|
+
fontSizes?: Partial<ThemeFontSizes>;
|
|
132
|
+
fontWeights?: Partial<ThemeFontWeights>;
|
|
133
|
+
fontFamilies?: Partial<ThemeFontFamilies>;
|
|
134
|
+
shadows?: Partial<ThemeShadows>;
|
|
135
135
|
};
|
|
136
136
|
declare const baseTheme: {
|
|
137
137
|
readonly spacing: {
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -122,16 +122,16 @@ interface XUITheme {
|
|
|
122
122
|
shadows: ThemeShadows;
|
|
123
123
|
}
|
|
124
124
|
type PartialXUITheme = {
|
|
125
|
-
readonly mode
|
|
126
|
-
readonly palette
|
|
127
|
-
colors
|
|
128
|
-
spacing
|
|
129
|
-
borderRadius
|
|
130
|
-
borderWidth
|
|
131
|
-
fontSizes
|
|
132
|
-
fontWeights
|
|
133
|
-
fontFamilies
|
|
134
|
-
shadows
|
|
125
|
+
readonly mode?: 'light' | 'dark';
|
|
126
|
+
readonly palette?: typeof colors;
|
|
127
|
+
colors?: Partial<ThemeColors>;
|
|
128
|
+
spacing?: Partial<ThemeSpacing>;
|
|
129
|
+
borderRadius?: Partial<ThemeBorderRadius>;
|
|
130
|
+
borderWidth?: Partial<ThemeBorderWidth>;
|
|
131
|
+
fontSizes?: Partial<ThemeFontSizes>;
|
|
132
|
+
fontWeights?: Partial<ThemeFontWeights>;
|
|
133
|
+
fontFamilies?: Partial<ThemeFontFamilies>;
|
|
134
|
+
shadows?: Partial<ThemeShadows>;
|
|
135
135
|
};
|
|
136
136
|
declare const baseTheme: {
|
|
137
137
|
readonly spacing: {
|