@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 +2 -2
- package/src/darkTheme.ts +1 -0
- package/src/fontScale.ts +1 -0
- package/src/lightTheme.ts +6 -5
- package/src/theme/structures.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idealyst/theme",
|
|
3
|
-
"version": "1.2.
|
|
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.
|
|
66
|
+
"@idealyst/tooling": "^1.2.144"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"react-native-unistyles": ">=3.0.0"
|
package/src/darkTheme.ts
CHANGED
package/src/fontScale.ts
CHANGED
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 },
|
package/src/theme/structures.ts
CHANGED