@idealyst/theme 1.2.142 → 1.2.144

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.144",
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.144"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "react-native-unistyles": ">=3.0.0"
package/src/darkTheme.ts CHANGED
@@ -93,6 +93,7 @@ export const darkTheme = createTheme()
93
93
  primary: '#1e1e1e',
94
94
  secondary: '#1e1e1e',
95
95
  tertiary: '#2a2a2a',
96
+ hover: '#252525',
96
97
  inverse: '#ffffff',
97
98
  'inverse-secondary': 'rgba(255, 255, 255, 0.9)',
98
99
  'inverse-tertiary': 'rgba(255, 255, 255, 0.7)',
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
@@ -92,6 +92,7 @@ export const lightTheme = createTheme()
92
92
  primary: '#ffffff',
93
93
  secondary: '#f5f5f5',
94
94
  tertiary: '#e0e0e0',
95
+ hover: '#fafafa',
95
96
  inverse: '#000000',
96
97
  'inverse-secondary': 'rgba(0, 0, 0, 0.9)',
97
98
  'inverse-tertiary': 'rgba(0, 0, 0, 0.7)',
@@ -261,11 +262,11 @@ export const lightTheme = createTheme()
261
262
  xl: { fontSize: 20, lineHeight: 32, padding: 12, paddingBottom: 14 },
262
263
  },
263
264
  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 },
265
+ xs: { padding: 6, fontSize: 12, lineHeight: 16, headerFontSize: 11, headerLineHeight: 14 },
266
+ sm: { padding: 8, fontSize: 13, lineHeight: 18, headerFontSize: 12, headerLineHeight: 16 },
267
+ md: { padding: 16, fontSize: 14, lineHeight: 20, headerFontSize: 12, headerLineHeight: 16 },
268
+ lg: { padding: 24, fontSize: 15, lineHeight: 22, headerFontSize: 13, headerLineHeight: 18 },
269
+ xl: { padding: 32, fontSize: 16, lineHeight: 24, headerFontSize: 14, headerLineHeight: 20 },
269
270
  },
270
271
  tooltip: {
271
272
  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 = {