@idealyst/theme 1.2.142 → 1.2.143

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.2.142",
3
+ "version": "1.2.143",
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.2.142"
66
+ "@idealyst/tooling": "^1.2.143"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "react-native-unistyles": ">=3.0.0"
package/src/fontScale.ts CHANGED
@@ -12,6 +12,7 @@ const FONT_PROPERTIES = new Set([
12
12
  'fontSize',
13
13
  'lineHeight',
14
14
  'headerFontSize',
15
+ 'headerLineHeight',
15
16
  'labelFontSize',
16
17
  'labelLineHeight',
17
18
  'titleFontSize',
package/src/lightTheme.ts CHANGED
@@ -261,11 +261,11 @@ export const lightTheme = createTheme()
261
261
  xl: { fontSize: 20, lineHeight: 32, padding: 12, paddingBottom: 14 },
262
262
  },
263
263
  table: {
264
- xs: { padding: 6, fontSize: 12, lineHeight: 16 },
265
- sm: { padding: 8, fontSize: 13, lineHeight: 18 },
266
- md: { padding: 16, fontSize: 14, lineHeight: 20 },
267
- lg: { padding: 24, fontSize: 15, lineHeight: 22 },
268
- xl: { padding: 32, fontSize: 16, lineHeight: 24 },
264
+ xs: { padding: 6, fontSize: 12, lineHeight: 16, headerFontSize: 11, headerLineHeight: 14 },
265
+ sm: { padding: 8, fontSize: 13, lineHeight: 18, headerFontSize: 12, headerLineHeight: 16 },
266
+ md: { padding: 16, fontSize: 14, lineHeight: 20, headerFontSize: 12, headerLineHeight: 16 },
267
+ lg: { padding: 24, fontSize: 15, lineHeight: 22, headerFontSize: 13, headerLineHeight: 18 },
268
+ xl: { padding: 32, fontSize: 16, lineHeight: 24, headerFontSize: 14, headerLineHeight: 20 },
269
269
  },
270
270
  tooltip: {
271
271
  xs: { fontSize: 11, padding: 4 },
@@ -249,6 +249,8 @@ export type TableSizeValue = {
249
249
  padding: SizeValue;
250
250
  fontSize: SizeValue;
251
251
  lineHeight: SizeValue;
252
+ headerFontSize: SizeValue;
253
+ headerLineHeight: SizeValue;
252
254
  };
253
255
 
254
256
  export type TooltipSizeValue = {