@idealyst/theme 1.3.3 → 1.3.5

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idealyst/theme",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "Theming system for Idealyst Framework",
5
5
  "readme": "README.md",
6
6
  "main": "src/index.ts",
@@ -63,7 +63,7 @@
63
63
  "publish:npm": "npm publish"
64
64
  },
65
65
  "dependencies": {
66
- "@idealyst/tooling": "^1.3.3"
66
+ "@idealyst/tooling": "^1.3.5"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "react-native-unistyles": ">=3.0.0"
package/src/lightTheme.ts CHANGED
@@ -241,11 +241,11 @@ export const lightTheme = createTheme()
241
241
  xl: { paddingVertical: 8, paddingHorizontal: 20, minHeight: 60, iconSize: 28, labelFontSize: 20, labelLineHeight: 32 },
242
242
  },
243
243
  menu: {
244
- xs: { paddingVertical: 2, paddingHorizontal: 6, iconSize: 14, labelFontSize: 12 },
245
- sm: { paddingVertical: 4, paddingHorizontal: 8, iconSize: 16, labelFontSize: 14 },
246
- md: { paddingVertical: 8, paddingHorizontal: 16, iconSize: 20, labelFontSize: 16 },
247
- lg: { paddingVertical: 16, paddingHorizontal: 24, iconSize: 24, labelFontSize: 18 },
248
- xl: { paddingVertical: 20, paddingHorizontal: 28, iconSize: 28, labelFontSize: 20 },
244
+ xs: { paddingVertical: 2, paddingHorizontal: 6, iconSize: 14, labelFontSize: 12, minHeight: 24, borderRadius: 4, iconGap: 6 },
245
+ sm: { paddingVertical: 4, paddingHorizontal: 8, iconSize: 16, labelFontSize: 14, minHeight: 28, borderRadius: 4, iconGap: 8 },
246
+ md: { paddingVertical: 6, paddingHorizontal: 12, iconSize: 18, labelFontSize: 14, minHeight: 32, borderRadius: 6, iconGap: 10 },
247
+ lg: { paddingVertical: 8, paddingHorizontal: 16, iconSize: 20, labelFontSize: 16, minHeight: 36, borderRadius: 6, iconGap: 12 },
248
+ xl: { paddingVertical: 10, paddingHorizontal: 20, iconSize: 24, labelFontSize: 18, minHeight: 40, borderRadius: 8, iconGap: 14 },
249
249
  },
250
250
  text: {
251
251
  xs: { fontSize: 12, lineHeight: 18 },
@@ -231,6 +231,9 @@ export type MenuSizeValue = {
231
231
  paddingHorizontal: SizeValue;
232
232
  iconSize: SizeValue;
233
233
  labelFontSize: SizeValue;
234
+ minHeight: SizeValue;
235
+ borderRadius: SizeValue;
236
+ iconGap: SizeValue;
234
237
  };
235
238
 
236
239
  export type TextSizeValue = {